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

Variable Index

 o absTime
Whether to show relative or absolute time on the X axis
 o data
The data to be graphed, i.e.
 o lfontName
The labels font name, e.g.
 o lfontSize
The labels font size.
 o lfontStyle
The labels font style.
 o lineColor
The primary line color
 o log
Whether to log polling data for this graph to the log.
 o logLabel
The label to be used when logging polling data.
 o no_run
 o oidLabels
The labels to be used for each oid - separated by | (pipe).
 o pdusize
 o showTitle
Whether to show a title at all.
 o showXLabel
Whether to show the X label
 o showYLabel
Whether to show the Y label
 o tfontName
The title font name, e.g.
 o tfontSize
The title font size
 o tfontStyle
The title font style.
 o timeAvg
Whether to time average the value shown
 o Title
The title for the graph.
 o xDiffMax
The maximum range on on the X scale.
 o xGrid
This defines # of vertical grid lines
 o xLabel
The label for the X axis
 o xMark
This defines # of value marks on X axis
 o xMax
The maximum value on the X scale
 o xMin
The minimum value on the X scale
 o xUnits
The X Units label - unsupported at this time.
 o yGrid
This defines # of horizontal grid lines
 o yLabel
The label for the Y axis
 o yMark
This defines # of value marks on Y axis
 o yMax
The maximum value on the Y scale
 o yMin
The minimum value on the Y scale
 o yUnits
The Y units label - unsupported at this time.

Constructor Index

 o Multiline()
This constructor sets the min size
 o Multiline(int, int)

Method Index

 o paint(Graphics)
 o setFont(Font, Font)
 o setResult(int)
This updates the graph with the new value
 o setResult(int, int)
This updates the graph with the new value
 o setResult(String)
This is to set String values for the active component
 o setValues()
This method sets any component values that need to be set.

Variables

 o Title
 public String Title
The title for the graph.

 o showTitle
 public boolean showTitle
Whether to show a title at all. Avoids empty space if set to false.

 o tfontName
 public String tfontName
The title font name, e.g. Helvetica.

 o tfontStyle
 public String tfontStyle
The title font style.

 o tfontSize
 public int tfontSize
The title font size

 o xLabel
 public String xLabel
The label for the X axis

 o yLabel
 public String yLabel
The label for the Y axis

 o showXLabel
 public boolean showXLabel
Whether to show the X label

 o showYLabel
 public boolean showYLabel
Whether to show the Y label

 o xUnits
 public String xUnits
The X Units label - unsupported at this time.

 o yUnits
 public String yUnits
The Y units label - unsupported at this time.

 o lfontName
 public String lfontName
The labels font name, e.g. Helvetica

 o lfontStyle
 public String lfontStyle
The labels font style.

 o lfontSize
 public int lfontSize
The labels font size.

 o xMax
 public int xMax
The maximum value on the X scale

 o xMin
 public int xMin
The minimum value on the X scale

 o absTime
 public boolean absTime
Whether to show relative or absolute time on the X axis

 o 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.

 o yMax
 public int yMax
The maximum value on the Y scale

 o yMin
 public int yMin
The minimum value on the Y scale

 o timeAvg
 public boolean timeAvg
Whether to time average the value shown

 o xGrid
 public int xGrid
This defines # of vertical grid lines

 o yGrid
 public int yGrid
This defines # of horizontal grid lines

 o xMark
 public int xMark
This defines # of value marks on X axis

 o yMark
 public int yMark
This defines # of value marks on Y axis

 o data
 public Vector data[]
The data to be graphed, i.e. each line is Vector of points (x,y)

 o no_run
 public int no_run
 o lineColor
 public Color lineColor
The primary line color

 o oidLabels
 public String oidLabels
The labels to be used for each oid - separated by | (pipe).

 o logLabel
 public String logLabel
The label to be used when logging polling data.

 o log
 public boolean log
Whether to log polling data for this graph to the log.

 o pdusize
 public int pdusize

Constructors

 o Multiline
 public Multiline()
This constructor sets the min size

 o Multiline
 public Multiline(int w,
                  int h)

Methods

 o setResult
 public void setResult(String value)
This is to set String values for the active component

 o setValues
 public void setValues()
This method sets any component values that need to be set.

 o setResult
 public void setResult(int diff)
This updates the graph with the new value

 o setFont
 public void setFont(Font titleFont,
                     Font labelFont)
 o paint
 public synchronized void paint(Graphics g)
Overrides:
paint in class Canvas
 o 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