com.sibvisions.rad.ui.celleditor
Class AbstractComboCellEditor

java.lang.Object
  extended by com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
      extended by com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor
          extended by 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.
 
Fields inherited from class com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor
preferredEditorMode
 
Fields inherited from class com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
horizontalAlignment, verticalAlignment
 
Fields inherited from interface javax.rad.ui.celleditor.IInplaceCellEditor
DOUBLE_CLICK, SINGLE_CLICK
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Constructor Summary
protected AbstractComboCellEditor()
          Creates a new instance of AbstractComboCellEditor.
protected AbstractComboCellEditor(boolean pInitialAutoOpenPopup)
          Creates a new instance of AbstractComboCellEditor.
 
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 com.sibvisions.rad.ui.celleditor.AbstractInplaceCellEditor
getPreferredEditorMode, setPreferredEditorMode
 
Methods inherited from class com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.celleditor.IInplaceCellEditor
getPreferredEditorMode, setPreferredEditorMode
 
Methods inherited from interface javax.rad.model.ui.ICellEditor
createCellEditorHandler
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Field Detail

autoOpenPopup

protected boolean autoOpenPopup
If the popup should open automatically.

Constructor Detail

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.
Method Detail

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.