Class hmiPushButton

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

class hmiPushButton
extends hmiElement
Widget class that provides a button that can be pressed and springs back then.
Demo widgetParameters
This is a most simple thing: Lukily, an elliptical knob is in our heritage. All we have to do is to tPutVal our "one" when we are pressed.
This will the CI to send it with a "tset" command (VisualCI),
The server will mark the value as soPushButton.
Any PLC driver will set a cell marked this way back to 0 after having sent the contents.
Then it will mark the cell as "soPushBAck".
The next cycle the value has changed to 0 and the driver has to send it again. This finally results in a pulse if all goes well.
Otherwise (on transmission errors) our button will get "stuck".
A pressed button is displayed in foreground color 2. As the button changes between 0 and 1, you can use an alternate colorset setting minimum or maximum to 0.5.


Constructor Index

 o hmiPushButton()

Method Index

 o action(MouseEvent)
This performs actions.
 o paintmore(Graphics)
Overwrite this to draw your widget's special appearence on the prepared background rectangle.

Constructors

 o hmiPushButton
 hmiPushButton()

Methods

 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 action
 public void action(MouseEvent e)
This performs actions.

Overrides:
action in class hmiElement