Class GhidraColorChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class GhidraColorChooser extends JColorChooser
See Also:
  • Constructor Details

    • GhidraColorChooser

      public GhidraColorChooser()
    • GhidraColorChooser

      public GhidraColorChooser(Color initialColor)
  • Method Details

    • setUI

      public void setUI(ColorChooserUI ui)
      Overrides:
      setUI in class JColorChooser
    • setTitle

      public void setTitle(String title)
    • addColorToHistory

      public void addColorToHistory(Color c)
    • setColorHistory

      public void setColorHistory(List<Color> colors)
    • getColorHistory

      public List<Color> getColorHistory()
    • setRecentColors

      public void setRecentColors(List<Color> colors)
    • getRecentColors

      public List<Color> getRecentColors()
    • setActiveTab

      public void setActiveTab(String tabName)
      Sets the active tab of this chooser to be the given tab name, if it exists (the color chooser UI may be different, depending upon the current Look and Feel)
      Parameters:
      tabName - the tab name
    • getActiveTab

      public String getActiveTab()
    • showDialog

      public Color showDialog(Component centerOverComponent)