Module omix.api

Interface Player

All Superinterfaces:
Accessory, IntegerTrigger, Member, Trigger
All Known Subinterfaces:
Player, Player

@Signal(int.class)
public interface Player
extends IntegerTrigger
A Player has the same functionality as the Slider and, additionally, buttons to increase or decrease the current value with a defined step size and an automatic play routine. Optionally a Player is able to record series of images of the network diagram.

Player

Any value change by playing, recording or user calls a method with an int parameter. Example:
Player player : method(int);
or
Player player : method(java.lang.Integer);
A Player is disabled if
maximum <= minimum when step>0
maximum >= minimum when step<0
step==0
This occurs by default. Set at least maximum to enable Player. Example:
player.maximum = 100;
Author:
Dr. Peter Droste, Omix Visualization
  • Method Details

    • step

      @OVLField int step()
      step used to increase or decrease value
      Returns:
      step
    • minimumSpeed

      @OVLField int minimumSpeed()
      minimum progress speed of the player
      Returns:
      minimum speed