com.sibvisions.rad.ui.swing.ext
Class JVxTable.StrikeThroughLineBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.LineBorder
com.sibvisions.rad.ui.swing.ext.JVxTable.StrikeThroughLineBorder
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.border.Border
- Enclosing class:
- JVxTable
public static class JVxTable.StrikeThroughLineBorder
- extends javax.swing.border.LineBorder
LineBorder with strike through functionality.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.border.LineBorder |
lineColor, roundedCorners, thickness |
Method Summary |
boolean |
isStrikeThrough()
true, if strike through should be painted. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
void |
setLineColor(java.awt.Color pLineColor)
Returns the color of the border. |
void |
setStrikeThrough(boolean pStrikeThrough)
true, if strike through should be painted. |
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 |
JVxTable.StrikeThroughLineBorder
public JVxTable.StrikeThroughLineBorder()
- Constructs a new StrikeThroughLineBorder.
isStrikeThrough
public boolean isStrikeThrough()
- true, if strike through should be painted.
- Returns:
- true, if strike through should be painted.
setStrikeThrough
public void setStrikeThrough(boolean pStrikeThrough)
- true, if strike through should be painted.
- Parameters:
pStrikeThrough
- true, if strike through should be painted.
setLineColor
public void setLineColor(java.awt.Color pLineColor)
- Returns the color of the border.
- Parameters:
pLineColor
- the color of the border.
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
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.