Package tethys.swing

Class TippedButton

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class TippedButton extends JButton
See Also:
  • Constructor Details Link icon

    • TippedButton Link icon

      public TippedButton(String text, String enabledTip)
      Create a button with standard tips which will be used for enabled state
      Parameters:
      text -
      enabledTip -
    • TippedButton Link icon

      public TippedButton(String text, String enabledTip, String disabledTip)
      Create a button with standard tips which will be used for enabled and disabled state
      Parameters:
      text -
      enabledTip -
      disabledTip -
  • Method Details Link icon

    • setEnabled Link icon

      public void setEnabled(boolean enable)
      Overrides:
      setEnabled in class AbstractButton
    • disable Link icon

      public void disable(String newTip)
    • getEnabledTip Link icon

      public String getEnabledTip()
      Returns:
      the enabledTip
    • setEnabledTip Link icon

      public void setEnabledTip(String enabledTip)
      Parameters:
      enabledTip - the enabledTip to set
    • getDisabledTip Link icon

      public String getDisabledTip()
      Returns:
      the disabledTip
    • setDisabledTip Link icon

      public void setDisabledTip(String disabledTip)
      Parameters:
      disabledTip - the disabledTip to set