javax.rad.genui.celleditor
Class UIComboCellEditor<CE extends IComboCellEditor>

java.lang.Object
  extended by javax.rad.genui.celleditor.UICellEditor<CE>
      extended by javax.rad.genui.celleditor.UIInplaceCellEditor<CE>
          extended by javax.rad.genui.celleditor.UIComboCellEditor<CE>
Type Parameters:
CE - an instance of IComboBoxCellEditor.
All Implemented Interfaces:
ICellEditor, IComboCellEditor, IInplaceCellEditor, IStyledCellEditor, IAlignmentConstants, IResource
Direct Known Subclasses:
UIDateCellEditor, UILinkedCellEditor

public class UIComboCellEditor<CE extends IComboCellEditor>
extends UIInplaceCellEditor<CE>
implements IComboCellEditor

Platform and technology independent combo cell editor. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Field Summary
 
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_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Constructor Summary
protected UIComboCellEditor(CE pCEResource)
          Constructs a new UIComboCellEditor.
 
Method Summary
 boolean isAutoOpenPopup()
          Gets true, if the popup is automatically opened.
 void setAutoOpenPopup(boolean pAutoOpenPopup)
          Gets true, if the popup is automatically opened.
 
Methods inherited from class javax.rad.genui.celleditor.UIInplaceCellEditor
getPreferredEditorMode, setPreferredEditorMode
 
Methods inherited from class javax.rad.genui.celleditor.UICellEditor
createCellEditorHandler, getDefaultCellEditor, getHorizontalAlignment, getResource, getVerticalAlignment, isDirectCellEditor, setDefaultCellEditor, 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, isDirectCellEditor
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Constructor Detail

UIComboCellEditor

protected UIComboCellEditor(CE pCEResource)
Constructs a new UIComboCellEditor.

Parameters:
pCEResource - the CellEditor resource.
See Also:
IComboCellEditor
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.

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.