public class IndexedNode extends AbstractNode
Node.Cookie, Node.Handle, Node.IndexedProperty<T,E>, Node.Property<T>, Node.PropertySet
displayFormat, systemActions
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_LEAF, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION
Modifier | Constructor and Description |
---|---|
|
IndexedNode()
Create an indexed node.
|
protected |
IndexedNode(Children children,
Index indexImpl)
Allows subclasses to provide their own children and
index handling.
|
protected |
IndexedNode(Children children,
Index indexImpl,
Lookup lookup)
Allows subclasses to provide their own children and
index handling as well as
Lookup . |
Modifier and Type | Method and Description |
---|---|
<T extends Node.Cookie> |
getCookie(Class<T> clazz)
Get a cookie.
|
Component |
getCustomizer()
Get the customizer.
|
boolean |
hasCustomizer()
Does this node have a customizer?
|
canCopy, canCut, canDestroy, canRename, clipboardCopy, clipboardCut, cloneNode, createActions, createPasteTypes, createSheet, drag, getActions, getCookieSet, getDefaultAction, getDropType, getHandle, getHelpCtx, getIcon, getNewTypes, getOpenedIcon, getPasteTypes, getPreferredAction, getPropertySets, getSheet, setCookieSet, setDefaultAction, setIconBase, setIconBaseWithExtension, setName, setSheet
addNodeListener, addPropertyChangeListener, clone, destroy, equals, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getActions, getChildren, getContextActions, getContextMenu, getHtmlDisplayName, getLookup, getParentNode, hashCode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, setChildren, setDisplayName, setHidden, setShortDescription, toString
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setExpert, setPreferred, setValue
public IndexedNode()
Index.ArrayChildren
to both
hold the children, and as an implementation of Index
.protected IndexedNode(Children children, Index indexImpl)
children
- the children implementationindexImpl
- the index implementationprotected IndexedNode(Children children, Index indexImpl, Lookup lookup)
Lookup
.children
- the children implementationindexImpl
- the index implementationlookup
- lookup the node shall usepublic boolean hasCustomizer()
AbstractNode
hasCustomizer
in class AbstractNode
false
public Component getCustomizer()
AbstractNode
getCustomizer
in class AbstractNode
null
in the default implementationpublic <T extends Node.Cookie> T getCookie(Class<T> clazz)
getCookie
in class AbstractNode
clazz
- representation classLookup