Class CDateTimeCellEditor
- java.lang.Object
-
- org.eclipse.jface.viewers.CellEditor
-
- org.eclipse.nebula.jface.cdatetime.CDateTimeCellEditor
-
public class CDateTimeCellEditor extends org.eclipse.jface.viewers.CellEditor
-
-
Constructor Summary
Constructors Constructor Description CDateTimeCellEditor(org.eclipse.swt.widgets.Composite parent)
Creates a new date/time cell editor parented under the given control.CDateTimeCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
Creates a new date/time cell editor parented under the given control.CDateTimeCellEditor(org.eclipse.swt.widgets.Composite parent, java.lang.String pattern)
Creates a new date/time cell editor parented under the given control.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.Control
createControl(org.eclipse.swt.widgets.Composite parent)
protected java.lang.Object
doGetValue()
protected void
doSetFocus()
protected void
doSetValue(java.lang.Object value)
-
Methods inherited from class org.eclipse.jface.viewers.CellEditor
activate, activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dependsOnExternalFocusListener, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getLayoutData, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, keyReleaseOccured, markDirty, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged
-
-
-
-
Field Detail
-
cdt
private CDateTime cdt
The CDateTime control; initial selection is the time of instantiation
-
-
Constructor Detail
-
CDateTimeCellEditor
public CDateTimeCellEditor(org.eclipse.swt.widgets.Composite parent)
Creates a new date/time cell editor parented under the given control.- Parameters:
parent
- the parent control
-
CDateTimeCellEditor
public CDateTimeCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
Creates a new date/time cell editor parented under the given control.- Parameters:
parent
- the parent controlstyle
- the style bits
-
CDateTimeCellEditor
public CDateTimeCellEditor(org.eclipse.swt.widgets.Composite parent, java.lang.String pattern)
Creates a new date/time cell editor parented under the given control.- Parameters:
parent
- the parent controlstyle
- the style bits
-
-
Method Detail
-
createControl
protected org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createControl
in classorg.eclipse.jface.viewers.CellEditor
-
doGetValue
protected java.lang.Object doGetValue()
- Specified by:
doGetValue
in classorg.eclipse.jface.viewers.CellEditor
-
doSetFocus
protected void doSetFocus()
- Specified by:
doSetFocus
in classorg.eclipse.jface.viewers.CellEditor
-
doSetValue
protected void doSetValue(java.lang.Object value)
- Specified by:
doSetValue
in classorg.eclipse.jface.viewers.CellEditor
-
-