|
org.openide.loaders 5.9.22 | |||||||||
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
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 shadowMethod Detail |
---|
public Node cloneNode()
cloneNode
in class FilterNode
public void setName(String name)
setName
in class FilterNode
public String getName()
getName
in class FilterNode
public String getDisplayName()
getDisplayName
in class FilterNode
public String getHtmlDisplayName()
getHtmlDisplayName
in class FilterNode
public String getShortDescription()
getShortDescription
in class FilterNode
public Image getIcon(int type)
getIcon
in class FilterNode
public Image getOpenedIcon(int type)
getOpenedIcon
in class FilterNode
public boolean canDestroy()
canDestroy
in class FilterNode
public void destroy() throws IOException
destroy
in class FilterNode
IOException
public final boolean canRename()
canRename
in class FilterNode
public final boolean canCopy()
canCopy
in class FilterNode
public final boolean canCut()
canCut
in class FilterNode
public Node.Cookie getCookie(Class cl)
getCookie
in class FilterNode
public Node.PropertySet[] getPropertySets()
getPropertySets
in class FilterNode
public Transferable clipboardCopy() throws IOException
clipboardCopy
in class FilterNode
ExTransferable.Single
with one copy flavor
IOException
- if it could not copyNodeTransfer
public Transferable clipboardCut() throws IOException
clipboardCut
in class FilterNode
ExTransferable.Single
with one cut flavor
IOException
- if it could not cutNodeTransfer
public Transferable drag() throws IOException
drag
in class FilterNode
IOException
- when the
cut cannot be performedprotected NodeListener createNodeListener()
Intended for overriding by subclasses, as with FilterNode.createPropertyChangeListener()
.
createNodeListener
in class FilterNode
FilterNode.NodeAdapter
in the default implementationpublic boolean equals(Object o)
equals
in class FilterNode
public int hashCode()
hashCode
in class FilterNode
|
org.openide.loaders 5.9.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |