com.jidesoft.chart.model
Class Highlight
java.lang.Object
com.jidesoft.chart.model.Highlight
- All Implemented Interfaces:
- Serializable
public class Highlight
- extends Object
- implements Serializable
This is really a semantic tag for a point style. Highlights are immutable instances that exist at the model level
and are applied to ChartPoints.
When painting the points, the highlight is translated to a PointStyle that is stored at the View level in the Chart
class.
- Author:
- Simon White (swhite@catalysoft.com)
- See Also:
- Serialized Form
Field Summary |
static Highlight |
fill
|
static Highlight |
rollover
Deprecated. in favour of use of rollover property on a Chart |
static Highlight |
selected
Deprecated. in favour of use of ListSelectionModel, which is separate from the data model |
Constructor Summary |
Highlight(String name)
Constructs an instance of a Highlight from the supplied name |
selected
public static final Highlight selected
- Deprecated. in favour of use of ListSelectionModel, which is separate from the data model
rollover
public static final Highlight rollover
- Deprecated. in favour of use of rollover property on a Chart
fill
public static final Highlight fill
Highlight
public Highlight(String name)
- Constructs an instance of a Highlight from the supplied name
- Parameters:
name
- the name of the Highlight
getName
public String getName()
- Returns the name of the Highlight as a String
- Returns:
- the name of the Highlight
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
name
public String name()
toString
public String toString()
- Overrides:
toString
in class Object