ca.odell.glazedlists.swing
Interface TreeTableNodeDataEditor

All Superinterfaces:
CellEditor, TableCellEditor
All Known Implementing Classes:
AbstractTreeTableNodeDataEditor

public interface TreeTableNodeDataEditor
extends TableCellEditor

This interface extends the notion of a normal TableCellEditor to one that is more appropriate for editing the data portion of a TreeTableCellEditor. This is an interface that should only be implemented if editing the data portion of a tree cell requires knowledge about the tree node's hierarchical information.


Method Summary
 void setTreeNodeData(TreeNodeData treeNodeData)
          This method will be called before TableCellEditor.getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int) in order to provide hierarchy information about the tree node being edited.
 
Methods inherited from interface javax.swing.table.TableCellEditor
getTableCellEditorComponent
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Method Detail

setTreeNodeData

void setTreeNodeData(TreeNodeData treeNodeData)
This method will be called before TableCellEditor.getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int) in order to provide hierarchy information about the tree node being edited. Implementations should store a reference to the given treeNodeData and use it when producing an editor component.

Parameters:
treeNodeData - an object describing hierarchical information about the tree node being edited


Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by hbrands at 2015-02-16 14:02