com.ontimize.dms.client.gui.viewer.component
Class RoundEdgedBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.LineBorder
com.ontimize.dms.client.gui.viewer.component.RoundEdgedBorder
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
public class RoundEdgedBorder
- extends javax.swing.border.LineBorder
Paints a rounded border in the destination component.
- Since:
- 01/02/2010
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.border.LineBorder |
lineColor, roundedCorners, thickness |
|
Constructor Summary |
RoundEdgedBorder(int width,
int heigth,
java.awt.Color background)
|
| Methods inherited from class javax.swing.border.LineBorder |
createBlackLineBorder, createGrayLineBorder, getBorderInsets, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque |
| Methods inherited from class javax.swing.border.AbstractBorder |
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arcWidth
protected int arcWidth
arcHeight
protected int arcHeight
background
protected java.awt.Color background
northWest
public boolean northWest
southWest
public boolean southWest
northEast
public boolean northEast
southEast
public boolean southEast
RoundEdgedBorder
public RoundEdgedBorder(int width,
int heigth,
java.awt.Color background)
getArcWidth
public int getArcWidth()
getArcHeight
public int getArcHeight()
getColor
public java.awt.Color getColor()
isNorthWestEnabled
public boolean isNorthWestEnabled()
isNorthEastEnabled
public boolean isNorthEastEnabled()
isSouthWestEnabled
public boolean isSouthWestEnabled()
isSouthEastEnabled
public boolean isSouthEastEnabled()
setNorthWest
public void setNorthWest(boolean northWest)
setSouthWest
public void setSouthWest(boolean southWest)
setNorthEast
public void setNorthEast(boolean northEast)
setSouthEast
public void setSouthEast(boolean southEast)
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder in interface javax.swing.border.Border- Overrides:
paintBorder in class javax.swing.border.LineBorder