public interface IlvWrappedEditor extends CellEditor
IlvWrappedEditor is a Swing CellEditor
that is implemented as a wrapper around the real editing
component. This interface should be implemented by all cell editors
where the component returned by
getTableCellEditorComponent() or
getTreeCellEditorComponent() is simply a container around
the component that is doing the actual editing. This interface is used
to support editing of a tree when it is used as a column in an
IlvJTable.
For example, the standard Swing DefaultTreeCellEditor is
implemented as a wrapped editor. IlvJTree.DefaultEditor
is a thin subclass that implements this interface, making it the
preferred basis for creating tree editors within the Gantt framework.
| Modifier and Type | Method and Description |
|---|---|
CellEditor |
getRealEditor()
Return the real editor that this editor is wrapping.
|
addCellEditorListener, cancelCellEditing, getCellEditorValue, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingCellEditor getRealEditor()
getRealEditor().getTableCellEditorComponent() or
getRealEditor().getTreeCellEditorComponent() should be
the actual editing component.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.