edu.udo.cs.yale.gui.operatortree
Class OperatorTreeCellEditor

java.lang.Object
  extended by javax.swing.tree.DefaultTreeCellEditor
      extended by edu.udo.cs.yale.gui.operatortree.OperatorTreeCellEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, javax.swing.CellEditor, javax.swing.event.TreeSelectionListener, javax.swing.tree.TreeCellEditor

public class OperatorTreeCellEditor
extends javax.swing.tree.DefaultTreeCellEditor

Editor for tree cells that displays a text field to change the operator name. This is used in the operator tree.

Version:
$Id: OperatorTreeCellEditor.java,v 2.8 2006/03/21 15:35:40 ingomierswa Exp $
Author:
Ingo Mierswa, Simon Fischer

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
OperatorTreeCellEditor(javax.swing.JTree tree)
           
 
Method Summary
 java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree, java.lang.Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
           
 
Methods inherited from class javax.swing.tree.DefaultTreeCellEditor
actionPerformed, addCellEditorListener, cancelCellEditing, canEditImmediately, createContainer, createTreeCellEditor, determineOffset, getBorderSelectionColor, getCellEditorListeners, getCellEditorValue, getFont, inHitRegion, isCellEditable, prepareForEditing, removeCellEditorListener, setBorderSelectionColor, setFont, setTree, shouldSelectCell, shouldStartEditingTimer, startEditingTimer, stopCellEditing, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorTreeCellEditor

public OperatorTreeCellEditor(javax.swing.JTree tree)
Method Detail

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


Copyright © 2001-2006