Class hmiDesigner

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----hmiViewer
                                           |
                                           +----hmiDesigner

public class hmiDesigner
extends hmiViewer
implements changeAble, MouseListener, MouseMotionListener
This is an hmiViewer


Variable Index

 o activeElementNr
Stores the number of the latest clicked widget.
 o doDragSize
 o dragObject
 o drsx
 o drsy
 o first
 o lastx
 o lasty

Constructor Index

 o hmiDesigner()

Method Index

 o addElement(hmiElement)
We can get new elements from a fellow applet.
 o callTrend()
empty, we do not call trends.
 o delElem()
Delete the selected widget from the collection.
 o get(String, String)
 o getCellRef(int, int)
Return the cellRef parmNr from widget number objNr.
 o getElement(int)
Return a widget by number.
 o getObjectCount()
Return the number of widgets.
 o getParm(int, int)
Return the parameter number parmNr from widget number objNr.
 o getTag()
And we publish our element list in form of an applet tag's parameter lines when we are told so (by javascript button).
 o getVar(int, int)
Return the variable name of number parmNr from widget number objNr.
 o mouseClicked(MouseEvent)
Search a widget that can handle the mouse click and call it's action method.
 o mouseDragged(MouseEvent)
Move or resize widget on mouse dragged.
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMoved(MouseEvent)
Displays a hint in status bar, if mouse is in a widget's area.
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o setParm(hmiElement, int, String)
And here we allow a friend telling: "adjust the n'th parameter of your m'th element to what I tell you".
 o setParm(int, int, String)
 o setVar(hmiElement, int, String)
And here we allow a friend telling: "adjust the n'th parameter of your m'th element to what I tell you".
 o setVar(int, int, String)

Variables

 o first
 boolean first
 o activeElementNr
 int activeElementNr
Stores the number of the latest clicked widget.

 o dragObject
 hmiElement dragObject
 o lastx
 int lastx
 o lasty
 int lasty
 o drsx
 int drsx
 o drsy
 int drsy
 o doDragSize
 boolean doDragSize

Constructors

 o hmiDesigner
 public hmiDesigner()

Methods

 o addElement
 public void addElement(hmiElement x)
We can get new elements from a fellow applet.

 o getTag
 public String getTag()
And we publish our element list in form of an applet tag's parameter lines when we are told so (by javascript button).

 o delElem
 public void delElem()
Delete the selected widget from the collection.

 o getObjectCount
 public int getObjectCount()
Return the number of widgets.

 o getElement
 public hmiElement getElement(int i)
Return a widget by number.

 o getParm
 public String getParm(int objNr,
                       int parmNr)
Return the parameter number parmNr from widget number objNr.

 o getVar
 public String getVar(int objNr,
                      int parmNr)
Return the variable name of number parmNr from widget number objNr.

 o getCellRef
 public cellRef getCellRef(int objNr,
                           int parmNr)
Return the cellRef parmNr from widget number objNr.

 o setParm
 public void setParm(hmiElement obj,
                     int parmNr,
                     String parm)
And here we allow a friend telling: "adjust the n'th parameter of your m'th element to what I tell you".

 o setParm
 public void setParm(int objNr,
                     int parmNr,
                     String parm)
 o setVar
 public void setVar(hmiElement obj,
                    int parmNr,
                    String var)
And here we allow a friend telling: "adjust the n'th parameter of your m'th element to what I tell you".

 o setVar
 public void setVar(int objNr,
                    int parmNr,
                    String var)
 o callTrend
 public void callTrend()
empty, we do not call trends.

Overrides:
callTrend in class hmiViewer
 o get
 public String get(String what,
                   String cell)
 o mouseClicked
 public void mouseClicked(MouseEvent evt)
Search a widget that can handle the mouse click and call it's action method.

Overrides:
mouseClicked in class hmiViewer
 o mousePressed
 public void mousePressed(MouseEvent evt)
Overrides:
mousePressed in class hmiViewer
 o mouseReleased
 public void mouseReleased(MouseEvent evt)
Overrides:
mouseReleased in class hmiViewer
 o mouseEntered
 public void mouseEntered(MouseEvent evt)
Overrides:
mouseEntered in class hmiViewer
 o mouseExited
 public void mouseExited(MouseEvent evt)
Overrides:
mouseExited in class hmiViewer
 o mouseMoved
 public void mouseMoved(MouseEvent evt)
Displays a hint in status bar, if mouse is in a widget's area.

Overrides:
mouseMoved in class hmiViewer
 o mouseDragged
 public void mouseDragged(MouseEvent e)
Move or resize widget on mouse dragged.

Overrides:
mouseDragged in class hmiViewer