org.das2.components.propertyeditor
Class PeerPropertyTreeNode

java.lang.Object
  extended by org.das2.components.propertyeditor.PeerPropertyTreeNode
All Implemented Interfaces:
javax.swing.tree.TreeNode, PropertyTreeNodeInterface, TreeTableNode

public class PeerPropertyTreeNode
extends java.lang.Object
implements PropertyTreeNodeInterface


Constructor Summary
PeerPropertyTreeNode(PeerPropertyTreeNode parent, org.das2.components.propertyeditor.PropertyTreeNode leader, org.das2.components.propertyeditor.PropertyTreeNode[] peers)
           
 
Method Summary
 java.util.Enumeration children()
           
 void flush()
           
 boolean getAllowsChildren()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int columnIndex)
           
 java.lang.Object getDisplayValue()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 javax.swing.tree.TreeNode getParent()
           
 java.beans.PropertyDescriptor getPropertyDescriptor()
           
 java.lang.Object getValue()
           
 java.lang.Object getValueAt(int column)
           
 boolean isCellEditable(int column)
           
 boolean isDirty()
           
 boolean isLeaf()
           
 void refresh()
           
 void setTreeModel(javax.swing.tree.DefaultTreeModel treeModel)
           
 void setValue(java.lang.Object value)
           
 void setValueAt(java.lang.Object value, int column)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeerPropertyTreeNode

public PeerPropertyTreeNode(PeerPropertyTreeNode parent,
                            org.das2.components.propertyeditor.PropertyTreeNode leader,
                            org.das2.components.propertyeditor.PropertyTreeNode[] peers)
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

getColumnClass

public java.lang.Class getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TreeTableNode

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TreeTableNode

getColumnName

public java.lang.String getColumnName(int columnIndex)
Specified by:
getColumnName in interface TreeTableNode

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

getValueAt

public java.lang.Object getValueAt(int column)
Specified by:
getValueAt in interface TreeTableNode

isCellEditable

public boolean isCellEditable(int column)
Specified by:
isCellEditable in interface TreeTableNode

isDirty

public boolean isDirty()
Specified by:
isDirty in interface PropertyTreeNodeInterface

isLeaf

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

refresh

public void refresh()
Specified by:
refresh in interface PropertyTreeNodeInterface

setValueAt

public void setValueAt(java.lang.Object value,
                       int column)
Specified by:
setValueAt in interface TreeTableNode

setTreeModel

public void setTreeModel(javax.swing.tree.DefaultTreeModel treeModel)
Specified by:
setTreeModel in interface PropertyTreeNodeInterface

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface PropertyTreeNodeInterface

getDisplayValue

public java.lang.Object getDisplayValue()
Specified by:
getDisplayValue in interface PropertyTreeNodeInterface

flush

public void flush()
Specified by:
flush in interface PropertyTreeNodeInterface

getPropertyDescriptor

public java.beans.PropertyDescriptor getPropertyDescriptor()
Specified by:
getPropertyDescriptor in interface PropertyTreeNodeInterface

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface PropertyTreeNodeInterface