Class hmiDigital

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

class hmiDigital
extends hmiElement
Widget class that provides a digital display. Extra parameters:
    A name to put before the value.
      A unit to display behind the value.
        The number of fractional digits.
Demo widgetParameters


Variable Index

 o D
 o decimals
 o L
 o nf

Constructor Index

 o hmiDigital()

Method Index

 o getval()
getval transfers the updated values into the specific variables:
 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 decimals
 int decimals
 o D
 Double D
 o L
 static Locale L
 o nf
 static NumberFormat nf

Constructors

 o hmiDigital
 hmiDigital()

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 getval
 public void getval()
getval transfers the updated values into the specific variables:

Overrides:
getval 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