Class PaletteSeparator


  • public class PaletteSeparator
    extends PaletteEntry
    A separator for the palette

    Separators can also be used as markers. Palettes that expect external code to add entries to it can use such markers to indicate where those new entries should be added. For this to happen, a separator must be uniquely identified. Unless a separator is not a marker, it is recommended that it be given a unique ID.
    • Field Detail

      • PALETTE_TYPE_SEPARATOR

        public static final java.lang.Object PALETTE_TYPE_SEPARATOR
        Type identifier
    • Constructor Detail

      • PaletteSeparator

        public PaletteSeparator()
        Creates a new PaletteSeparator with an empty string as its identifier.
      • PaletteSeparator

        public PaletteSeparator​(java.lang.String id)
        Constructor
        Parameters:
        id - This Separator's unique ID