|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tbee.swing.LineBorder
public class LineBorder
A line border, which allows for: - custom sizes per side of the border (top, left, bottom, right) - custom margins between the visual border and the component per side of the border (top, left, bottom, right)
| Field Summary | |
|---|---|
static java.lang.String |
SOURCECODE_VERSION
Standard variable for determining version of a class file. |
| Constructor Summary | |
|---|---|
LineBorder()
JLabel's forground, 1 pixel, no margin |
|
LineBorder(java.awt.Color color)
1 pixel, no margin |
|
LineBorder(java.awt.Color color,
int top,
int right,
int bottom,
int left)
no margin |
|
LineBorder(java.awt.Color color,
int top,
int right,
int bottom,
int left,
int topMargin,
int rightMargin,
int bottomMargin,
int leftMargin)
|
|
| Method Summary | |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
int |
getBottom()
|
int |
getBottomMargin()
|
java.awt.Color |
getColor()
|
int |
getLeft()
|
int |
getLeftMargin()
|
int |
getRight()
|
int |
getRightMargin()
|
int |
getTop()
|
int |
getTopMargin()
|
boolean |
isBorderOpaque()
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
|
void |
setBottom(int value)
|
void |
setBottomMargin(int value)
|
void |
setColor(java.awt.Color value)
|
void |
setLeft(int value)
|
void |
setLeftMargin(int value)
|
void |
setRight(int value)
|
void |
setRightMargin(int value)
|
void |
setTop(int value)
|
void |
setTopMargin(int value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SOURCECODE_VERSION
| Constructor Detail |
|---|
public LineBorder()
public LineBorder(java.awt.Color color)
color -
public LineBorder(java.awt.Color color,
int top,
int right,
int bottom,
int left)
color - top - right - bottom - left -
public LineBorder(java.awt.Color color,
int top,
int right,
int bottom,
int left,
int topMargin,
int rightMargin,
int bottomMargin,
int leftMargin)
color - top - right - bottom - left - topMargin - rightMargin - bottomMargin - leftMargin - | Method Detail |
|---|
public java.awt.Color getColor()
public void setColor(java.awt.Color value)
public int getTop()
public void setTop(int value)
public int getRight()
public void setRight(int value)
public int getBottom()
public void setBottom(int value)
public int getLeft()
public void setLeft(int value)
public int getTopMargin()
public void setTopMargin(int value)
public int getRightMargin()
public void setRightMargin(int value)
public int getBottomMargin()
public void setBottomMargin(int value)
public int getLeftMargin()
public void setLeftMargin(int value)
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Border
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int w,
int h)
paintBorder in interface javax.swing.border.Border
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||