public class LeftTitleBorder
extends javax.swing.border.AbstractBorder
Constructor and Description |
---|
LeftTitleBorder(java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets i) |
java.lang.String |
getTitle()
Get the value of Title.
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
void |
setTitle(java.lang.String v)
Set the value of Title.
|
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
getBorderInsets
in class javax.swing.border.AbstractBorder
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets i)
getBorderInsets
in class javax.swing.border.AbstractBorder
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
paintBorder
in interface javax.swing.border.Border
paintBorder
in class javax.swing.border.AbstractBorder
public java.lang.String getTitle()
public void setTitle(java.lang.String v)
v
- Value to assign to Title.