Module jEdit

Class ColorWellButton

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

public class ColorWellButton extends JButton
A button that, when clicked, shows a color chooser. You can get and set the currently selected color using getSelectedColor() and setSelectedColor(Color).
Version:
$Id: ColorWellButton.java 24411 2016-06-19 11:02:53Z kerik-sf $
Author:
Slava Pestov
See Also:
  • Constructor Details

    • ColorWellButton

      public ColorWellButton(Color color)
  • Method Details

    • getSelectedColor

      public Color getSelectedColor()
    • setSelectedColor

      public void setSelectedColor(Color color)