Class Button

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

public class Button extends JButton
Class containing custom settings for JButtons.
See Also:
  • Constructor Details

    • Button

      public Button(String text)
      Constructor
      Parameters:
      text - The text of the button
    • Button

      public Button(String text, Color color)
      Constructor
      Parameters:
      text - The text of the button
      color - The background color of the button
    • Button

      public Button(String text, Dimension dimension)
      Constructor
      Parameters:
      text - The text of the button
      dimension - The dimension of the button
    • Button

      public Button(String text, Dimension dimension, Font font)
      Constructor
      Parameters:
      text - The text of the button
      dimension - The dimension of the button
      font - The font of the text in the button
    • Button

      public Button(String text, Dimension dimension, Font font, Color color)
      Constructor
      Parameters:
      text - The text of the button
      dimension - The dimension of the button
      font - The font of the text in the button
      color - The background color of the button