org.noos.xing.mydoggy.plaf.ui.cmp.border
Class LineBorder
java.lang.Object
javax.swing.border.AbstractBorder
org.noos.xing.mydoggy.plaf.ui.cmp.border.LineBorder
- All Implemented Interfaces:
- Serializable, Border
public class LineBorder
- extends AbstractBorder
- Author:
- Angelo De Caro
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
thickness
protected int thickness
lineColor
protected Color lineColor
roundedCorners
protected boolean roundedCorners
arcHeight
protected int arcHeight
arcWidth
protected int arcWidth
LineBorder
public LineBorder()
LineBorder
public LineBorder(Color color)
LineBorder
public LineBorder(Color color,
int thickness)
LineBorder
public LineBorder(Color lineColor,
int thickness,
boolean roundedCorners,
int arcWidth,
int arcHeight)
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder in interface Border- Overrides:
paintBorder in class AbstractBorder
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
getBorderInsets in interface Border- Overrides:
getBorderInsets in class AbstractBorder
getBorderInsets
public Insets getBorderInsets(Component c,
Insets insets)
- Overrides:
getBorderInsets in class AbstractBorder
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque in interface Border- Overrides:
isBorderOpaque in class AbstractBorder
getLineColor
public Color getLineColor()
setLineColor
public void setLineColor(Color lineColor)
getThickness
public int getThickness()
getRoundedCorners
public boolean getRoundedCorners()
Copyright © 2012. All Rights Reserved.