rrdService.util
Class RoundRobinGraphic

java.lang.Object
  |
  +--rrdService.util.RoundRobinGraphic
All Implemented Interfaces:
java.io.Serializable

public class RoundRobinGraphic
extends java.lang.Object
implements java.io.Serializable

The class RoundRobinGraphic main purpose is to create graphical representations of the data stored in one or several RRDs. Apart from generating graphs, it can also extract numerical reports.

Version:
1.0 date : 15/07/2001
Author:
Damien Pellier
See Also:
RoundRobinGraphic, Vector, Serialized Form

Field Summary
protected  java.lang.Boolean autoscaleMaxOption
          autoscaleMaxOption Where --alt-autoscale will modify both the absolute maximum AND minimum values, this option will only affect the maximum value.
protected  java.lang.Boolean autoscaleOption
          autoscaleOption compute Y range based on function absolute minimum and maximum values.
protected  java.lang.Integer base
          base if you are graphing memory (and NOT network traffic) this switch should be set to 1024 so that one Kb is 1024 byte.
protected  RoundRobinColor color
          color override the colors for the standard elements of the graph.
protected  java.lang.String comment
          comment Like GPRINT but the text is simply printed into the graph.
protected  Time endTime
          The time when the graph should end.
static java.lang.String GIF_FORMAT
          Image format of a gif image
protected  java.lang.String graphicName
          name of graphic
protected  GraphicObjectContainer graphicObjectContainer
          GraphicObjectContainer fill of the graphic object to print on the graph
protected  GraphicPrint graphicPrint
          graphicPrint allows to print string into the graph below the legend.
protected  java.lang.Integer heightPixels
          heightPixels Width of the drawing area within the graph.
protected  java.lang.String imageFormat
          imageFormat Allows you to produce PNG output from rrdtool service. (default: GIF)
protected  java.lang.String imageInfo
          imageInfo After the image has been created, the graph function uses printf together with this format string to create output similar to the PRINT function, only that the printf is supplied with the parameters filename, xsize and ysize.
protected  java.lang.Boolean interlacedOption
          interlacedOption If you set this option, then the resulting GIF will be interlaced.
protected  java.lang.Boolean lazyOption
          lazyOption Only generate the graph, if the current gif is out of date or not existent. (default false)
protected  java.lang.Boolean logarithmicOption
          logarithmicOption logarithmic y-axis scaling
protected  java.lang.Integer lowerLimit
          lowerLimit This is not the lower limit of a graph.
protected  MEVirtualDataSourceContainer mEVirtualDataSourceContainer
          mEVirtualDataSourceContainer Create a new virtual data source by evaluating a mathematical expression, specified in Reverse Polish Notation (RPN).
protected  java.lang.Boolean noLegendOption
          noLegendOption Suppress generation of legend; only render the graph.
static java.lang.String PNG_FORMAT
          Image format of a png image
protected  java.lang.Boolean rigidOption
          rigidOption rigid boundaries mode.
protected  Time startTime
          The time when the graph should begin.
protected  java.lang.Integer step
          step By default graph calculates the width of one pixle in the time domain and tries to get data at that resolution from the RRD.
protected  java.lang.String title
          title Define a title to be written into the graph (default no title)
protected  java.lang.Integer unitsExponent
          unitsExponent This sets the 10**exponent scaling of the y-axis values.
protected  java.lang.Integer upperLimit
          upperLimit Defines the value normally located at the upper border of the graph.
protected  java.lang.String verticalLabel
          verticalLabel vertical label on the left side of the graph.
protected  VirtualDataSourceContainer virtualDataSourceContainer
          virtualDataSourceContainer Define virtual name for a data source.
protected  java.lang.Integer widthPixels
          widthPixels Width of the drawing area within the graph.
protected  XGrid xGrid
          x-grid of this graph
protected  YGrid yGrid
          y-grid of this graph
protected  java.lang.Boolean yGridOption
          yGridOption place Y grid dynamically based on graph Y range.
 
Constructor Summary
RoundRobinGraphic(java.lang.String graphicName)
          Default constructor of RoundRobinGraphic
RoundRobinGraphic(java.lang.String graphicName, java.lang.String title)
          Constructor of RoundRobinGraphic
