com.sibvisions.rad.ui.swing.ext
Class JVxTable.StrikeThroughLineBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.LineBorder
          extended by com.sibvisions.rad.ui.swing.ext.JVxTable.StrikeThroughLineBorder
All Implemented Interfaces:
Serializable, Border
Enclosing class:
JVxTable

public static class JVxTable.StrikeThroughLineBorder
extends LineBorder

LineBorder with strike through functionality.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.border.LineBorder
lineColor, roundedCorners, thickness
 
Constructor Summary
JVxTable.StrikeThroughLineBorder()
          Constructs a new StrikeThroughLineBorder.
 
Method Summary
 boolean isStrikeThrough()
          true, if strike through should be painted.
 void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
          
 void setLineColor(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
 

Constructor Detail

JVxTable.StrikeThroughLineBorder

public JVxTable.StrikeThroughLineBorder()
Constructs a new StrikeThroughLineBorder.

Method Detail

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(Color pLineColor)
Returns the color of the border.

Parameters:
pLineColor - the color of the border.

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 LineBorder


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.