public class PaletteRoot extends PaletteContainer
PaletteEntry for the
palette model.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PALETTE_TYPE_ROOT
Type Identifier
|
children, PROPERTY_CHILDRENlisteners, PALETTE_TYPE_UNKNOWN, PERMISSION_FULL_MODIFICATION, PERMISSION_HIDE_ONLY, PERMISSION_LIMITED_MODIFICATION, PERMISSION_NO_MODIFICATION, PROPERTY_DEFAULT, PROPERTY_DESCRIPTION, PROPERTY_LABEL, PROPERTY_LARGE_ICON, PROPERTY_PARENT, PROPERTY_SMALL_ICON, PROPERTY_TYPE, PROPERTY_VISIBLE| Constructor and Description |
|---|
PaletteRoot()
Creates a new PaletteRoot.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsType(java.lang.Object type)
Returns true if this type can be a child of this container.
|
ToolEntry |
getDefaultEntry() |
void |
setDefaultEntry(ToolEntry entry)
Sets the default entry to the passed value.
|
java.lang.String |
toString() |
add, add, addAll, appendToSection, getChildren, moveDown, moveUp, remove, setChildrenaddPropertyChangeListener, getDescription, getId, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setId, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisiblepublic boolean acceptsType(java.lang.Object type)
PaletteContaineracceptsType in class PaletteContainertype - the type being requestedPaletteContainer.acceptsType(java.lang.Object)public ToolEntry getDefaultEntry()
public void setDefaultEntry(ToolEntry entry)
entry - the default entrypublic java.lang.String toString()
toString in class PaletteContainerObject.toString()Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.