RoundRobinGraphic(java.lang.String graphicName, java.lang.String title, java.lang.String verticalLabel)
          Constructor of RoundRobinGraphic
RoundRobinGraphic(java.lang.String graphicName, java.lang.String title, Time startTime, Time endTime)
          Constructor of RoundRobinGraphic
RoundRobinGraphic(java.lang.String graphicName, java.lang.String title, Time startTime, Time endTime, java.lang.String verticalLabel)
          Constructor of RoundRobinGraphic
RoundRobinGraphic(java.lang.String graphicName, Time startTime)
          Constructor of RoundRobinGraphic
RoundRobinGraphic(java.lang.String graphicName, Time startTime, Time endTime)
          Constructor of RoundRobinGraphic
RoundRobinGraphic(java.lang.String graphicName, Time startTime, Time endTime, java.lang.String verticalLabel)
          Constructor of RoundRobinGraphic
 
Method Summary
 void addCDEF(MathExpressionVirtualDataSource mEVirtualDataSource)
          Add a mEVirtualDataSource into the RoundRobinGraphic
 void addDEF(VirtualDataSource virtualDataSource)
          Add a virtualDataSource into the RoundRobinGraphic
 void addGraphicObject(GraphicObject graphicObject)
          Add a graphic Object into the RoundRobinGraphic
 java.lang.Boolean getAutoscaleMaxOption()
          Returns the autoscaleMaxOption of this RoundRobinGraphic
 java.lang.Boolean getAutoscaleOption()
          Returns the autoscaleOption of this RoundRobinGraphic
 java.lang.Integer getBase()
          Returns the base of this RoundRobinGraphic
 RoundRobinColor getColor()
          Returns the color of this RoundRobinGraphic
 java.lang.String getComment()
          Returns the comment of this RoundRobinGraphic
 Time getEndTime()
          Returns the endTime of this RoundRobinGraphic
 java.lang.String getGraphicName()
          Returns the graphicName of this RoundRobinGraphic
 GraphicObjectContainer getGraphicObjectContainer()
          Returns the graphic object container of this RoundRobinGraphic
 GraphicPrint getGraphicPrint()
          Returns the graphicPrint of this RoundRobinGraphic
 java.lang.Integer getHeightPixels()
          Returns the heightPixels of this RoundRobinGraphic
 java.lang.String getImageFormat()
          Returns the imageFormat of this RoundRobinGraphic
 java.lang.String getImageInfo()
          Returns the imageInfo of this RoundRobinGraphic
 java.lang.Boolean getInterlacedOption()
          Returns the interlacedOption of this RoundRobinGraphic
 java.lang.Boolean getLazyOption()
          Returns the lazyOption of this RoundRobinGraphic
 java.lang.Boolean getLogarithmicOption()
          Returns the logarithmicOption of this RoundRobinGraphic
 java.lang.Integer getLowerLimit()
          Returns the lowerLimit of this RoundRobinGraphic
 MEVirtualDataSourceContainer getMEVirtualDataSourceContainer()
          Returns the MEVirtualDataSourceContainer of this RoundRobinGraphic
 java.lang.Boolean getNoLegendOption()
          Returns the noLegendOption of this RoundRobinGraphic
 java.lang.Boolean getRigidOption()
          Returns the rigidOption of this RoundRobinGraphic
 Time getStartTime()
          Returns the startTime of this RoundRobinGraphic
 java.lang.Integer getStep()
          Returns the step of this RoundRobinGraphic
 java.lang.String getTitle()
          Returns the title of this RoundRobinGraphic
 java.lang.Integer getUnitsExponent()
          Returns the unitsExponent of this RoundRobinGraphic
 java.lang.Integer getUpperLimit()
          Returns the upperLimit of this RoundRobinGraphic
 java.lang.String getVerticalLabel()
          Returns the verticalLabel of this RoundRobinGraphic
 VirtualDataSourceContainer getVirtualDataSourceConatiner()
          Returns the virtualDataSourceContainer of this RoundRobinGraphic
 java.lang.Integer getWidthPixels()
          Returns the widthPixels of this RoundRobinGraphic
 XGrid getXGrid()
          Returns the xgrid of this RoundRobinGraphic
 YGrid getYGrid()
          Returns the ygrid of this RoundRobinGraphic
 java.lang.Boolean getYGridOption()
          Returns the yGridOption of this RoundRobinGraphic
