Class PaletteChooserPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class PaletteChooserPanel
extends JPanel
A component for choosing a palette from a list of available palettes.
Author:
David M. O'Donnell.
See Also:
Serialized Form
  • Constructor Details

    • PaletteChooserPanel

      public PaletteChooserPanel​(PaletteSample current, PaletteSample[] available)
      Constructor.
      Parameters:
      current - the current palette sample.
      available - an array of 'available' palette samples.
  • Method Details

    • getSelectedPalette

      public ColorPalette getSelectedPalette()
      Returns the selected palette.
      Returns:
      The selected palette.