net.yura.mobile.gui.border
Class BevelBorder
java.lang.Object
net.yura.mobile.gui.border.BevelBorder
- All Implemented Interfaces:
- Border
public class BevelBorder
- extends Object
- implements Border
- Author:
- Yura Mamyrin
- See Also:
BevelBorder
Constructor Summary |
BevelBorder(int thickness,
int highlight,
int shadow)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
highlight
protected int highlight
shadow
protected int shadow
thickness
protected int thickness
BevelBorder
public BevelBorder(int thickness,
int highlight,
int shadow)
- See Also:
BevelBorder.BevelBorder
getBottom
public int getBottom()
- Specified by:
getBottom
in interface Border
- Returns:
- The size of the bottom
- See Also:
EmptyBorder.getBorderInsets
getLeft
public int getLeft()
- Specified by:
getLeft
in interface Border
- Returns:
- The size of the left
- See Also:
EmptyBorder.getBorderInsets
getRight
public int getRight()
- Specified by:
getRight
in interface Border
- Returns:
- The size of the right
- See Also:
EmptyBorder.getBorderInsets
getTop
public int getTop()
- Specified by:
getTop
in interface Border
- Returns:
- The size of the top
- See Also:
EmptyBorder.getBorderInsets
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface Border
- Returns:
- Returns whether or not the border is opaque. If the border is opaque, it is responsible for filling in it's own background when painting.
- See Also:
Border.isBorderOpaque
paintBorder
public void paintBorder(Component comp,
Graphics2D g,
int width,
int height)
- Specified by:
paintBorder
in interface Border
- Parameters:
comp
- g
- width
- height
- - See Also:
EmptyBorder.paintBorder