private  void initRoundRobinGraphic()
          initRoundRobinGraphic initialize all field of round robin graphic null
 boolean isImageFormat(java.lang.String imageFormat)
          isImageFormat returns true if the string parameter is a valide image format
 java.lang.String listRoundRobinGraphic()
          Returns a string representation of this round robin graphic to visualize all fields and round robin graphics options
 void setAutoscaleMaxOption(boolean autoscaleMaxOption)
          Replaces the autoscaleMaxOption of this RoundRobinGraphic
 void setAutoscaleOption(boolean autoscaleOption)
          Replaces the autoscaleOption of this RoundRobinGraphic
 void setBase(int base)
          Replaces the base of this RoundRobinGraphic
 void setColor(RoundRobinColor color)
          Replaces the color of this RoundRobinGraphic
 void setComment(java.lang.String comment)
          Replaces the comment of this RoundRobinGraphic
 void setEndTime(Time endTime)
          Replaces the endTime of this RoundRobinGraphic
 void setGraphicName(java.lang.String graphicName)
          Replaces the graphicName of this RoundRobinGraphic
 void setgraphicObjectContainer(GraphicObjectContainer graphicObjectContainer)
          Replaces the graphic object container of this RoundRobinGraphic
 void setGraphicPrint(GraphicPrint graphicPrint)
          Replaces the graphicPrint of this RoundRobinGraphic
 void setHeightPixels(int heightPixels)
          Replaces the heightPixels of this RoundRobinGraphic
 void setImageFormat(java.lang.String imageFormat)
          Replaces the imageFormat of this RoundRobinGraphic
 void setImageInfo(java.lang.String imageInfo)
          Replaces the imageInfo of this RoundRobinGraphic
 void setInterlacedOption(boolean interlacedOption)
          Replaces the interlacedOption of this RoundRobinGraphic
 void setLazyOption(boolean lazyOption)
          Replaces the lazyOption of this RoundRobinGraphic
 void setLogarithmicOption(boolean logarithmicOption)
          Replaces the logarithmicOption of this RoundRobinGraphic
 void setLowerLimit(int lowerLimit)
          Replaces the lowerLimit of this RoundRobinGraphic
 void setMEVirtualDataSource(MEVirtualDataSourceContainer mEVirtualDataSourceContainer)
          Replaces the MEVirtualDataSourceContainer of this RoundRobinGraphic
 void setNoLegendOption(boolean noLegendOption)
          Replaces the noLegendOption of this RoundRobinGraphic
 void setRigidOption(boolean rigidOption)
          Replaces the rigidOption of this RoundRobinGraphic
 void setStartTime(Time startTime)
          Replaces the startTime of this RoundRobinGraphic
 void setStep(int step)
          Replaces the step of this RoundRobinGraphic
 void setTitle(java.lang.String title)
          Replaces the title of this RoundRobinGraphic
 void setUnitsExponent(int unitsExponent)
          Replaces the unitsExponent of this RoundRobinGraphic
 void setUpperLimit(int upperLimit)
          Replaces the upperLimit of this RoundRobinGraphic
 void setVerticalLabel(java.lang.String verticalLabel)
          Replaces the verticalLabel of this RoundRobinGraphic
 void setVirtualDataSourceontainer(VirtualDataSourceContainer virtualDataSourceContainer)
          Replaces the VirtualDataSourceontainer of this RoundRobinGraphic
 void setWidthPixels(int widthPixels)
          Replaces the widthPixels of this RoundRobinGraphic
 void setXGrid(XGrid xGrid)
          Replaces the xgrid of this RoundRobinGraphic
 void setYGrid(YGrid yGrid)
          Replaces the ygrid of this RoundRobinGraphic
 void setYGridOption(boolean yGridOption)
          Replaces the yGridOption of this RoundRobinGraphic
 java.lang.String toString()
          Returns a string representation of this round robin graphic of the rrdtool commande line
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

autoscaleMaxOption

