javax.rad.genui.celleditor
Class UIDateCellEditor

java.lang.Object
  extended by javax.rad.genui.celleditor.UICellEditor<IDateCellEditor>
      extended by javax.rad.genui.celleditor.UIDateCellEditor
All Implemented Interfaces:
ICellEditor, IDateCellEditor, IStyledCellEditor, IAlignmentConstants, IResource

public class UIDateCellEditor
extends UICellEditor<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 class javax.rad.genui.celleditor.UICellEditor
ceResource
 
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.
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.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.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

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.