com.sibvisions.rad.ui.celleditor
Class AbstractComboCellEditor
java.lang.Object
com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor
com.sibvisions.rad.ui.celleditor.AbstractComboCellEditor
- All Implemented Interfaces:
- ICellEditor, IComboCellEditor, IInplaceCellEditor, IStyledCellEditor, IAlignmentConstants
- Direct Known Subclasses:
- AbstractDateCellEditor, AbstractLinkedCellEditor
public abstract class AbstractComboCellEditor
- extends AbstractInplaceCellEditor
- implements IComboCellEditor
The AbstractComboCellEditor
is an IComboCellEditor
implementation, which provides a base implementation.
Field Summary |
protected boolean |
autoOpenPopup
If the popup should open automatically. |
Method Summary |
boolean |
isAutoOpenPopup()
Gets true, if the popup is automatically opened. |
boolean |
isDirectCellEditor()
Defines, if the editor should edit directly in complex controls. |
void |
setAutoOpenPopup(boolean pAutoOpenPopup)
Gets true, if the popup is automatically opened. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
autoOpenPopup
protected boolean autoOpenPopup
- If the popup should open automatically.
AbstractComboCellEditor
protected AbstractComboCellEditor()
- Creates a new instance of
AbstractComboCellEditor
.
AbstractComboCellEditor
protected AbstractComboCellEditor(boolean pInitialAutoOpenPopup)
- Creates a new instance of
AbstractComboCellEditor
.
- Parameters:
pInitialAutoOpenPopup
- the initial auto open popup value.
isAutoOpenPopup
public boolean isAutoOpenPopup()
- Gets true, if the popup is automatically opened.
On focus lost the popup should be closed again.
- Specified by:
isAutoOpenPopup
in interface IComboCellEditor
- Returns:
- true, if the popup is automatically opened.
isDirectCellEditor
public boolean isDirectCellEditor()
- Defines, if the editor should edit directly in complex controls.
- Specified by:
isDirectCellEditor
in interface ICellEditor
- Overrides:
isDirectCellEditor
in class AbstractStyledCellEditor
- Returns:
- the
ICellEditorHandler
.
setAutoOpenPopup
public void setAutoOpenPopup(boolean pAutoOpenPopup)
- Gets true, if the popup is automatically opened.
On focus lost the popup should be closed again.
- Specified by:
setAutoOpenPopup
in interface IComboCellEditor
- Parameters:
pAutoOpenPopup
- true, if the popup is automatically opened.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.