|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.ejtools.graph.Track
Description of the Class
| Field Summary | |
protected java.awt.Color |
color
Description of the Field |
protected org.ejtools.graph.Track.TrackLabel |
component
Description of the Field |
protected java.text.NumberFormat |
format
Description of the Field |
protected java.lang.String |
label
Description of the Field |
protected java.lang.String |
name
Description of the Field |
protected java.util.Vector |
points
Description of the Field |
protected Range |
xr
Description of the Field |
protected Range |
yr
Description of the Field |
| Constructor Summary | |
Track(java.lang.String name)
Constructor for the Track object |
|
| Method Summary | |
void |
addValue(double value)
Adds a feature to the Point attribute of the Track object |
void |
clear()
Description of the Method |
void |
draw(java.awt.Graphics graphics,
double scaleX,
double offsetX,
double scaleY,
double offsetY)
Description of the Method |
java.awt.Color |
getColor()
Gets the color attribute of the Element object |
javax.swing.JComponent |
getComponent()
Gets the component attribute of the LabelElement object |
java.util.Collection |
getPoints()
Gets the points attribute of the Track object |
Range |
getXRange()
Gets the xRange attribute of the GraphModel object |
Range |
getYRange()
Gets the yRange attribute of the GraphModel object |
void |
setColor(java.awt.Color color)
Sets the color. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setName(java.lang.String name)
Sets the name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.awt.Color color
protected org.ejtools.graph.Track.TrackLabel component
protected java.text.NumberFormat format
protected java.lang.String label
protected java.lang.String name
protected java.util.Vector points
protected Range xr
protected Range yr
| Constructor Detail |
public Track(java.lang.String name)
name - Description of the Parameter| Method Detail |
public void addValue(double value)
value - The feature to be added to the Value attributepublic void clear()
public void draw(java.awt.Graphics graphics,
double scaleX,
double offsetX,
double scaleY,
double offsetY)
GraphElement
draw in interface GraphElementgraphics - Description of the ParameterscaleX - Description of the ParameteroffsetX - Description of the ParameterscaleY - Description of the ParameteroffsetY - Description of the Parameterpublic java.awt.Color getColor()
GraphElement
getColor in interface GraphElementpublic javax.swing.JComponent getComponent()
LabelElement
getComponent in interface LabelElementpublic java.util.Collection getPoints()
public Range getXRange()
GraphElement
getXRange in interface GraphElementpublic Range getYRange()
GraphElement
getYRange in interface GraphElementpublic void setColor(java.awt.Color color)
color - The color to setpublic void setLabel(java.lang.String label)
label - The label to setpublic void setName(java.lang.String name)
name - The name to set
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||