public class XMLTreeTableCellEditor extends Object implements Serializable, TableCellEditor, TreeCellEditor
Modifier and Type | Field and Description |
---|---|
protected ChangeEvent |
changeEvent |
protected JComponent |
container |
protected JComponent |
editorComponent |
protected EventListenerList |
listenerList |
Constructor and Description |
---|
XMLTreeTableCellEditor() |
Modifier and Type | Method and Description |
---|---|
void |
addCellEditorListener(CellEditorListener l)
DOCUMENT ME!
|
void |
cancelCellEditing()
DOCUMENT ME!
|
protected void |
fireEditingCanceled()
DOCUMENT ME!
|
protected void |
fireEditingStopped()
DOCUMENT ME!
|
Object |
getCellEditorValue()
DOCUMENT ME!
|
Component |
getComponent()
DOCUMENT ME!
|
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row) |
boolean |
isCellEditable(EventObject anEvent)
DOCUMENT ME!
|
void |
removeCellEditorListener(CellEditorListener l)
DOCUMENT ME!
|
boolean |
shouldSelectCell(EventObject anEvent)
DOCUMENT ME!
|
boolean |
stopCellEditing()
DOCUMENT ME!
|
protected EventListenerList listenerList
protected transient ChangeEvent changeEvent
protected JComponent editorComponent
protected JComponent container
public Component getComponent()
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public boolean isCellEditable(EventObject anEvent)
isCellEditable
in interface CellEditor
anEvent
- DOCUMENT ME!public boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell
in interface CellEditor
anEvent
- DOCUMENT ME!public boolean stopCellEditing()
stopCellEditing
in interface CellEditor
public void cancelCellEditing()
cancelCellEditing
in interface CellEditor
public void addCellEditorListener(CellEditorListener l)
addCellEditorListener
in interface CellEditor
l
- DOCUMENT ME!public void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener
in interface CellEditor
l
- DOCUMENT ME!protected void fireEditingStopped()
protected void fireEditingCanceled()
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row)
getTreeCellEditorComponent
in interface TreeCellEditor
tree
- value
- isSelected
- expanded
- leaf
- row
- public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface TableCellEditor
table
- value
- isSelected
- row
- column
-