|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.FeatureDescriptor org.openide.nodes.Node org.openide.nodes.FilterNode org.openide.loaders.DataShadow.ShadowNode
Node for a shadow object.
Nested Class Summary |
Nested classes inherited from class org.openide.nodes.FilterNode |
FilterNode.Children, FilterNode.NodeAdapter, FilterNode.PropertyChangeAdapter |
Nested classes inherited from class org.openide.nodes.Node |
Node.Cookie, Node.Handle, Node.IndexedProperty, Node.Property, Node.PropertySet |
Field Summary |
Fields inherited from class org.openide.nodes.FilterNode |
DELEGATE_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_VALUE |
Fields inherited from class org.openide.nodes.Node |
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_LEAF, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION |
Constructor Summary | |
DataShadow.ShadowNode(DataShadow shadow)
Create a shadowing node. |
Method Summary | |
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. |
Node.Cookie |
getCookie(Class cl)
|
String |
getDisplayName()
|
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)
|
Methods inherited from class org.openide.nodes.FilterNode |
changeOriginal, createPropertyChangeListener, disableDelegation, enableDelegation, finalize, getActions, getActions, getContextActions, getCustomizer, getDefaultAction, getDropType, getHandle, getHelpCtx, getHtmlDisplayName, getNewTypes, getOriginal, getPasteTypes, getPreferredAction, getValue, hasCustomizer, setDisplayName, setShortDescription, setValue |
Methods inherited from class org.openide.nodes.Node |
addNodeListener, addPropertyChangeListener, clone, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getChildren, getContextMenu, getLookup, getParentNode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, setChildren, toString |
Methods inherited from class java.beans.FeatureDescriptor |
attributeNames, isExpert, isHidden, isPreferred, setExpert, setHidden, setPreferred |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataShadow.ShadowNode(DataShadow shadow)
shadow
- the shadowMethod Detail |
public Node cloneNode()
public void setName(String name)
public String getName()
public String getDisplayName()
public String getShortDescription()
public Image getIcon(int type)
public Image getOpenedIcon(int type)
public boolean canDestroy()
public void destroy() throws IOException
IOException
public final boolean canRename()
public final boolean canCopy()
public final boolean canCut()
public Node.Cookie getCookie(Class cl)
public Node.PropertySet[] getPropertySets()
public Transferable clipboardCopy() throws IOException
ExTransferable.Single
with one copy flavor
IOException
- if it could not copyNodeTransfer
public Transferable clipboardCut() throws IOException
ExTransferable.Single
with one cut flavor
IOException
- if it could not cutNodeTransfer
public Transferable drag() throws IOException
IOException
- when the
cut cannot be performedprotected NodeListener createNodeListener()
Intended for overriding by subclasses, as with FilterNode.createPropertyChangeListener()
.
FilterNode.NodeAdapter
in the default implementationpublic boolean equals(Object o)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |