All Packages Class Hierarchy This Package Previous Next Index
Class advent.mibBrowser.Multiline
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----advent.mibBrowser.Multiline
- public class Multiline
- extends Canvas
-
absTime
- Whether to show relative or absolute time on the X axis
-
data
- The data to be graphed, i.e.
-
lfontName
- The labels font name, e.g.
-
lfontSize
- The labels font size.
-
lfontStyle
- The labels font style.
-
lineColor
- The primary line color
-
log
- Whether to log polling data for this graph to the log.
-
logLabel
- The label to be used when logging polling data.
-
no_run
-
-
oidLabels
- The labels to be used for each oid - separated by | (pipe).
-
pdusize
-
-
showTitle
- Whether to show a title at all.
-
showXLabel
- Whether to show the X label
-
showYLabel
- Whether to show the Y label
-
tfontName
- The title font name, e.g.
-
tfontSize
- The title font size
-
tfontStyle
- The title font style.
-
timeAvg
- Whether to time average the value shown
-
Title
- The title for the graph.
-
xDiffMax
- The maximum range on on the X scale.
-
xGrid
- This defines # of vertical grid lines
-
xLabel
- The label for the X axis
-
xMark
- This defines # of value marks on X axis
-
xMax
- The maximum value on the X scale
-
xMin
- The minimum value on the X scale
-
xUnits
- The X Units label - unsupported at this time.
-
yGrid
- This defines # of horizontal grid lines
-
yLabel
- The label for the Y axis
-
yMark
- This defines # of value marks on Y axis
-
yMax
- The maximum value on the Y scale
-
yMin
- The minimum value on the Y scale
-
yUnits
- The Y units label - unsupported at this time.
-
Multiline()
- This constructor sets the min size
-
Multiline(int, int)
-
-
paint(Graphics)
-
-
setFont(Font, Font)
-
-
setResult(int)
- This updates the graph with the new value
-
setResult(int, int)
- This updates the graph with the new value
-
setResult(String)
- This is to set String values for the active component
-
setValues()
- This method sets any component values that need to be set.
Title
public String Title
- The title for the graph.
showTitle
public boolean showTitle
- Whether to show a title at all. Avoids empty space if set to false.
tfontName
public String tfontName
- The title font name, e.g. Helvetica.
tfontStyle
public String tfontStyle
- The title font style.
tfontSize
public int tfontSize
- The title font size
xLabel
public String xLabel
- The label for the X axis
yLabel
public String yLabel
- The label for the Y axis
showXLabel
public boolean showXLabel
- Whether to show the X label
showYLabel
public boolean showYLabel
- Whether to show the Y label
xUnits
public String xUnits
- The X Units label - unsupported at this time.
yUnits
public String yUnits
- The Y units label - unsupported at this time.
lfontName
public String lfontName
- The labels font name, e.g. Helvetica
lfontStyle
public String lfontStyle
- The labels font style.
lfontSize
public int lfontSize
- The labels font size.
xMax
public int xMax
- The maximum value on the X scale
xMin
public int xMin
- The minimum value on the X scale
absTime
public boolean absTime
- Whether to show relative or absolute time on the X axis
xDiffMax
public int xDiffMax
- The maximum range on on the X scale. Prevents compression of the graph if set to non-zero. If zero shows all values from the start.
yMax
public int yMax
- The maximum value on the Y scale
yMin
public int yMin
- The minimum value on the Y scale
timeAvg
public boolean timeAvg
- Whether to time average the value shown
xGrid
public int xGrid
- This defines # of vertical grid lines
yGrid
public int yGrid
- This defines # of horizontal grid lines
xMark
public int xMark
- This defines # of value marks on X axis
yMark
public int yMark
- This defines # of value marks on Y axis
data
public Vector data[]
- The data to be graphed, i.e. each line is Vector of points (x,y)
no_run
public int no_run
lineColor
public Color lineColor
- The primary line color
oidLabels
public String oidLabels
- The labels to be used for each oid - separated by | (pipe).
logLabel
public String logLabel
- The label to be used when logging polling data.
log
public boolean log
- Whether to log polling data for this graph to the log.
pdusize
public int pdusize
Multiline
public Multiline()
- This constructor sets the min size
Multiline
public Multiline(int w,
int h)
setResult
public void setResult(String value)
- This is to set String values for the active component
setValues
public void setValues()
- This method sets any component values that need to be set.
setResult
public void setResult(int diff)
- This updates the graph with the new value
setFont
public void setFont(Font titleFont,
Font labelFont)
paint
public synchronized void paint(Graphics g)
- Overrides:
- paint in class Canvas
setResult
public void setResult(int lineNum,
int diff)
- This updates the graph with the new value
All Packages Class Hierarchy This Package Previous Next Index