public class BarInfo
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
BarInfo(java.awt.Color color,
java.lang.Integer fixedWidth,
boolean enabled)
Constructor
|
Modifier and Type | Method and Description |
---|---|
BarInfo |
clone()
Creates a clone (copy) of this object.
|
boolean |
equals(java.lang.Object o)
Compares the give object with this object and returns true if they are equal.
|
java.awt.Color |
getColor()
Gets the color of the bar.
|
java.lang.Integer |
getFixedWidth()
Gets the fixed width of the bar (null if the width is dynamic)
|
boolean |
isEnabled()
If true, this bar is enabled.
|
public BarInfo(java.awt.Color color, java.lang.Integer fixedWidth, boolean enabled)
color
- color of the barfixedWidth
- width of the bar (null if dynamic)enabled
- true if this bar is enabledpublic java.awt.Color getColor()
public java.lang.Integer getFixedWidth()
public boolean isEnabled()
public BarInfo clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object