JIDE 3.5.15

com.jidesoft.chart.model
Class ChartCategory<T>

java.lang.Object
  extended by com.jidesoft.range.Category<T>
      extended by com.jidesoft.chart.model.ChartCategory<T>
All Implemented Interfaces:
Named, Positionable, Serializable, Comparable<Positionable>

public class ChartCategory<T>
extends Category<T>
implements Named

A ChartCategory is an extension of a Category that allows you to set a highlight.

Author:
Simon White (swhite@catalysoft.com)
See Also:
Serialized Form

Constructor Summary
ChartCategory(String name, T value)
           
ChartCategory(String name, T value, Highlight highlight)
           
ChartCategory(T value)
           
ChartCategory(T value, CategoryRange<T> range)
           
ChartCategory(T value, CategoryRange<T> range, Highlight highlight)
           
ChartCategory(T value, Highlight highlight)
           
 
Method Summary
 Highlight getHighlight()
           
 void setHighlight(Highlight highlight)
           
 String toString()
           
 
Methods inherited from class com.jidesoft.range.Category
compareTo, equals, getName, getRange, getValue, hashCode, position, setRange
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jidesoft.chart.util.Named
getName
 

Constructor Detail

ChartCategory

public ChartCategory(T value)

ChartCategory

public ChartCategory(String name,
                     T value)

ChartCategory

public ChartCategory(String name,
                     T value,
                     Highlight highlight)

ChartCategory

public ChartCategory(T value,
                     Highlight highlight)

ChartCategory

public ChartCategory(T value,
                     CategoryRange<T> range)

ChartCategory

public ChartCategory(T value,
                     CategoryRange<T> range,
                     Highlight highlight)
Method Detail

getHighlight

public Highlight getHighlight()

setHighlight

public void setHighlight(Highlight highlight)

toString

public String toString()
Overrides:
toString in class Category<T>

JIDE 3.5.15