NWNDialogEditorInterface
Class MainWindow.EditWindow.TreeEditor
java.lang.Object
|
+--NWNDialogEditorInterface.MainWindow.EditWindow.TreeEditor
- All Implemented Interfaces:
- CellEditor, EventListener, KeyListener, TreeCellEditor
- Enclosing class:
- MainWindow.EditWindow
- protected class MainWindow.EditWindow.TreeEditor
- extends Object
- implements TreeCellEditor, KeyListener
15 juil. 2003
- Author:
- Alexandre Brunel
This class allows to edit a dialog tree.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MainWindow.EditWindow.TreeEditor
public MainWindow.EditWindow.TreeEditor()
- Constructs a TreeEditor object.
addCellEditorListener
public void addCellEditorListener(CellEditorListener l)
- Specified by:
addCellEditorListener
in interface CellEditor
cancelCellEditing
public void cancelCellEditing()
- Specified by:
cancelCellEditing
in interface CellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
getTreeCellEditorComponent
public Component getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
- Specified by:
getTreeCellEditorComponent
in interface TreeCellEditor
isCellEditable
public boolean isCellEditable(EventObject anEvent)
- Specified by:
isCellEditable
in interface CellEditor
keyPressed
public void keyPressed(KeyEvent e)
- Specified by:
keyPressed
in interface KeyListener
keyReleased
public void keyReleased(KeyEvent e)
- Specified by:
keyReleased
in interface KeyListener
keyTyped
public void keyTyped(KeyEvent e)
- Specified by:
keyTyped
in interface KeyListener
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener l)
- Specified by:
removeCellEditorListener
in interface CellEditor
shouldSelectCell
public boolean shouldSelectCell(EventObject anEvent)
- Specified by:
shouldSelectCell
in interface CellEditor
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interface CellEditor