Class UIButton.Action

All Implemented Interfaces:
UIContextActions, UIControlTarget, UIFocus, UIKeyFocus, UIMouseFocus, UITabFocus, UITriggerSource, UITriggerTarget, LXLoopTask
Direct Known Subclasses:
UIButton.Expander
Enclosing class:
UIButton

public static class UIButton.Action extends UIButton
  • Constructor Details

    • Action

      public Action(float w, float h)
    • Action

      public Action(float w, float h, String label)
    • Action

      public Action(float w, float h, VGraphics.Image icon)
    • Action

      public Action(float w, float h, VGraphics.Image icon, Runnable onClick)
    • Action

      public Action(float w, float h, String label, Runnable onClick)
    • Action

      public Action(float x, float y, float w, float h)
    • Action

      public Action(float x, float y, float w, float h, Runnable onClick)
    • Action

      public Action(float x, float y, float w, float h, String label)
    • Action

      public Action(float x, float y, float w, float h, String label, Runnable onClick)
  • Method Details

    • onClick

      protected void onClick()
      Description copied from class: UIButton
      Subclasses may override when a momentary button is clicked, and the click release happened within the bounds of the box
      Overrides:
      onClick in class UIButton