Class hmiTrend

java.lang.Object
   |
   +----hmiElement
           |
           +----hmiTrend

class hmiTrend
extends hmiElement
Widget class that provides a short time trend viewer. Watch the lower trend for some seconds. It buils a sine curve with values from hmiFakeCI. With a real server, you would get the entire curve at once.
Demo widgetParameters


Variable Index

 o debug
 o last
 o pairs
 o points

Constructor Index

 o hmiTrend()

Method Index

 o getval()
Uses the special method get Trend data from hmiList to get the trend data.
 o needCells()
Tell owner, how many cellRefs we will need.
Overwrite this method in classes that need more than the 16 standard parameters.
 o paintmore(Graphics)
Overwrite this to draw your widget's special appearence on the prepared background rectangle.
 o setMore(String, int)
Get any extra parameters.
Overwrite this method in classes that need more than the 16 standard parameters.

Variables

 o points
 int points
 o pairs
 Vector pairs
 o last
 String last
 o debug
 static final int debug

Constructors

 o hmiTrend
 hmiTrend()

Methods

 o needCells
 public int needCells()
Tell owner, how many cellRefs we will need.
Overwrite this method in classes that need more than the 16 standard parameters.

Overrides:
needCells in class hmiElement
 o setMore
 public void setMore(String s,
                     int n)
Get any extra parameters.
Overwrite this method in classes that need more than the 16 standard parameters.

Overrides:
setMore in class hmiElement
 o paintmore
 public void paintmore(Graphics g)
Overwrite this to draw your widget's special appearence on the prepared background rectangle.

Overrides:
paintmore in class hmiElement
 o getval
 public void getval()
Uses the special method get Trend data from hmiList to get the trend data.

Overrides:
getval in class hmiElement