Class BorderlessButton

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

public class BorderlessButton extends JButton
See Also:
  • Constructor Details

    • BorderlessButton

      public BorderlessButton()
      Creates a button with no set text or icon.
    • BorderlessButton

      public BorderlessButton(Icon icon)
      Creates a button with an icon.
      Parameters:
      icon - the Icon image to display on the button
    • BorderlessButton

      public BorderlessButton(String text)
      Creates a button with text.
      Parameters:
      text - the text of the button
    • BorderlessButton

      public BorderlessButton(Action a)
      Creates a button where properties are taken from the Action supplied.
      Parameters:
      a - the Action used to specify the new button
      Since:
      1.3
    • BorderlessButton

      public BorderlessButton(String text, Icon icon)
      Creates a button with initial text and an icon.
      Parameters:
      text - the text of the button
      icon - the Icon image to display on the button
  • Method Details

    • isUpdateContentAreaFilled

      public boolean isUpdateContentAreaFilled()
    • setUpdateContentAreaFilled

      public void setUpdateContentAreaFilled(boolean updateContentAreaFilled)
    • init

      protected void init()