DESY ACOP Beans Home

com.cosylab.gui.components.table.renderers
Class TimeoutBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by javax.swing.border.LineBorder
          extended by com.cosylab.gui.components.table.renderers.TimeoutBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border

public class TimeoutBorder
extends javax.swing.border.LineBorder

Border displayed whenever timeout is detected for individual cell.

Version:
$id$
Author:
Ales Pucelj
See Also:
Serialized Form

Field Summary
protected  boolean enabled
           
 
Fields inherited from class javax.swing.border.LineBorder
lineColor, roundedCorners, thickness
 
Constructor Summary
TimeoutBorder()
          TimeoutBorder constructor comment.
 
Method Summary
 java.awt.Color getDisabledColor()
          Returns color of this border when cell is disabled.
 boolean isEnabled()
          Returns whether this border is enabled.
 void setDisabledColor(java.awt.Color newDisabledColor)
          Sets the color when this border is disabled.
 void setEnabled(boolean newEnabled)
          Sets whether this border is enabled.
 
Methods inherited from class javax.swing.border.LineBorder
createBlackLineBorder, createGrayLineBorder, getBorderInsets, getBorderInsets, getLineColor, getRoundedCorners, getThickness, isBorderOpaque, paintBorder
 
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

enabled

protected boolean enabled
Constructor Detail

TimeoutBorder

public TimeoutBorder()
TimeoutBorder constructor comment.

Method Detail

getDisabledColor

public java.awt.Color getDisabledColor()
Returns color of this border when cell is disabled.

Returns:
Color of this cell when disabled.

isEnabled

public boolean isEnabled()
Returns whether this border is enabled.

Returns:
true if enabled.

setDisabledColor

public void setDisabledColor(java.awt.Color newDisabledColor)
Sets the color when this border is disabled.

Parameters:
newDisabledColor - new disabled color.

setEnabled

public void setEnabled(boolean newEnabled)
Sets whether this border is enabled.

Parameters:
newEnabled - boolean


Copyright © 2010. All Rights Reserved.