Class GhostToggleButton

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

public class GhostToggleButton extends JToggleButton
The GhostToggleButton class is a button that displays a "ghostly" looking version of a standard button icon for use in full screen mode toolbar menus. The icon is modified so that it appears in grayscale and inverted.
Since:
3.2.2
Author:
Peter Hollemans
See Also:
  • Constructor Details

    • GhostToggleButton

      public GhostToggleButton(String text, Icon icon)
      Creates a new button using an icon and text.
      Parameters:
      text - the button text label.
      icon - the button icon.
  • Method Details