rrdService.util
Class LineGraphicObject
java.lang.Object
|
+--rrdService.util.GraphicObject
|
+--rrdService.util.AeraGraphicObject
|
+--rrdService.util.LineGraphicObject
- All Implemented Interfaces:
- java.io.Serializable
- public class LineGraphicObject
- extends AeraGraphicObject
The class LineGraphicObject
Plot for the requested data, using the color specified. Write a legend
into the graph. The 3 possible keywords
LINE1,
LINE2, and
LINE3
generate increasingly wide lines. If no color is defined,
the drawing is done 'blind' this is useful in connection with the
STACK function when you want to
ADD the values of two
data-sources without showing it in the graph.
- Version:
- 1.0
date : 15/07/2001
- Author:
- Damien Pellier
- See Also:
- LineGraphicObject,
Comment
, Serialized Form
Field Summary |
protected int |
lineNumber
lineNumber the number of line of this line graphic object |
Constructor Summary |
LineGraphicObject(int lineNumber,
java.lang.String virtualName)
Constructor of LineGraphicObject |
LineGraphicObject(int lineNumber,
java.lang.String virtualName,
java.awt.Color color)
Constructor of LineGraphicObject |
LineGraphicObject(int lineNumber,
java.lang.String virtualName,
java.awt.Color color,
java.lang.String legend)
Constructor of LineGraphicObject |
Method Summary |
int |
getLineNumber()
Returns the number of line of this line graphic object |
void |
setLineNumber(int lineNumber)
Replaces the number of line of this line graphic object |
java.lang.String |
toString()
Returns a string representation of this line graphic object |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
lineNumber
protected int lineNumber
- lineNumber the number of line of this line graphic object
LineGraphicObject
public LineGraphicObject(int lineNumber,
java.lang.String virtualName)
throws java.lang.Exception
- Constructor of LineGraphicObject
- Parameters:
lineNumber
- the number of line of this line graphic objectvirtualName
- the virtual name to print on graphic
LineGraphicObject
public LineGraphicObject(int lineNumber,
java.lang.String virtualName,
java.awt.Color color)
throws java.lang.Exception
- Constructor of LineGraphicObject
- Parameters:
lineNumber
- the number of line of this line graphic objectvirtualName
- the virtual name to print on graphiccolor
- the color of the text on graphic
LineGraphicObject
public LineGraphicObject(int lineNumber,
java.lang.String virtualName,
java.awt.Color color,
java.lang.String legend)
throws java.lang.Exception
- Constructor of LineGraphicObject
- Parameters:
lineNumber
- the number of line of this line graphic objectvirtualName
- the virtual name to print on graphiccolor
- the color of the text on graphiclegend
- the legend of the text on graphic
getLineNumber
public int getLineNumber()
- Returns the number of line of this line graphic object
setLineNumber
public void setLineNumber(int lineNumber)
throws java.lang.Exception
- Replaces the number of line of this line graphic object
- Parameters:
lineNumber
- the number of line of this line graphic object
toString
public java.lang.String toString()
- Returns a string representation of this line graphic object
- Overrides:
toString
in class AeraGraphicObject
Submit a bug or feature
Copyright 1885-2001 FIRMENICH SA, Geneva,
All Rights Reserved.