Interface PaletteItemGroup

All Superinterfaces:
ListModel
All Known Implementing Classes:
CustomPaletteItemGroup, DefaultPaletteItemGroup

public interface PaletteItemGroup extends ListModel
  • Method Details

    • addPropertyChangeListener

      void addPropertyChangeListener(PropertyChangeListener listener)
    • addPropertyChangeListener

      void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
    • removePropertyChangeListener

      void removePropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
    • getPaletteItem

      PaletteItem getPaletteItem(int index)
      Return the palette item contained at position index
    • addPaletteItem

      void addPaletteItem(PaletteItem item)
      Adds a new palette item into the group
    • setPaletteItem

      void setPaletteItem(int index, PaletteItem item)
      Sets the palette item at the index. (Overwrites the item, not insert)
    • insertPaletteItem

      void insertPaletteItem(int index, PaletteItem item)
      Inserts the item at the given position, moving what is currently at that position to the right
    • removePaletteItem

      void removePaletteItem(PaletteItem item)
      Removes the palette item at the given index.
    • getName

      String getName()
      Returns the name of this palette item group
    • setName

      void setName(String name)
      Sets the name of this palette item group
    • getIcon

      Icon getIcon()
      Get the icon for this palette item group. null is allowed.
    • isMutable

      boolean isMutable()
      Returns true if this PaletteItemGroup can be changed. Only custom palettes are mutable.
    • isEnabled

      boolean isEnabled()
    • setEnabled

      void setEnabled(boolean enabled)