Class JToolbarToggleButton

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

public class JToolbarToggleButton extends JToggleButton
This class represents the buttons used in toolbars.
Version:
$Id: JToolbarToggleButton.java 1733416 2016-03-03 07:07:13Z gadams $
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.