Interface hmiList

interface hmiList
This gives the widgets access to services provided by the hmiViewer.


Variable Index

 o myblink1
The 1st color for blinking fields, color number 3 replaces EGA dark cyan.
 o myblink2
The 2nd color for blinking fields, color number 3 replaces EGA dark cyan.
 o myblue
the EGA dark blue., color number 1
 o mygreen
The EGA dark green, color number 2
 o mymagenta
The EGA dark magenta, color number 5
 o myred
The EGA dark red, color number 4

Method Index

 o callTrend()
Calls a URL that should display a trend diagram based on:
 o get(String)
Return the value for key k from variable-value hash.
 o getBlink()
Returns the state of the blink flag.
 o getFont(int)
Returns Font instance of standard font scaled to size i.
 o getFontMetrics(int)
Returns FontMetrics for standard font when scaled to size i.
 o getHash()
Return a reference to the variable-value hashtable.
 o getImage(String)
Returns Image identified by name s.
 o getRights(int)
Returns whether a corresponding right is set in rights as given in parameter "rights".
 o put(String, String)
Set variable identified by key k to string v.
 o putVal(String, double)
Set variable identified by key k to value v.
 o showDocument(String)
Show document d in same window, i.e.
 o showDocument(String, String)
Show document d int window target.
 o tPutVal(String)
Temporarily set variable identified by key k to 1.

Variables

 o myblue
 public static final Color myblue
the EGA dark blue., color number 1

 o mygreen
 public static final Color mygreen
The EGA dark green, color number 2

 o myred
 public static final Color myred
The EGA dark red, color number 4

 o myblink1
 public static final Color myblink1
The 1st color for blinking fields, color number 3 replaces EGA dark cyan.

 o myblink2
 public static final Color myblink2
The 2nd color for blinking fields, color number 3 replaces EGA dark cyan.

 o mymagenta
 public static final Color mymagenta
The EGA dark magenta, color number 5

Methods

 o getHash
 public abstract Hashtable getHash()
Return a reference to the variable-value hashtable.

 o put
 public abstract void put(String k,
                          String v)
Set variable identified by key k to string v.

 o putVal
 public abstract void putVal(String k,
                             double v)
Set variable identified by key k to value v. This is used by widgets that set a value.

 o tPutVal
 public abstract void tPutVal(String k)
Temporarily set variable identified by key k to 1. This is useful with pushbuttons to make them "spring back". Viewer and server are together responsible to set it back to zero.

 o showDocument
 public abstract void showDocument(String d)
Show document d in same window, i.e. goto this document.

 o showDocument
 public abstract void showDocument(String d,
                                   String target)
Show document d int window target.

 o get
 public abstract String get(String k)
Return the value for key k from variable-value hash.

 o callTrend
 public abstract void callTrend()
Calls a URL that should display a trend diagram based on:

 o getBlink
 public abstract boolean getBlink()
Returns the state of the blink flag.

 o getRights
 public abstract boolean getRights(int mask)
Returns whether a corresponding right is set in rights as given in parameter "rights".

 o getFontMetrics
 public abstract FontMetrics getFontMetrics(int i)
Returns FontMetrics for standard font when scaled to size i.

 o getFont
 public abstract Font getFont(int i)
Returns Font instance of standard font scaled to size i.

 o getImage
 public abstract Image getImage(String s)
Returns Image identified by name s.