Class hmiLightUp

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

class hmiLightUp
extends hmiElement
Widget class that provides a field to show texts when main value exceeds given limits.
Extra parameters:
    The text at maximum
      The text at minimum
Demo widgetParameters


Constructor Index

 o hmiLightUp()

Method Index

 o action(int)
Action does nothing
 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)
Draw the widget with the minimum or maximum text
 o setMore(String, int)
Get any extra parameters.
Overwrite this method in classes that need more than the 16 standard parameters.

Constructors

 o hmiLightUp
 hmiLightUp()

Methods

 o action
 public void action(int what)
Action does nothing

 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)
Draw the widget with the minimum or maximum text

Overrides:
paintmore in class hmiElement