javax.rad.genui.celleditor
Class UIDateCellEditor

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<IDateCellEditor>
              extended by javax.rad.genui.celleditor.UIDateCellEditor
All Implemented Interfaces:
ICellEditor, IComboCellEditor, IDateCellEditor, IInplaceCellEditor, IStyledCellEditor, IAlignmentConstants, IResource

public class UIDateCellEditor
extends UIComboCellEditor<IDateCellEditor>
implements IDateCellEditor

Platform and technology independent date 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
  UIDateCellEditor()
          Creates a new instance of UIDateCellEditor.
protected UIDateCellEditor(IDateCellEditor pEditor)
          Creates a new instance of UIDateCellEditor with the given date cell editor.
  UIDateCellEditor(String pDateFormat)
          Creates a new instance of UIDateCellEditor with the given format.
 
Method Summary
 String getDateFormat()
          Gets the date format used for editing the date.
 void setDateFormat(String pDateFormat)
          Sets the date format used for editing the date.
 
Methods inherited from class javax.rad.genui.celleditor.UIComboCellEditor
isAutoOpenPopup, setAutoOpenPopup
 
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.IComboCellEditor
isAutoOpenPopup, setAutoOpenPopup
 
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

UIDateCellEditor

public UIDateCellEditor()
Creates a new instance of UIDateCellEditor.

See Also:
IDateCellEditor

UIDateCellEditor

protected UIDateCellEditor(IDateCellEditor pEditor)
Creates a new instance of UIDateCellEditor with the given date cell editor.

Parameters:
pEditor - the date cell editor
See Also:
IDateCellEditor

UIDateCellEditor

public UIDateCellEditor(String pDateFormat)
Creates a new instance of UIDateCellEditor with the given format.

Parameters:
pDateFormat - then DateFormat.
See Also:
IDateCellEditor
Method Detail

getDateFormat

public String getDateFormat()
Gets the date format used for editing the date.

Specified by:
getDateFormat in interface IDateCellEditor
Returns:
the date format

setDateFormat

public void setDateFormat(String pDateFormat)
Sets the date format used for editing the date.

Specified by:
setDateFormat in interface IDateCellEditor
Parameters:
pDateFormat - the date format


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.