| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | 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.
| Inner classes inherited from class org.openide.nodes.FilterNode | 
FilterNode.Children, FilterNode.NodeAdapter, FilterNode.PropertyChangeAdapter | 
| Inner classes inherited from class org.openide.nodes.Node | 
Node.Cookie, Node.Handle, Node.IndexedProperty, Node.Property, Node.PropertySet | 
| 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_SET_DISPLAY_NAME, DELEGATE_SET_NAME, DELEGATE_SET_SHORT_DESCRIPTION | 
| Fields inherited from class org.openide.nodes.Node | 
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, 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()
Test whether this node permits copying.  | 
 boolean | 
canCut()
Test whether this node permits cutting.  | 
 boolean | 
canDestroy()
Test whether this node can be deleted.  | 
 boolean | 
canRename()
Test whether this node can be renamed.  | 
 Transferable | 
clipboardCopy()
Copy this node to the clipboard.  | 
 Transferable | 
clipboardCut()
Cut this node to the clipboard.  | 
 Node | 
cloneNode()
Create new filter node for the original.  | 
protected  NodeListener | 
createNodeListener()
Creates a node listener that allows listening on the original node and propagating events to the proxy.  | 
 void | 
destroy()
Remove the node from its parent and deletes it.  | 
 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)
Get a cookie for this node.  | 
 String | 
getDisplayName()
 | 
 Image | 
getIcon(int type)
Find an icon for this node (in the closed state).  | 
 String | 
getName()
The name of the shadow.  | 
 Image | 
getOpenedIcon(int type)
Find an icon for this node (in the open state).  | 
 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)
Set the system name.  | 
| Methods inherited from class org.openide.nodes.FilterNode | 
changeOriginal, createPropertyChangeListener, disableDelegation, enableDelegation, finalize, getActions, getContextActions, getCustomizer, getDefaultAction, getDropType, getHandle, getHelpCtx, getNewTypes, getOriginal, getPasteTypes, hasCustomizer, setDisplayName, setShortDescription | 
| Methods inherited from class org.openide.nodes.Node | 
addNodeListener, addPropertyChangeListener, clone, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getChildren, getContextMenu, getParentNode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, toString | 
| Methods inherited from class java.beans.FeatureDescriptor | 
attributeNames, getValue, isExpert, isHidden, isPreferred, setExpert, setHidden, setPreferred, setValue | 
| 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()
FilterNodecloneNode in class FilterNodeorg.openide.nodes.FilterNodepublic void setName(String name)
NodesetName in class FilterNodeorg.openide.nodes.Nodes - the new nameIllegalArgumentException - if the new name cannot represent
    a valid node namepublic String getName()
getName in class FilterNodepublic String getDisplayName()
getDisplayName in class FilterNodepublic String getShortDescription()
getShortDescription in class FilterNodepublic Image getIcon(int type)
NodegetIcon in class FilterNodeorg.openide.nodes.Nodetype - constant from BeanInfopublic Image getOpenedIcon(int type)
NodegetOpenedIcon in class FilterNodeorg.openide.nodes.Nodetype - constant from BeanInfopublic boolean canDestroy()
NodecanDestroy in class FilterNodeorg.openide.nodes.Nodetrue if can
public void destroy()
             throws IOException
Nodechildren's lock, and removes
 the node from its parent (if any). Also fires a property change.
 This may be overridden by subclasses to do any additional cleanup.
destroy in class FilterNodeorg.openide.nodes.NodeIOException - if something failspublic final boolean canRename()
NodeFeatureDescriptor.getName() to obtain the current name and
 Node.setName(java.lang.String) to change it.canRename in class FilterNodepublic final boolean canCopy()
NodecanCopy in class FilterNodeorg.openide.nodes.Nodetrue if sopublic final boolean canCut()
NodecanCut in class FilterNodeorg.openide.nodes.Nodetrue if sopublic Node.Cookie getCookie(Class cl)
Node
 The set of cookies can change. If a node changes its set of
 cookies, it fires a property change event with Node.PROP_COOKIE.
getCookie in class FilterNodeorg.openide.nodes.Nodetype - the representation class of the cookienull if this node has no such cookiepublic Node.PropertySet[] getPropertySets()
getPropertySets in class FilterNode
public Transferable clipboardCopy()
                           throws IOException
clipboardCopy in class FilterNodeExTransferable.Single with one copy flavorIOException - if it could not copyNodeTransfer
public Transferable clipboardCut()
                          throws IOException
clipboardCut in class FilterNodeExTransferable.Single with one cut flavorIOException - if it could not cutNodeTransfer
public 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 FilterNodeorg.openide.nodes.FilterNodeo - something to compare to, presumably a node or FilterNode of onepublic int hashCode()
hashCode in class FilterNodeorg.openide.nodes.FilterNode
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||