protected java.lang.Boolean autoscaleMaxOption
autoscaleMaxOption Where --alt-autoscale will modify both the absolute maximum AND minimum values, this option will only affect the maximum value. The minimum value, if not defined on the command line, will be 0. This option can be useful when graphing router traffic when the WAN line uses compression, and thus the throughput may be higher than the WAN line speed. (default autoconfigure)

autoscaleOption

protected java.lang.Boolean autoscaleOption
autoscaleOption compute Y range based on function absolute minimum and maximum values. Default algorithm uses predefined set of ranges. This is good in many cases but it fails miserably when you need to graph something like 260 + 0.001 * sin(x). Default algorithm will use Y range from 250 to 300 and on the graph you will see almost straight line. With --alt-autoscale Y range will be from slightly less the 260 - 0.001 to slightly more then 260 + 0.001 and periodic behavior will be seen. (default autoconfigure)

base

protected java.lang.Integer base
base if you are graphing memory (and NOT network traffic) this switch should be set to 1024 so that one Kb is 1024 byte. For traffic measurement, 1 kb/s is 1000 b/s.

color

protected RoundRobinColor color
color override the colors for the standard elements of the graph. The COLORTAG must be one of the following symbolic names: BACK ground, CANVAS, SHADEA left/top border, SHADEB right/bottom border, GRID, MGRID major grid, FONT, FRAME and axis of the graph or ARROW. This option can be called multiple times to set several colors. (default colors)

comment

protected java.lang.String comment
comment Like GPRINT but the text is simply printed into the graph.

endTime

protected Time endTime
The time when the graph should end.

GIF_FORMAT

public static final java.lang.String GIF_FORMAT
Image format of a gif image

graphicName

protected java.lang.String graphicName
name of graphic

graphicObjectContainer

protected GraphicObjectContainer graphicObjectContainer
GraphicObjectContainer fill of the graphic object to print on the graph

graphicPrint

protected GraphicPrint graphicPrint
graphicPrint allows to print string into the graph below the legend.

heightPixels

protected java.lang.Integer heightPixels
heightPixels Width of the drawing area within the graph. This affects the size of the gif. (default 100)

imageFormat

protected java.lang.String imageFormat
imageFormat Allows you to produce PNG output from rrdtool service. (default: GIF)

imageInfo

protected java.lang.String imageInfo
imageInfo After the image has been created, the graph function uses printf together with this format string to create output similar to the PRINT function, only that the printf is supplied with the parameters filename, xsize and ysize. In order to generate an IMG tag suitable for including the graph into a web page, the command line would look like this: example 'Demo'

interlacedOption

protected java.lang.Boolean interlacedOption
interlacedOption If you set this option, then the resulting GIF will be interlaced. Most web browsers display these incrementally as they load. If you do not use this option, the GIFs default to being progressive scanned. The only effect of this option is to control the format of the GIF on disk. It makes no changes to the layout or contents of the graph. (default false)

lazyOption

protected java.lang.Boolean lazyOption
lazyOption Only generate the graph, if the current gif is out of date or not existent. (default false)

logarithmicOption

protected java.lang.Boolean logarithmicOption
logarithmicOption logarithmic y-axis scaling

lowerLimit

protected java.lang.Integer lowerLimit
lowerLimit This is not the lower limit of a graph. But rather, this is the maximum lower bound of a graph. For example, the value -100 will result in a graph that has a lower limit of -100 or less. Use this keyword to expand graphs down. (default autoconfigure)

mEVirtualDataSourceContainer

protected MEVirtualDataSourceContainer mEVirtualDataSourceContainer
mEVirtualDataSourceContainer Create a new virtual data source by evaluating a mathematical expression, specified in Reverse Polish Notation (RPN). If you have ever used a traditional HP calculator you already know RPN. The idea behind RPN notation is, that you have a stack and push your data onto this stack. When ever you execute an operation, it takes as many data values from the stack as needed. The pushing of data is implicit, so when ever you specify a number or a variable, it gets pushed automatically. If this is all a big load of incomprehensible words for you, maybe an example helps (a more complete explanation is given in [1]): The expression vname+3/2 becomes vname,3,2,/,+ in RPN. First the three values get pushed onto the stack (which now contains (the current value of) vname, a 3 and a 2). Then the / operator pops two values from the stack (3 and 2), divides the first argument by the second (3/2) and pushes the result (1.5) back onto the stack. Then the + operator pops two values (vname and 1.5) from the stack; both values are added up and the result gets pushes back onto the stack. In the end there is only one value left on the stack: The result of the expression.

