Skip navigation links


com.essbase.eas.ui.ptree
Class PTreeNodeEditor

java.lang.Object
  extended by com.essbase.eas.ui.ptree.AbstractCellEditor
      extended by com.essbase.eas.ui.ptree.PTreeNodeEditor

All Implemented Interfaces:
javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor

public class PTreeNodeEditor
extends AbstractCellEditor

This defines the default cellEditorRenderer for a PTreeNode node of the properties tree. The return component is a editor based on the node type. Editatble nodes will fetch Renderers from their respective node types. Notes:

Version:
1.00, 10/13/2000
Author:
Namita Varma

Field Summary

 

Fields inherited from class com.essbase.eas.ui.ptree.AbstractCellEditor
changeEvent, clickCountToStart, listenerList, value

 

Constructor Summary
PTreeNodeEditor()
           

 

Method Summary
 void dispose()
           
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree, java.lang.Object value, boolean selected, boolean expanded, boolean leaf, int row)
           
 void setLastEditNode(java.lang.Object node)
           

 

Methods inherited from class com.essbase.eas.ui.ptree.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getClickCountToStart, getTableCellEditorComponent, isCellEditable, removeCellEditorListener, setCellEditorValue, setClickCountToStart, shouldSelectCell, stopCellEditing

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PTreeNodeEditor

public PTreeNodeEditor()

Method Detail

getTreeCellEditorComponent

public java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree,
                                                     java.lang.Object value,
                                                     boolean selected,
                                                     boolean expanded,
                                                     boolean leaf,
                                                     int row)
Specified by:
getTreeCellEditorComponent in interface javax.swing.tree.TreeCellEditor
Overrides:
getTreeCellEditorComponent in class AbstractCellEditor

getCellEditorValue

public java.lang.Object getCellEditorValue()
Specified by:
getCellEditorValue in interface javax.swing.CellEditor
Overrides:
getCellEditorValue in class AbstractCellEditor

setLastEditNode

public void setLastEditNode(java.lang.Object node)

dispose

public void dispose()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.