public class DateTimePropEditor extends BaseEditor<DateTimeProp,GDateTime>
appUI, combo, control, controller, definedButton, display, editor, focusListener, hasBeenModified, info, more, multipleValueWarningInput, options, parent, propController, shell, text, validator, wasDefinedAtFocusGained
Constructor and Description |
---|
DateTimePropEditor()
Default constructor called before createControls.
|
Modifier and Type | Method and Description |
---|---|
protected void |
create()
Creates the property editor controls.
|
String |
formatValue(GDateTime value)
Formats the value for user input as a String.
|
GDateTime |
getDefaultValue()
Gets the default defined value to set in the property when defined.
|
protected String |
getToolTipText()
Gets the tooltip text to display in the entry fields (not the one for property errors or validator).
|
protected GDateTime |
getValue(String input)
Gets the property value for a user input.
|
protected void |
onDoubleClick(Event e)
Called when mouse is double-clicked in the text or combobox.
|
void |
onF4List()
Called when F4 is pressed in a Text field.
|
void |
onUpdate(GDateTime value)
Called when the property is updated without errors, with a new value.
|
protected void |
setInputValue(GDateTime value)
Sets the new input value.
|
assignMaster, beginProcessEvent, canProcessEvents, checkInput, createCCombo, createControls, createGridLayout, createIzMenu, createMoreButton, createMoreIzMenu, createText, dispose, doUndefineIfEmpty, doValueChangeConversion, endProcessEvent, getBaseEditor, getCurrentInput, getCurrentValue, getCurrentValues, getModifyListener, getNativeToolTip, getOption, getSelectionListener, getSeverity, getShell, getToolTipText2, hasFocus, initialize, isPropReadOnly, onDefine, onDispose, onError, onFocusGained, onFocusLost, onMore, onReadOnly, onUndefined, setColors, setCurrentValue, setEditable, setFocus, setInput, setInputValueFromProp, setToolTipText, showMenu, updateTooltip, validate
public DateTimePropEditor()
protected void create()
create
in class BaseEditor<DateTimeProp,GDateTime>
public void onF4List()
onF4List
in class BaseEditor<DateTimeProp,GDateTime>
protected void onDoubleClick(Event e)
onDoubleClick
in class BaseEditor<DateTimeProp,GDateTime>
protected String getToolTipText()
getToolTipText
in class BaseEditor<DateTimeProp,GDateTime>
public GDateTime getDefaultValue()
getDefaultValue
in interface IEditedPropControllerOwner<DateTimeProp,GDateTime>
getDefaultValue
in class BaseEditor<DateTimeProp,GDateTime>
protected void setInputValue(GDateTime value)
setInputValue
in class BaseEditor<DateTimeProp,GDateTime>
value
- The value to set, null for empty.protected GDateTime getValue(String input) throws Exception
getValue
in class BaseEditor<DateTimeProp,GDateTime>
input
- The current user input.Exception
- For validation errors.public String formatValue(GDateTime value)
formatValue
in interface IEditedPropControllerOwner<DateTimeProp,GDateTime>
formatValue
in class BaseEditor<DateTimeProp,GDateTime>
value
- The value.public void onUpdate(GDateTime value)
onUpdate
in interface IEditedPropControllerOwner<DateTimeProp,GDateTime>
onUpdate
in class BaseEditor<DateTimeProp,GDateTime>
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.