noLegendOption

protected java.lang.Boolean noLegendOption
noLegendOption Suppress generation of legend; only render the graph.

PNG_FORMAT

public static final java.lang.String PNG_FORMAT
Image format of a png image

rigidOption

protected java.lang.Boolean rigidOption
rigidOption rigid boundaries mode. Normally rrdgraph will automatically expand the lower and upper limit if the graph contains a value outside the valid range. With the r option you can disable this behavior

startTime

protected Time startTime
The time when the graph should begin.

step

protected java.lang.Integer step
step By default graph calculates the width of one pixle in the time domain and tries to get data at that resolution from the RRD. With this switch you can override this behaviour. If you want rrdgraph to get data at 1 hour resolution from the RRD, then you can set the step to 3600 seconds. Note, that a step smaller than 1 pixle will be silently ignored. (default automatic)

title

protected java.lang.String title
title Define a title to be written into the graph (default no title)

unitsExponent

protected java.lang.Integer unitsExponent
unitsExponent This sets the 10**exponent scaling of the y-axis values. Normally values will be scaled to the appropriate units (k, M, etc.). However you may wish to display units always in k (Kilo, 10e3) even if the data is in the M (Mega, 10e6) range for instance. Value should be an integer which is a multiple of 3 between -18 and 18 inclusive. It is the exponent on the units you which to use. For example, use 3 to display the y-axis values in k (Kilo, 10e3, thousands), use -6 to display the y-axis values in u (Micro, 10e-6, millionths). Use a value of 0 to prevent any scaling of the y-axis values. (default autoconfigure)

upperLimit

protected java.lang.Integer upperLimit
upperLimit Defines the value normally located at the upper border of the graph. If the graph contains higher values, the upper border will move upwards to accomodate these values as well. If you want to define an upper-limit which will not move in any event you have to set the --rigid option as well. (default autoconfigure)

verticalLabel

protected java.lang.String verticalLabel
verticalLabel vertical label on the left side of the graph. This is normally used to specify the units used. (default autoconfigure)

virtualDataSourceContainer

protected VirtualDataSourceContainer virtualDataSourceContainer
virtualDataSourceContainer Define virtual name for a data source. This name can then be used in the functions explained below. The DEF call automatically chooses an RRA which contains CF consolidated data in a resolution appropriate for the size of the graph to be drawn. Ideally this means that one data point from the RRA should be represented by one pixel in the graph. If the resolution of the RRA is higher than the resolution of the graph, the data in the RRA will be further consolidated according to the consolidation function ( CF) chosen.

widthPixels

protected java.lang.Integer widthPixels
widthPixels Width of the drawing area within the graph. This affects the size of the gif. (default 400)

xGrid

protected XGrid xGrid
x-grid of this graph

yGrid

protected YGrid yGrid
y-grid of this graph

yGridOption

protected java.lang.Boolean yGridOption
yGridOption place Y grid dynamically based on graph Y range. Algorithm ensures that you always have grid, that there are enough but not too many grid lines and the grid is metric. That is grid lines are placed every 1, 2, 5 or 10 units. (default autoconfigure)
Constructor Detail

RoundRobinGraphic

public RoundRobinGraphic(java.lang.String graphicName)
Default constructor of RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic

RoundRobinGraphic

public RoundRobinGraphic(java.lang.String graphicName,
                         java.lang.String title)
Constructor of RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic
title - the title to set into this RoundRobinGraphic

RoundRobinGraphic

public RoundRobinGraphic(java.lang.String graphicName,
                         java.lang.String title,
                         java.lang.String verticalLabel)
Constructor of RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic
title - the title to set into this RoundRobinGraphic
verticalLabel - the verticalLabel to set into this RoundRobinGraphic

RoundRobinGraphic

public RoundRobinGraphic(java.lang.String graphicName,
                         java.lang.String title,
                         Time startTime,
                         Time endTime)
Constructor of RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic
title - the title to set into this RoundRobinGraphic
startTime - the startTime to start graphing
endTime - the endTime to stop graphing

