Class EditorPaletteColor

All Implemented Interfaces:
IPropDesigner, IPropUndoContext, EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable, IAdaptable

public class EditorPaletteColor extends PaletteColor implements IPropDesigner, IPropUndoContext
The palette color property container for the Designer: the data container of a paletteColor file under the module's style folder, edited by the color editor and shown in the palette tree editor and the color chooser.

A change to the color's values tells DesignerPalette so that the design views that show the palette block are refreshed.

Author:
Christopher Mindus
  • Constructor Details

    • EditorPaletteColor

      public EditorPaletteColor()
      Creates the palette color property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • EditorPaletteColor

      public EditorPaletteColor(Atom propertyAtom)
      Creates the palette color property container with the specified name.
      Parameters:
      propertyAtom - the name of the palette color, unique within its folder.
  • Method Details