Modifier and Type | Class and Description |
---|---|
static class |
PaletteCategory.AllCategories
This bean is used to represent the top level of all categories in the hierarchy component
|
static class |
PaletteCategory.Descriptor
A descriptive object that can be used by the UI
|
DEFAULT_BUFFER_SIZE
Constructor and Description |
---|
PaletteCategory() |
PaletteCategory(PaletteCategory pc)
Copy constructor; note that the nested Palette and SubCategories are not copied.
|
Modifier and Type | Method and Description |
---|---|
Palette[] |
getPalettes()
Returns the palettes contained within this palette category
|
java.lang.Long |
getParent()
Returns the parent palette category of this palette category
|
PaletteCategory[] |
getSubCategories()
Returns the subcategories of this palette category
|
boolean |
isEnabled() |
void |
removePalettes(java.util.List<Palette> palettesToRemove)
Removes the given palettes
|
void |
setEnabled(boolean enabled) |
void |
setPalettes(Palette[] palettes)
Sets the palette contained within the palette category
|
void |
setParent(java.lang.Long parent_)
Sets the parent category of this palette category
|
void |
setSubCategories(PaletteCategory[] pc_)
Sets the subcategories of this palette category
|
java.lang.String |
toXML()
Not yet implemented
|
void |
toXML(java.lang.StringBuffer buffer_)
Appends an XML representation of this object (including all
child objects) to the given buffer.
|
void |
toXML(java.lang.StringBuilder buffer_)
Not yet implemented
|
public PaletteCategory()
public PaletteCategory(PaletteCategory pc)
pc
- the PaletteCategory
on which to base this PaletteCategory
public boolean isEnabled()
public void setEnabled(boolean enabled)
public java.lang.Long getParent()
null
if this category has no parentpublic void setParent(java.lang.Long parent_)
parent_
- the id of this parent categorypublic Palette[] getPalettes()
Array
of the Palette
s contained within this palette categorypublic void setPalettes(Palette[] palettes)
p_
- an Array
of the Palette
s to be contained within this palette
categorypublic void removePalettes(java.util.List<Palette> palettesToRemove)
palettesToRemove
- the list of Palette
s to remove from this categorypublic PaletteCategory[] getSubCategories()
Array
of the PaletteCategory
s that are subcategories of
this palette categorypublic void setSubCategories(PaletteCategory[] pc_)
pc_
- an Array
of the PaletteCategory
s to make subcategories of
this palette categorypublic java.lang.String toXML()
public void toXML(java.lang.StringBuilder buffer_)
public void toXML(java.lang.StringBuffer buffer_)
XMLable
Copyright © 2003-2022 Appian Corporation. All Rights Reserved.