RoundRobinGraphic

public RoundRobinGraphic(java.lang.String graphicName,
                         java.lang.String title,
                         Time startTime,
                         Time endTime,
                         java.lang.String verticalLabel)
Constructor of RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic
title - the title to set into this RoundRobinGraphic
startTime - the startTime to start graphing
endTime - the endTime to stop graphing
verticalLabel - the verticalLabel to set into this RoundRobinGraphic

RoundRobinGraphic

public RoundRobinGraphic(java.lang.String graphicName,
                         Time startTime)
Constructor of RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic
startTime - the startTime to start graphing

RoundRobinGraphic

public RoundRobinGraphic(java.lang.String graphicName,
                         Time startTime,
                         Time endTime)
Constructor of RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic
startTime - the startTime to start graphing
endTime - the endTime to stop graphing

RoundRobinGraphic

public RoundRobinGraphic(java.lang.String graphicName,
                         Time startTime,
                         Time endTime,
                         java.lang.String verticalLabel)
Constructor of RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic
startTime - the startTime to start graphing
endTime - the endTime to stop graphing
verticalLabel - the verticalLabel to set into this RoundRobinGraphic
Method Detail

addCDEF

public void addCDEF(MathExpressionVirtualDataSource mEVirtualDataSource)
Add a mEVirtualDataSource into the RoundRobinGraphic
Parameters:
meVirtualDataSource - the mEVirtualDataSource to add

addDEF

public void addDEF(VirtualDataSource virtualDataSource)
Add a virtualDataSource into the RoundRobinGraphic
Parameters:
virtualDataSource - the virtualDataSource to add

addGraphicObject

public void addGraphicObject(GraphicObject graphicObject)
Add a graphic Object into the RoundRobinGraphic
Parameters:
graphicObject - the graphicObject to add

getAutoscaleMaxOption

public java.lang.Boolean getAutoscaleMaxOption()
Returns the autoscaleMaxOption of this RoundRobinGraphic

getAutoscaleOption

public java.lang.Boolean getAutoscaleOption()
Returns the autoscaleOption of this RoundRobinGraphic

getBase

public java.lang.Integer getBase()
Returns the base of this RoundRobinGraphic

getColor

public RoundRobinColor getColor()
Returns the color of this RoundRobinGraphic

getComment

public java.lang.String getComment()
Returns the comment of this RoundRobinGraphic

getEndTime

public Time getEndTime()
Returns the endTime of this RoundRobinGraphic

getGraphicName

public java.lang.String getGraphicName()
Returns the graphicName of this RoundRobinGraphic

getGraphicObjectContainer

public GraphicObjectContainer getGraphicObjectContainer()
Returns the graphic object container of this RoundRobinGraphic

getGraphicPrint

public GraphicPrint getGraphicPrint()
Returns the graphicPrint of this RoundRobinGraphic

getHeightPixels

public java.lang.Integer getHeightPixels()
Returns the heightPixels of this RoundRobinGraphic

getImageFormat

public java.lang.String getImageFormat()
Returns the imageFormat of this RoundRobinGraphic

getImageInfo

public java.lang.String getImageInfo()
Returns the imageInfo of this RoundRobinGraphic

getInterlacedOption

public java.lang.Boolean getInterlacedOption()
Returns the interlacedOption of this RoundRobinGraphic

getLazyOption

public java.lang.Boolean getLazyOption()
Returns the lazyOption of this RoundRobinGraphic

getLogarithmicOption

public java.lang.Boolean getLogarithmicOption()
Returns the logarithmicOption of this RoundRobinGraphic

getLowerLimit

public java.lang.Integer getLowerLimit()
Returns the lowerLimit of this RoundRobinGraphic

getMEVirtualDataSourceContainer

public MEVirtualDataSourceContainer getMEVirtualDataSourceContainer()
Returns the MEVirtualDataSourceContainer of this RoundRobinGraphic

getNoLegendOption

public java.lang.Boolean getNoLegendOption()
Returns the noLegendOption of this RoundRobinGraphic

getRigidOption

public java.lang.Boolean getRigidOption()
Returns the rigidOption of this RoundRobinGraphic

getStartTime

public Time getStartTime()
Returns the startTime of this RoundRobinGraphic

