public abstract class PaletteSection
extends java.lang.Object
Palette,
PalettePage,
PaletteGroup,
PaletteItem| Constructor and Description |
|---|
PaletteSection() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
boolean |
equals(java.lang.Object object) |
abstract java.lang.Object |
getData(java.lang.Object key)
Get data
|
abstract java.util.Collection<PaletteItem> |
getItems()
Get Palette Itemss
|
abstract java.lang.String |
getName()
Get display name.
|
int |
hashCode() |
boolean |
isEmpty() |
java.lang.String |
toString() |
public abstract java.lang.String getName()
public abstract java.util.Collection<PaletteItem> getItems()
public abstract java.lang.Object getData(java.lang.Object key)
Use to surface arbitrary additional data. This is used to identify the item to their clients without requiring clients to cast to a PaletteItem subclass.
For example, in XMLEF, use getData to get from a PaletteItem back to the identification of what type of element to create (XmlKey). XMLEF's PaletteItem instances will have this data.
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isEmpty()
public void dispose()
public java.lang.String toString()
toString in class java.lang.Object