|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rrdService.util.GraphicPrint
The class GraphicPrint
Calculate the chosen consolidation function
CF over the data-source
variable vname and printf
the result is printed into the graph below the legend.
In the format string there should be a '%lf' or '%le' marker in the
place where the number should be printed.
If an additional '%s' is found AFTER the marker, the value will be scaled and an appropriate SI magnitude unit will be printed in place of the '%s' marker. The scaling will take the '--base' argument into consideration!
If a '%S' is used instead of a '%s', then instead of calculating the appropriate SI magnitude unit for this value, the previously calculated SI magnitude unit will be used. This is useful if you want all the values in a PRINT statement to have the same SI magnitude unit. If there was no previous SI magnitude calculation made, then '%S' behaves like a '%s', unless the value is 0, in which case it does not remember a SI magnitude unit and a SI magnitude unit will only be calculated when the next '%s' is seen or the next '%S' for a non-zero value.
If you want to put a '%' into your PRINT string, use '%%' instead.
RoundRobinGraphic
, Serialized FormField Summary | |
private ConsolidationFunction |
consolidationFunction
consolidationFunction the consolidation function of this GraphicPrint |
private java.lang.String |
format
format the format of text of this GraphicPrint |
private java.lang.String |
virtualName
virtualName the virtual name for this GraphicPrint |
Constructor Summary | |
GraphicPrint(java.lang.String virtualName,
ConsolidationFunction consolidationFunction,
java.lang.String format)
Constructor of GraphicPrint |
Method Summary | |
ConsolidationFunction |
getConsolidationFunction()
Returns the consolidation function of this GraphicPrint |
java.lang.String |
getFormat()
Returns the format of text of this GraphicPrint |
java.lang.String |
getVirtualName()
Retruns the virtual name for this GraphicPrint |
void |
setConsolidationFunction(ConsolidationFunction consolidationFunction)
Replaces the consolidation function of this GraphicPrint |
void |
setFormat(java.lang.String format)
Replaces the format of text of this GraphicPrint |
void |
setVirtualName(java.lang.String virtualName)
Replaces the virtual name for this GraphicPrint |
java.lang.String |
toString()
Returns a string representation of this GraphicPrint |
Methods inherited from class java.lang.Object |
|
Field Detail |
private ConsolidationFunction consolidationFunction
private java.lang.String format
private java.lang.String virtualName
Constructor Detail |
public GraphicPrint(java.lang.String virtualName, ConsolidationFunction consolidationFunction, java.lang.String format)
virtualName
- the virtual name for this GraphicPrintconsolidationFunction
- the consolidation function of this GraphicPrintformat
- the format of text of this GraphicPrintMethod Detail |
public ConsolidationFunction getConsolidationFunction()
public java.lang.String getFormat()
public java.lang.String getVirtualName()
public void setConsolidationFunction(ConsolidationFunction consolidationFunction)
consolidationFunction
- the consolidation function of this GraphicPrint to setpublic void setFormat(java.lang.String format)
format
- the format of text of this GraphicPrintpublic void setVirtualName(java.lang.String virtualName)
virtualName
- the virtual name for this GraphicPrint to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
Copyright 1885-2001 FIRMENICH SA, Geneva | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |