org.concord.pedagogica.ui
Class CellBorder
java.lang.Object
|
+--javax.swing.border.AbstractBorder
|
+--javax.swing.border.LineBorder
|
+--org.concord.pedagogica.ui.CellBorder
- All Implemented Interfaces:
- javax.swing.border.Border, java.io.Serializable
- public class CellBorder
- extends javax.swing.border.LineBorder
- See Also:
- Serialized Form
Fields inherited from class javax.swing.border.LineBorder |
lineColor, roundedCorners, thickness |
Method Summary |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
void |
paintBottom(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
void |
paintRight(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
Methods inherited from class javax.swing.border.LineBorder |
createBlackLineBorder, createGrayLineBorder, getBorderInsets, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque |
Methods inherited from class javax.swing.border.AbstractBorder |
getInteriorRectangle, getInteriorRectangle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CellBorder
public CellBorder()
CellBorder
public CellBorder(java.awt.Color color,
int thickness)
CellBorder
public CellBorder(java.awt.Color color)
CellBorder
public CellBorder(int thickness)
CellBorder
public CellBorder(int thicknessRight,
int thicknessBottom)
CellBorder
public CellBorder(java.awt.Color color,
int thicknessRight,
int thicknessBottom)
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
- Overrides:
paintBorder
in class javax.swing.border.LineBorder
paintBottom
public void paintBottom(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintRight
public void paintRight(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)