public class StandardDateRangeUIEditor extends Object implements UIEditor
StandardDateRange The whole management of the Start Date
DefaultDateUIEditor and End Date DefaultDateUIEditor to form the StandardDate Range functionality.| Modifier and Type | Class and Description |
|---|---|
protected static class |
StandardDateRangeUIEditor.DateRangeIdentifier |
INITIAL_EDIT_STRING| Constructor and Description |
|---|
StandardDateRangeUIEditor() |
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createViewComponent(Object initialValue,
Map<String,? extends Object> parameters,
EditorListener listener)
Creates a new editor component and attaches it to the specified
Page page. |
String |
getEditorType() |
Object |
getValue()
Returns the value held by this editor.
|
boolean |
isEditable()
Returns whether this editor is editable or not
|
boolean |
isInline()
Returns whether this editor is an inline editor or not.
|
boolean |
isOptional() |
void |
setEditable(boolean editable)
Defines whether this editor shall be editable.
|
void |
setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
Sets the focus on the given input component which can be the rootEditorComponent or a child of it
|
void |
setOptional(boolean optional) |
void |
setValue(Object value)
Sets the value of this editor to
value. |
public HtmlBasedComponent createViewComponent(Object initialValue, Map<String,? extends Object> parameters, EditorListener listener)
UIEditorPage page.createViewComponent in interface UIEditorinitialValue - editor's initial valueparameters - parameters passed via configuration for particular editorlistener - the EditorListener that will receive events when the editor's value is changedpublic boolean isInline()
UIEditorpublic String getEditorType()
getEditorType in interface UIEditorpublic void setValue(Object value)
UIEditorvalue.
Note: Does not have anything to do with value persistence, it is only for setting the value to be displayed. However,
depending on the view component implementation and the specified EditorListener the underlying view component might
generate an event which causes the EditorListener.valueChanged(Object) method to be called.public Object getValue()
UIEditorpublic void setEditable(boolean editable)
UIEditorsetEditable in interface UIEditoreditable - whether this editor is editable or notpublic boolean isEditable()
UIEditorisEditable in interface UIEditorpublic void setFocus(HtmlBasedComponent rootEditorComponent,
boolean selectAll)
UIEditorpublic boolean isOptional()
isOptional in interface UIEditorpublic void setOptional(boolean optional)
setOptional in interface UIEditorCopyright © 2017 SAP SE. All Rights Reserved.