SourceForge Logo

This is a demo screen for the hmiMultiIcon widget.


You will need JAVA to view it.next Demo

hmiMultiIcon is a widget that takes a list of pictures (.jpg,.gif, your java must be able to show them) an displays them either depending on external values or in a continous sequence.
It provides powerful way of creating your own "widgets" without programming.
The drawback of this approach is that they are not freely scalable.
The counters on the left show a value from the server. The wheels rotation, the transport screw and the one digit counters on the right are animated by hmiMultiIcon itself. Note that the 7 segment display counts at half the rate as the hand drawn digits counter. It is parametrized to change on every second refresh. The X position of the wheel is controlled by the counter, Y position by the potentiometer.
Try to increase the potentiometer value by clicking it with the right mouse button.
This will affect the wheel's height, the appearence of the pump and some things else.
Try to reset counter. The reset button is a combination of a hmiMultiIcon used to display both states of the button and an invisible hmiPushbutton do provide the underlying functionality ( passing a pulse to the server).
The digital switches act on the same variable as the poti. This is not common in a real application, at least not on the same page. But note that they have different upper limits.

Usage:

Type:left click:right click:
Potentiometersdecrease valueincrease value
Switch buttonswitch offswitch on
Digitally coded switch:
Click the upper button of the symbol to increase digit;
Click the lower button of the symbol to decrease digit;
On other elements:
Left mouse button will call up a trend view of the shown value.
Right mouse button will mark this value to be inluded inthe next trend view.

What's the fake here?

The fake is that the data is generated by the applet hmiFake.class itself. The other classes used for the single display elements are the same as in the real application and bevave the same way with one difference: They do not try to write back values.
In the real application, data is fetched from the main application via TCP/IP connection.