org.rosuda.JGR.browser
Class HeadNode

java.lang.Object
  extended by org.rosuda.JGR.browser.HeadNode
All Implemented Interfaces:
javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode, BrowserNode

public class HeadNode
extends java.lang.Object
implements BrowserNode


Field Summary
protected  boolean expanded
           
 
Constructor Summary
HeadNode()
           
 
Method Summary
 void addChild(BrowserNode node)
           
 java.util.Enumeration children()
           
 void editObject()
           
 boolean equals(java.lang.Object obj)
           
 boolean getAllowsChildren()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildExecuteableRObjectName(BrowserNode child)
           
 java.lang.String getExecuteableRObjectName()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 javax.swing.tree.TreeNode getParent()
           
 javax.swing.JPopupMenu getPopupMenu()
           
 javax.swing.tree.TreeCellRenderer getRenderer()
           
 java.lang.String getRName()
           
 void insert(javax.swing.tree.MutableTreeNode child, int index)
           
 boolean isExpanded()
           
 boolean isLeaf()
           
 void remove(int index)
           
 void remove(javax.swing.tree.MutableTreeNode node)
           
 void removeChildObjectFromR(BrowserNode child)
           
 void removeFromParent()
           
 void setExpanded(boolean expand)
           
 void setParent(javax.swing.tree.MutableTreeNode arg0)
           
 void setShowSep(boolean show)
           
 void setUserObject(java.lang.Object arg0)
           
 void update(javax.swing.tree.DefaultTreeModel mod)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expanded

protected boolean expanded
Constructor Detail

HeadNode

public HeadNode()
Method Detail

children

public java.util.Enumeration children()
Specified by:
children in interface javax.swing.tree.TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

getChildAt

public javax.swing.tree.TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface javax.swing.tree.TreeNode

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Specified by:
getIndex in interface javax.swing.tree.TreeNode

getParent

public javax.swing.tree.TreeNode getParent()
Specified by:
getParent in interface javax.swing.tree.TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode

getExecuteableRObjectName

public java.lang.String getExecuteableRObjectName()
Specified by:
getExecuteableRObjectName in interface BrowserNode

getChildExecuteableRObjectName

public java.lang.String getChildExecuteableRObjectName(BrowserNode child)
Specified by:
getChildExecuteableRObjectName in interface BrowserNode

getRenderer

public javax.swing.tree.TreeCellRenderer getRenderer()
Specified by:
getRenderer in interface BrowserNode

getRName

public java.lang.String getRName()
Specified by:
getRName in interface BrowserNode

addChild

public void addChild(BrowserNode node)
Specified by:
addChild in interface BrowserNode

insert

public void insert(javax.swing.tree.MutableTreeNode child,
                   int index)
Specified by:
insert in interface javax.swing.tree.MutableTreeNode

remove

public void remove(int index)
Specified by:
remove in interface javax.swing.tree.MutableTreeNode

remove

public void remove(javax.swing.tree.MutableTreeNode node)
Specified by:
remove in interface javax.swing.tree.MutableTreeNode

removeFromParent

public void removeFromParent()
Specified by:
removeFromParent in interface javax.swing.tree.MutableTreeNode

setParent

public void setParent(javax.swing.tree.MutableTreeNode arg0)
Specified by:
setParent in interface javax.swing.tree.MutableTreeNode

setUserObject

public void setUserObject(java.lang.Object arg0)
Specified by:
setUserObject in interface javax.swing.tree.MutableTreeNode

isExpanded

public boolean isExpanded()
Specified by:
isExpanded in interface BrowserNode

setExpanded

public void setExpanded(boolean expand)
Specified by:
setExpanded in interface BrowserNode

update

public void update(javax.swing.tree.DefaultTreeModel mod)
Specified by:
update in interface BrowserNode

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface BrowserNode
Overrides:
equals in class java.lang.Object

getPopupMenu

public javax.swing.JPopupMenu getPopupMenu()
Specified by:
getPopupMenu in interface BrowserNode

editObject

public void editObject()
Specified by:
editObject in interface BrowserNode

removeChildObjectFromR

public void removeChildObjectFromR(BrowserNode child)
Specified by:
removeChildObjectFromR in interface BrowserNode

setShowSep

public void setShowSep(boolean show)
Specified by:
setShowSep in interface BrowserNode