getStep

public java.lang.Integer getStep()
Returns the step of this RoundRobinGraphic

getTitle

public java.lang.String getTitle()
Returns the title of this RoundRobinGraphic

getUnitsExponent

public java.lang.Integer getUnitsExponent()
Returns the unitsExponent of this RoundRobinGraphic

getUpperLimit

public java.lang.Integer getUpperLimit()
Returns the upperLimit of this RoundRobinGraphic

getVerticalLabel

public java.lang.String getVerticalLabel()
Returns the verticalLabel of this RoundRobinGraphic

getVirtualDataSourceConatiner

public VirtualDataSourceContainer getVirtualDataSourceConatiner()
Returns the virtualDataSourceContainer of this RoundRobinGraphic

getWidthPixels

public java.lang.Integer getWidthPixels()
Returns the widthPixels of this RoundRobinGraphic

getXGrid

public XGrid getXGrid()
Returns the xgrid of this RoundRobinGraphic

getYGrid

public YGrid getYGrid()
Returns the ygrid of this RoundRobinGraphic

getYGridOption

public java.lang.Boolean getYGridOption()
Returns the yGridOption of this RoundRobinGraphic

initRoundRobinGraphic

private void initRoundRobinGraphic()
initRoundRobinGraphic initialize all field of round robin graphic null

isImageFormat

public boolean isImageFormat(java.lang.String imageFormat)
isImageFormat returns true if the string parameter is a valide image format

listRoundRobinGraphic

public java.lang.String listRoundRobinGraphic()
Returns a string representation of this round robin graphic to visualize all fields and round robin graphics options

setAutoscaleMaxOption

public void setAutoscaleMaxOption(boolean autoscaleMaxOption)
Replaces the autoscaleMaxOption of this RoundRobinGraphic
Parameters:
autoscaleMaxOption - the autoscaleMaxOption to set into this RoundRobinGraphic

setAutoscaleOption

public void setAutoscaleOption(boolean autoscaleOption)
Replaces the autoscaleOption of this RoundRobinGraphic
Parameters:
autoscaleOption - the autoscaleOption to set into this RoundRobinGraphic

setBase

public void setBase(int base)
Replaces the base of this RoundRobinGraphic
Parameters:
base - the base to set into this RoundRobinGraphic

setColor

public void setColor(RoundRobinColor color)
Replaces the color of this RoundRobinGraphic
Parameters:
color - the color to set into this RoundRobinGraphic

setComment

public void setComment(java.lang.String comment)
Replaces the comment of this RoundRobinGraphic
Parameters:
comment - the comment to set into this RoundRobinGraphic

setEndTime

public void setEndTime(Time endTime)
Replaces the endTime of this RoundRobinGraphic
Parameters:
endTime - the endTime to set into this RoundRobinGraphic

setGraphicName

public void setGraphicName(java.lang.String graphicName)
Replaces the graphicName of this RoundRobinGraphic
Parameters:
graphicName - the graphicName to set into this RoundRobinGraphic

setgraphicObjectContainer

public void setgraphicObjectContainer(GraphicObjectContainer graphicObjectContainer)
Replaces the graphic object container of this RoundRobinGraphic
Parameters:
graphicObjectContainer - the graphic object container of the RoundRobinGraphic

setGraphicPrint

public void setGraphicPrint(GraphicPrint graphicPrint)
Replaces the graphicPrint of this RoundRobinGraphic
Parameters:
graphicPrint - the graphicPrint to set into this RoundRobinGraphic

setHeightPixels

public void setHeightPixels(int heightPixels)
Replaces the heightPixels of this RoundRobinGraphic
Parameters:
heightPixels - the heightPixels to set into this RoundRobinGraphic

setImageFormat

public void setImageFormat(java.lang.String imageFormat)
                    throws java.lang.Exception
Replaces the imageFormat of this RoundRobinGraphic
Parameters:
imageFormat - the imageFormat to set into this RoundRobinGraphic

setImageInfo

public void setImageInfo(java.lang.String imageInfo)
Replaces the imageInfo of this RoundRobinGraphic
Parameters:
imageInfo - the imageInfo to set into this RoundRobinGraphic

setInterlacedOption

