com.sibvisions.rad.ui.celleditor
Class AbstractDateCellEditor

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
              extended by com.sibvisions.rad.ui.celleditor.AbstractDateCellEditor
All Implemented Interfaces:
ICellEditor, IComboCellEditor, IDateCellEditor, IInplaceCellEditor, IStyledCellEditor, IAlignmentConstants
Direct Known Subclasses:
JVxDateCellEditor

public abstract class AbstractDateCellEditor
extends AbstractComboCellEditor
implements IDateCellEditor

The AbstractDateCellEditor is an IDateCellEditor implementation, which provides a base implementation.


Field Summary
protected  DateUtil dateUtil
          The date util.
 
Fields inherited from class com.sibvisions.rad.ui.celleditor.AbstractComboCellEditor
autoOpenPopup
 
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 AbstractDateCellEditor()
          Creates a new instance of AbstractDateCellEditor.
protected AbstractDateCellEditor(java.lang.String pInitialFormat)
          Creates a new instance of AbstractDateCellEditor.
 
Method Summary
 java.lang.String getDateFormat()
          Gets the date format used for editing the date.
 void setDateFormat(java.lang.String pDateFormat)
          Sets the date format used for editing the date.
 
Methods inherited from class com.sibvisions.rad.ui.celleditor.AbstractComboCellEditor
isAutoOpenPopup, isDirectCellEditor, setAutoOpenPopup
 
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.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
 

Field Detail

dateUtil

protected DateUtil dateUtil
The date util.

Constructor Detail

AbstractDateCellEditor

protected AbstractDateCellEditor()
Creates a new instance of AbstractDateCellEditor.


AbstractDateCellEditor

protected AbstractDateCellEditor(java.lang.String pInitialFormat)
Creates a new instance of AbstractDateCellEditor.

Parameters:
pInitialFormat - the initial format.
Method Detail

getDateFormat

public java.lang.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(java.lang.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.