Module omix.api

Interface CheckButton

All Superinterfaces:
Accessory, Member, Trigger
All Known Subinterfaces:
CheckButton, CheckButton

@Signal(boolean.class)
public interface CheckButton
extends Trigger
A CheckButton calls a method with a boolean value of its checked state at user action.

Unchecked Checked

Example:
CheckButton button : method(boolean);
or
CheckButton button : method(java.lang.Boolean);
Author:
peter Droste
  • Method Details

    • checked

      @OVLField boolean checked()
      the checked state of this trigger. This is also emitted. Changing this field by programming does not invoke connected method.
      Returns:
      checked
    • oncheck

      @OVLEvent void oncheck​(boolean value)
      Parameters:
      value -