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

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

public static class JVxTable.StrikeThroughEmptyBorder
extends javax.swing.border.EmptyBorder

EmptyBorder with strike through functionality.

See Also:
Serialized Form

Field Summary
protected  java.awt.Color lineColor
          true, if strike through should be painted.
 
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
 
Constructor Summary
JVxTable.StrikeThroughEmptyBorder()
          Constructs a new StrikeThroughEmptyBorder.
 
Method Summary
 java.awt.Color getLineColor()
          Returns the color of the border.
 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.EmptyBorder
getBorderInsets, getBorderInsets, getBorderInsets, 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
 

Field Detail

lineColor

protected java.awt.Color lineColor
true, if strike through should be painted.

Constructor Detail

JVxTable.StrikeThroughEmptyBorder

public JVxTable.StrikeThroughEmptyBorder()
Constructs a new StrikeThroughEmptyBorder.

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.

getLineColor

public java.awt.Color getLineColor()
Returns the color of the border.

Returns:
the color of the border.

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.EmptyBorder


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.