rrdService.util
Class GraphicObject
java.lang.Object
|
+--rrdService.util.GraphicObject
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AeraGraphicObject, HRuleGraphicObject, VRuleGraphicObject
- public abstract class GraphicObject
- extends java.lang.Object
- implements java.io.Serializable
The class GraphicObject abstact the notion of Object graphic for a RoundRobinGraphic
- Version:
- 1.0
date : 15/07/2001
- Author:
- Damien Pellier
- See Also:
- GraphicObject,
RoundRobinGraphic
, Serialized Form
Field Summary |
protected java.awt.Color |
color
Color of the text on graphic |
protected java.lang.String |
legend
legend of the text on graphic |
Method Summary |
java.awt.Color |
getColor()
Returns the color of the text on graphic |
java.lang.String |
getLegend()
Returns the legend of the text on graphic |
void |
setColor(java.awt.Color color)
Replaces the color of the text on graphic |
void |
setLegend(java.lang.String legend)
Replaces the legend of the text on graphic |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
color
protected java.awt.Color color
- Color of the text on graphic
legend
protected java.lang.String legend
- legend of the text on graphic
GraphicObject
public GraphicObject()
getColor
public java.awt.Color getColor()
- Returns the color of the text on graphic
getLegend
public java.lang.String getLegend()
- Returns the legend of the text on graphic
setColor
public void setColor(java.awt.Color color)
- Replaces the color of the text on graphic
- Parameters:
color
- the color of the text on graphic
setLegend
public void setLegend(java.lang.String legend)
- Replaces the legend of the text on graphic
- Parameters:
legend
- the legend of the text on graphic
Submit a bug or feature
Copyright 1885-2001 FIRMENICH SA, Geneva,
All Rights Reserved.