Module Limelight::Builtin::Players::CheckBox
In: lib/limelight/builtin/players/check_box.rb

A Builtin Player that adds the look and behavior of a native check box. It may be applied in the PropBuilder DSL like so:

  my_check_box :players => "check_box"

Props including this Player may implement the button_pressed hook.

  def button_pressed(e)
    # do something

Props including this Player may implement any of the key and focus event hooks:

  key_pressed, key_typed, key_released, focus_gained, focus_lost


checked   checked=   checked?  

Public Instance methods

Returns true if the check box is checked.


    # File lib/limelight/builtin/players/check_box.rb, line 42
42:         def checked
43:           return check_box.selected?
44:         end

Will place or remove a check mark in the check box.


    # File lib/limelight/builtin/players/check_box.rb, line 36
36:         def checked=(value)
37:           check_box.selected = value
38:         end

Alias for checked