|
org.openide.loaders 5.9.31 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.beans.FeatureDescriptor
org.openide.nodes.Node
org.openide.nodes.FilterNode
org.openide.loaders.DataShadow.ShadowNode
protected static class DataShadow.ShadowNode
Node for a shadow object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.openide.nodes.FilterNode |
|---|
FilterNode.Children, FilterNode.NodeAdapter, FilterNode.PropertyChangeAdapter |
| Nested classes/interfaces 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()
|
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)
|
| Methods inherited from class org.openide.nodes.FilterNode |
|---|
changeOriginal, createPropertyChangeListener, disableDelegation, enableDelegation, finalize, getActions, getActions, getContextActions, getCustomizer, getDefaultAction, getDropType, getHandle, getHelpCtx, 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 shadow| Method Detail |
|---|
public 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 FilterNode
public 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 Node.Cookie getCookie(Class cl)
getCookie in class FilterNodepublic Node.PropertySet[] getPropertySets()
getPropertySets in class FilterNodepublic Transferable clipboardCopy() throws IOException
clipboardCopy in class FilterNodeExTransferable.Single with one copy flavor
IOException - if it could not copyNodeTransferpublic Transferable clipboardCut() throws IOException
clipboardCut in class FilterNodeExTransferable.Single with one cut flavor
IOException - 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 FilterNode
|
org.openide.loaders 5.9.31 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||