Class Button

java.lang.Object
gnu.kawa.models.Model
gnu.kawa.models.Button
All Implemented Interfaces:
Viewable
Direct Known Subclasses:
MenuItem

public class Button extends Model
A model (data) for a clickable button.
  • Constructor Details

    • Button

      public Button()
  • Method Details

    • makeView

      public void makeView(Display display, Object where)
    • isDisabled

      public boolean isDisabled()
    • setDisabled

      public void setDisabled(boolean disabled)
    • getText

      public String getText()
    • setText

      public void setText(String text)
    • getAction

      public Object getAction()
    • setAction

      public void setAction(Object action)
    • getForeground

      public Color getForeground()
    • setForeground

      public void setForeground(Color fg)
    • getBackground

      public Color getBackground()
    • setBackground

      public void setBackground(Color bg)