public void setInterlacedOption(boolean interlacedOption)
Replaces the interlacedOption of this RoundRobinGraphic
Parameters:
interlacedOption - the interlacedOption to set into this RoundRobinGraphic

setLazyOption

public void setLazyOption(boolean lazyOption)
Replaces the lazyOption of this RoundRobinGraphic
Parameters:
lazyOption - the lazyOption to set into this RoundRobinGraphic

setLogarithmicOption

public void setLogarithmicOption(boolean logarithmicOption)
Replaces the logarithmicOption of this RoundRobinGraphic
Parameters:
logarithmicOption - the logarithmicOption to set into this RoundRobinGraphic

setLowerLimit

public void setLowerLimit(int lowerLimit)
Replaces the lowerLimit of this RoundRobinGraphic
Parameters:
lowerLimit - the lowerLimit to set into this RoundRobinGraphic

setMEVirtualDataSource

public void setMEVirtualDataSource(MEVirtualDataSourceContainer mEVirtualDataSourceContainer)
Replaces the MEVirtualDataSourceContainer of this RoundRobinGraphic
Parameters:
mEVirtualDataSourceContainer - the mEVirtualDataSourceContainer to set into this RoundRobinGraphic

setNoLegendOption

public void setNoLegendOption(boolean noLegendOption)
Replaces the noLegendOption of this RoundRobinGraphic
Parameters:
noLegendOption - the noLegendOption to set into this RoundRobinGraphic

setRigidOption

public void setRigidOption(boolean rigidOption)
Replaces the rigidOption of this RoundRobinGraphic
Parameters:
rigidOption - the rigidOption to set into this RoundRobinGraphic

setStartTime

public void setStartTime(Time startTime)
Replaces the startTime of this RoundRobinGraphic
Parameters:
startTime - the startTime to set into this RoundRobinGraphic

setStep

public void setStep(int step)
Replaces the step of this RoundRobinGraphic
Parameters:
step - the step to set into this RoundRobinGraphic

setTitle

public void setTitle(java.lang.String title)
Replaces the title of this RoundRobinGraphic
Parameters:
title - the title to set into this RoundRobinGraphic

setUnitsExponent

public void setUnitsExponent(int unitsExponent)
Replaces the unitsExponent of this RoundRobinGraphic
Parameters:
unitsExponent - the unitsExponent to set into this RoundRobinGraphic

setUpperLimit

public void setUpperLimit(int upperLimit)
Replaces the upperLimit of this RoundRobinGraphic
Parameters:
upperLimit - the upperLimit to set into this RoundRobinGraphic

setVerticalLabel

public void setVerticalLabel(java.lang.String verticalLabel)
Replaces the verticalLabel of this RoundRobinGraphic
Parameters:
verticalLabel - the verticalLabel to set into this RoundRobinGraphic

setVirtualDataSourceontainer

public void setVirtualDataSourceontainer(VirtualDataSourceContainer virtualDataSourceContainer)
Replaces the VirtualDataSourceontainer of this RoundRobinGraphic
Parameters:
virtualDataSourceContainer - the virtualDataSource to set into this RoundRobinGraphic

setWidthPixels

public void setWidthPixels(int widthPixels)
Replaces the widthPixels of this RoundRobinGraphic
Parameters:
widthPixels - the widthPixels to set into this RoundRobinGraphic

setXGrid

public void setXGrid(XGrid xGrid)
Replaces the xgrid of this RoundRobinGraphic
Parameters:
xgrid - the xgrid to set into this RoundRobinGraphic

setYGrid

public void setYGrid(YGrid yGrid)
Replaces the ygrid of this RoundRobinGraphic
Parameters:
ygrid - the ygrid to set into this RoundRobinGraphic

setYGridOption

public void setYGridOption(boolean yGridOption)
Replaces the yGridOption of this RoundRobinGraphic
Parameters:
yGridOption - the yGridOption to set into this RoundRobinGraphic

toString

public java.lang.String toString()
Returns a string representation of this round robin graphic of the rrdtool commande line
Overrides:
toString in class java.lang.Object

Copyright 1885-2001 FIRMENICH SA, Geneva

Submit a bug or feature
Copyright 1885-2001 FIRMENICH SA, Geneva,
All Rights Reserved.