JIDE 3.5.15

com.jidesoft.chart.model
Class Highlight

java.lang.Object
  extended by 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
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Returns the name of the Highlight as a String
 int hashCode()
           
 String name()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

Highlight

public Highlight(String name)
Constructs an instance of a Highlight from the supplied name

Parameters:
name - the name of the Highlight
Method Detail

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

JIDE 3.5.15