public class PaletteToolbar extends PaletteContainer
PaletteEntry
objects that are uncollapsible .
The user modification level is set to
PaletteEntry.PERMISSION_NO_MODIFICATION
, meaning that the entries
cannot be reordered.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PALETTE_TYPE_TOOLBAR_GROUP
Type Identifier for a palette group that looks like a toolbar and only
supports icons mode.
|
children, PROPERTY_CHILDREN
listeners, 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 |
---|
PaletteToolbar(java.lang.String label)
Creates a new PaletteGroup with the given label
|
PaletteToolbar(java.lang.String label,
java.util.List children)
Creates a new PaletteGroup with the given label and list of
Palette Entries . |
acceptsType, add, add, addAll, appendToSection, getChildren, moveDown, moveUp, remove, setChildren, toString
addPropertyChangeListener, getDescription, getId, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setId, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible
public static final java.lang.String PALETTE_TYPE_TOOLBAR_GROUP
public PaletteToolbar(java.lang.String label)
label
- the labelpublic PaletteToolbar(java.lang.String label, java.util.List children)
Palette Entries
.label
- the labelchildren
- the list of PaletteEntry childrenCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.