|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.salespointframework.desktop.border.InsetLineBorder
public class InsetLineBorder
Border with simple line and additional insets
Field Summary | |
---|---|
(package private) int |
bottom
bottom padding |
(package private) java.awt.Color |
color
line color |
(package private) int |
left
left padding |
(package private) int |
right
right padding |
(package private) int |
top
top padding |
Constructor Summary | |
---|---|
InsetLineBorder(java.awt.Color color,
int top,
int left,
int bottom,
int right)
default constructor |
Method Summary | |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
calculate border insets |
int |
getBottom()
get bottom |
java.awt.Color |
getColor()
get color |
int |
getLeft()
get left |
int |
getRight()
get right |
int |
getTop()
get top |
boolean |
isBorderOpaque()
return true |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paint rectangle |
void |
setBottom(int bottom)
set bottom |
void |
setColor(java.awt.Color color)
set color |
void |
setLeft(int left)
set left |
void |
setRight(int right)
set right |
void |
setTop(int top)
set top |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.awt.Color color
int top
int left
int bottom
int right
Constructor Detail |
---|
public InsetLineBorder(java.awt.Color color, int top, int left, int bottom, int right)
color
- color
top
- top
left
- left
bottom
- bottom
right
- right
Method Detail |
---|
public java.awt.Color getColor()
color
public void setColor(java.awt.Color color)
color
color
- public int getTop()
top
public void setTop(int top)
top
top
- public int getLeft()
left
public void setLeft(int left)
left
left
- public int getBottom()
bottom
public void setBottom(int bottom)
bottom
bottom
- public int getRight()
right
public void setRight(int right)
right
right
- public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
public 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 width, int height)
paintBorder
in interface javax.swing.border.Border
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |