Skip navigation links


com.essbase.eas.essbase.ui.outline
Class ETreeEditor

java.lang.Object
  extended by javax.swing.tree.DefaultTreeCellEditor
      extended by com.essbase.eas.essbase.ui.outline.ETreeEditor

All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, javax.swing.CellEditor, javax.swing.event.TreeSelectionListener, javax.swing.tree.TreeCellEditor

public class ETreeEditor
extends javax.swing.tree.DefaultTreeCellEditor
Since:
6.5.1
Version:
7.0.0
Author:
Hank Cox

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.tree.DefaultTreeCellEditor
javax.swing.tree.DefaultTreeCellEditor.DefaultTextField, javax.swing.tree.DefaultTreeCellEditor.EditorContainer

 

Field Summary

 

Fields inherited from class javax.swing.tree.DefaultTreeCellEditor
borderSelectionColor, canEdit, editingComponent, editingContainer, editingIcon, font, lastPath, lastRow, offset, realEditor, renderer, timer, tree

 

Constructor Summary
ETreeEditor(ETree tree, javax.swing.tree.DefaultTreeCellRenderer renderer)
           

 

Method Summary
 java.lang.Object getCellEditorValue()
           
 Member getCurrentMember()
           
 OutlineTreeNode getCurrentNode()
           
 java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
           
 java.lang.String getUpdatedTextValue()
           
 boolean isCellEditable(java.util.EventObject event)
           
 void release()
           
 void setFont(java.awt.Font font)
           
 boolean shouldSelectCell(java.util.EventObject event)
           

 

Methods inherited from class javax.swing.tree.DefaultTreeCellEditor
actionPerformed, addCellEditorListener, cancelCellEditing, canEditImmediately, createContainer, createTreeCellEditor, determineOffset, getBorderSelectionColor, getCellEditorListeners, getFont, inHitRegion, prepareForEditing, removeCellEditorListener, setBorderSelectionColor, setTree, shouldStartEditingTimer, startEditingTimer, stopCellEditing, valueChanged

 

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

 

Constructor Detail

ETreeEditor

public ETreeEditor(ETree tree,
                   javax.swing.tree.DefaultTreeCellRenderer renderer)

Method Detail

getCurrentNode

public OutlineTreeNode getCurrentNode()

getCurrentMember

public Member getCurrentMember()

getUpdatedTextValue

public java.lang.String getUpdatedTextValue()

getTreeCellEditorComponent

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

isCellEditable

public boolean isCellEditable(java.util.EventObject event)
Specified by:
isCellEditable in interface javax.swing.CellEditor
Overrides:
isCellEditable in class javax.swing.tree.DefaultTreeCellEditor

shouldSelectCell

public boolean shouldSelectCell(java.util.EventObject event)
Specified by:
shouldSelectCell in interface javax.swing.CellEditor
Overrides:
shouldSelectCell in class javax.swing.tree.DefaultTreeCellEditor

getCellEditorValue

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

setFont

public void setFont(java.awt.Font font)
Overrides:
setFont in class javax.swing.tree.DefaultTreeCellEditor

release

public void release()

Skip navigation links


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