mondrian.gui
Class SchemaTreeCellEditor
java.lang.Object
javax.swing.tree.DefaultTreeCellEditor
mondrian.gui.SchemaTreeCellEditor
- All Implemented Interfaces:
- ActionListener, EventListener, CellEditor, TreeSelectionListener, TreeCellEditor
public class SchemaTreeCellEditor
- extends DefaultTreeCellEditor
- Author:
- sarora
-
-
Fields inherited from class javax.swing.tree.DefaultTreeCellEditor |
borderSelectionColor, canEdit, editingComponent, editingContainer, editingIcon, font, lastPath, lastRow, offset, realEditor, renderer, timer, tree |
Methods inherited from class javax.swing.tree.DefaultTreeCellEditor |
actionPerformed, cancelCellEditing, canEditImmediately, createContainer, createTreeCellEditor, determineOffset, getBorderSelectionColor, getCellEditorListeners, getFont, inHitRegion, prepareForEditing, setBorderSelectionColor, setFont, setTree, shouldSelectCell, shouldStartEditingTimer, startEditingTimer, valueChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listEditor
JComboBox listEditor
listeners
ArrayList listeners
SchemaTreeCellEditor
public SchemaTreeCellEditor(Workbench workbench,
JTree tree,
DefaultTreeCellRenderer renderer,
TreeCellEditor editor)
- Creates a new instance of SchemaTreeCellEditor
getTreeCellEditorComponent
public Component getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
- Specified by:
getTreeCellEditorComponent
in interface TreeCellEditor
- Overrides:
getTreeCellEditorComponent
in class DefaultTreeCellEditor
isCellEditable
public boolean isCellEditable(EventObject event)
- Specified by:
isCellEditable
in interface CellEditor
- Overrides:
isCellEditable
in class DefaultTreeCellEditor
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue
in interface CellEditor
- Overrides:
getCellEditorValue
in class DefaultTreeCellEditor
fireEditingStopped
protected void fireEditingStopped()
addCellEditorListener
public void addCellEditorListener(CellEditorListener l)
- Specified by:
addCellEditorListener
in interface CellEditor
- Overrides:
addCellEditorListener
in class DefaultTreeCellEditor
removeCellEditorListener
public void removeCellEditorListener(CellEditorListener l)
- Specified by:
removeCellEditorListener
in interface CellEditor
- Overrides:
removeCellEditorListener
in class DefaultTreeCellEditor
setValueAt
public void setValueAt(JTree tree)
stopCellEditing
public boolean stopCellEditing()
- Specified by:
stopCellEditing
in interface CellEditor
- Overrides:
stopCellEditing
in class DefaultTreeCellEditor