Class JToolbarToggleButton

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

public class JToolbarToggleButton extends JToggleButton
This class represents the buttons used in toolbars.
See Also:
  • Constructor Details

    • JToolbarToggleButton

      public JToolbarToggleButton()
      Creates a new toolbar button.
    • JToolbarToggleButton

      public JToolbarToggleButton(String txt)
      Creates a new toolbar button.
      Parameters:
      txt - The button text.
  • Method Details

    • initialize

      protected void initialize()
      Initializes the button.