com.moneydance.awt.graph
Class KeyItem

java.lang.Object
  extended bycom.moneydance.awt.graph.KeyItem

public class KeyItem
extends java.lang.Object

Description: This is a class that represents a "Key" or "Legend" item for a graph.

Author:
Sean D. Reilly

Constructor Summary
KeyItem(GraphDataSet aDataSet, java.awt.Color aColor)
          Construct a new KeyItem with the specified label, dataset, and color.
 
Method Summary
 java.awt.Color getColor()
          get the color associated with this key item.
 GraphDataSet getDataSet()
          get the data set associated with this key item.
 java.lang.String getLabel()
          get the label associated with this key item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyItem

public KeyItem(GraphDataSet aDataSet,
               java.awt.Color aColor)
Construct a new KeyItem with the specified label, dataset, and color.

Method Detail

getLabel

public java.lang.String getLabel()
get the label associated with this key item.


getDataSet

public GraphDataSet getDataSet()
get the data set associated with this key item.


getColor

public java.awt.Color getColor()
get the color associated with this key item.