rrdService.util
Class VRuleGraphicObject
java.lang.Object
|
+--rrdService.util.GraphicObject
|
+--rrdService.util.VRuleGraphicObject
- All Implemented Interfaces:
- java.io.Serializable
- public class VRuleGraphicObject
- extends GraphicObject
- implements java.io.Serializable
The class VRuleGraphicObject Like GraphicPrint but the text is simply printed into the graph. Draw a vertical rule into the graph and optionally add a legend
- Version:
- 1.0
date : 15/07/2001
- Author:
- Damien Pellier
- See Also:
- VRuleGraphicObject,
GraphicPrint
, Serialized Form
Field Summary |
protected java.lang.String |
time
time to print see GraphicPrint for time format |
Constructor Summary |
VRuleGraphicObject(java.lang.String time,
java.awt.Color color)
Constructor of VRuleGraphicObject |
VRuleGraphicObject(java.lang.String time,
java.awt.Color color,
java.lang.String legend)
Constructor of VRuleGraphicObject |
Method Summary |
java.lang.String |
getTime()
Returns the time to print |
void |
setTime(java.lang.String time)
Replaces the time to print see GraphicPrint for time format |
java.lang.String |
toString()
Returns a string representation of this VRuleGraphicObject |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
time
protected java.lang.String time
- time to print see GraphicPrint for time format
VRuleGraphicObject
public VRuleGraphicObject(java.lang.String time,
java.awt.Color color)
- Constructor of VRuleGraphicObject
- Parameters:
time
- the time to print see GraphicPrint for time formatcolor
- the color of the text on graphic
VRuleGraphicObject
public VRuleGraphicObject(java.lang.String time,
java.awt.Color color,
java.lang.String legend)
- Constructor of VRuleGraphicObject
- Parameters:
time
- the time to print see GraphicPrint for time formatcolor
- the color of the text on graphiclegend
- the legend of the text on graphic
getTime
public java.lang.String getTime()
- Returns the time to print
setTime
public void setTime(java.lang.String time)
- Replaces the time to print see GraphicPrint for time format
- Parameters:
time
- the time to print
toString
public java.lang.String toString()
- Returns a string representation of this VRuleGraphicObject
- Overrides:
toString
in class java.lang.Object
Submit a bug or feature
Copyright 1885-2001 FIRMENICH SA, Geneva,
All Rights Reserved.