Class Button

All Implemented Interfaces:
Component, Container, Serializable, Cloneable

public class Button extends AbstractContainer
A HTML button element. <input type=button ..
See Also:
  • Constructor Details

    • Button

      public Button()
    • Button

      public Button(String label, String action)
      Standard constructor with label and action
      Parameters:
      label - the text on the button
      action - a javascript expression
    • Button

      public Button(String label, String action, boolean asInput)
    • Button

      public Button(Component value, String action)
    • Button

      public Button(String label, String action, String styleClass)
      Constructor with label, action and style.
      Parameters:
      label - the text on the button
      action - a javascript expression
      styleClass - the name of a CSS class
  • Method Details

    • setLabelStr

      public void setLabelStr(String label)
      sets the text on the button
      Parameters:
      label - - the text String
    • getLabelStr

      public String getLabelStr()