protected static class DataShadow.ShadowNode extends FilterNode
FilterNode.Children, FilterNode.NodeAdapter, FilterNode.PropertyChangeAdapterNode.Cookie, Node.Handle, Node.IndexedProperty<T,E>, Node.Property<T>, Node.PropertySetDELEGATE_DESTROY, DELEGATE_GET_ACTIONS, DELEGATE_GET_CONTEXT_ACTIONS, DELEGATE_GET_DISPLAY_NAME, DELEGATE_GET_NAME, DELEGATE_GET_SHORT_DESCRIPTION, DELEGATE_GET_VALUE, DELEGATE_SET_DISPLAY_NAME, DELEGATE_SET_NAME, DELEGATE_SET_SHORT_DESCRIPTION, DELEGATE_SET_VALUEEMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_LEAF, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION| Constructor and Description |
|---|
ShadowNode(DataShadow shadow)
Create a shadowing node.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCopy() |
boolean |
canCut() |
boolean |
canDestroy() |
boolean |
canRename() |
Transferable |
clipboardCopy()
Copy this node to the clipboard.
|
Transferable |
clipboardCut()
Cut this node to the clipboard.
|
Node |
cloneNode() |
protected NodeListener |
createNodeListener()
Creates a node listener that allows listening on the
original node and propagating events to the proxy.
|
void |
destroy() |
Transferable |
drag()
This implementation only calls clipboardCopy supposing that
copy to clipboard and copy by d'n'd are similar.
|
boolean |
equals(Object o)
Equal if the o is ShadowNode to the same shadow object.
|
<T extends Node.Cookie> |
getCookie(Class<T> cl) |
String |
getDisplayName() |
String |
getHtmlDisplayName() |
Image |
getIcon(int type) |
String |
getName()
The name of the shadow.
|
Image |
getOpenedIcon(int type) |
Node.PropertySet[] |
getPropertySets()
Returns modified properties of the original node.
|
String |
getShortDescription() |
int |
hashCode()
Hashcode is computed by the represented shadow.
|
void |
setName(String name) |
changeOriginal, createPropertyChangeListener, disableDelegation, enableDelegation, finalize, getActions, getActions, getContextActions, getCustomizer, getDefaultAction, getDropType, getHandle, getHelpCtx, getNewTypes, getOriginal, getPasteTypes, getPreferredAction, getValue, hasCustomizer, setDisplayName, setShortDescription, setValueaddNodeListener, addPropertyChangeListener, clone, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getChildren, getContextMenu, getLookup, getParentNode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, setChildren, setHidden, toStringattributeNames, isExpert, isHidden, isPreferred, setExpert, setPreferredpublic ShadowNode(DataShadow shadow)
shadow - the shadowpublic Node cloneNode()
cloneNode in class FilterNodepublic void setName(String name)
setName in class FilterNodepublic String getName()
getName in class FilterNodepublic String getDisplayName()
getDisplayName in class FilterNodepublic String getHtmlDisplayName()
getHtmlDisplayName in class FilterNodepublic String getShortDescription()
getShortDescription in class FilterNodepublic Image getIcon(int type)
getIcon in class FilterNodepublic Image getOpenedIcon(int type)
getOpenedIcon in class FilterNodepublic boolean canDestroy()
canDestroy in class FilterNodepublic void destroy()
throws IOException
destroy in class FilterNodeIOExceptionpublic final boolean canRename()
canRename in class FilterNodepublic final boolean canCopy()
canCopy in class FilterNodepublic final boolean canCut()
canCut in class FilterNodepublic <T extends Node.Cookie> T getCookie(Class<T> cl)
getCookie in class FilterNodepublic Node.PropertySet[] getPropertySets()
getPropertySets in class FilterNodepublic Transferable clipboardCopy() throws IOException
clipboardCopy in class FilterNodeExTransferable.Single with one copy flavorIOException - if it could not copyNodeTransferpublic Transferable clipboardCut() throws IOException
clipboardCut in class FilterNodeExTransferable.Single with one cut flavorIOException - if it could not cutNodeTransferpublic Transferable drag() throws IOException
drag in class FilterNodeIOException - when the
cut cannot be performedprotected NodeListener createNodeListener()
Intended for overriding by subclasses, as with FilterNode.createPropertyChangeListener().
createNodeListener in class FilterNodeFilterNode.NodeAdapter in the default implementationpublic boolean equals(Object o)
equals in class FilterNodepublic int hashCode()
hashCode in class FilterNodeBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.