Class JsonCalendarField<CALENDAR_FIELD extends ICalendarField<? extends ICalendar>>
java.lang.Object
org.eclipse.scout.rt.ui.html.json.AbstractJsonAdapter<T>
org.eclipse.scout.rt.ui.html.json.AbstractJsonPropertyObserver<T>
org.eclipse.scout.rt.ui.html.json.AbstractJsonWidget<FORM_FIELD>
org.eclipse.scout.rt.ui.html.json.form.fields.JsonFormField<CALENDAR_FIELD>
org.eclipse.scout.rt.ui.html.json.form.fields.calendar.JsonCalendarField<CALENDAR_FIELD>
- All Implemented Interfaces:
IJsonAdapter<CALENDAR_FIELD>
,IJsonObject
,IJsonContextMenuOwner
public class JsonCalendarField<CALENDAR_FIELD extends ICalendarField<? extends ICalendar>>
extends JsonFormField<CALENDAR_FIELD>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.scout.rt.ui.html.json.AbstractJsonWidget
AbstractJsonWidget.P_WidgetListener
Nested classes/interfaces inherited from class org.eclipse.scout.rt.ui.html.json.AbstractJsonPropertyObserver
AbstractJsonPropertyObserver.P_PropertyChangeListener
-
Field Summary
Fields inherited from class org.eclipse.scout.rt.ui.html.json.AbstractJsonWidget
EVENT_REVEAL, EVENT_SCROLL_TO_TOP
Fields inherited from interface org.eclipse.scout.rt.ui.html.json.menu.IJsonContextMenuOwner
PROP_CURRENT_MENU_TYPES, PROP_MENUS, PROP_MENUS_VISIBLE
-
Constructor Summary
ConstructorDescriptionJsonCalendarField
(CALENDAR_FIELD model, IUiSession uiSession, String id, IJsonAdapter<?> parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Attach child adapters of this adapter instance here by calling theattachAdapter[s](model[s])
methods.Returns a string used to identify the object-type in the JSON output (JSON attribute 'objectType').toJson()
Methods inherited from class org.eclipse.scout.rt.ui.html.json.form.fields.JsonFormField
attachModel, detachModel, disposeChildAdapters, handleModelContextMenuChanged, handleModelContextMenuCurrentMenuTypesChanged, handleModelContextMenuVisibleChanged, handleModelPropertyChange, initJsonProperties, menuTypesToJson
Methods inherited from class org.eclipse.scout.rt.ui.html.json.AbstractJsonWidget
handleModelReveal, handleModelScrollTopTop, handleModelWidgetEvent, scrollOptionsToJson
Methods inherited from class org.eclipse.scout.rt.ui.html.json.AbstractJsonPropertyObserver
addCustomJsonProperty, addPropertyChangeEvent, addPropertyChangeEvent, addPropertyEventFilterCondition, addPropertyEventFilterCondition, cleanUpEventFilters, filterPropertyChangeEvent, getCustomJsonProperties, getJsonProperty, handleLazyJsonProperties, handleModelPropertyChange, init, putJsonProperty, removeCustomJsonProperty, removeJsonProperty, responseAlreadyContainsPropertyChangeEvent
Methods inherited from class org.eclipse.scout.rt.ui.html.json.AbstractJsonAdapter
addActionEvent, addActionEvent, addActionEvent, addPropertyChangeEvent, attachAdapter, attachAdapter, attachAdapters, attachAdapters, attachGlobalAdapter, attachGlobalAdapter, attachGlobalAdapters, attachGlobalAdapters, dispose, getAdapter, getAdapter, getAdapters, getAdapters, getGlobalAdapter, getGlobalAdapter, getId, getModel, getObjectTypeVariant, getParent, getUiSession, handleUiEvent, handleUiPropertyChange, handleUiPropertyChange, hasAncestor, isDisposed, isInitialized, processBufferedEvents, putAdapterIdProperty, putAdapterIdProperty, putAdapterIdsProperty, putAdapterIdsProperty, putProperty, registerAsBufferedEventsAdapter, replaceActionEvent, toString, unregisterAsBufferedEventsAdapter
-
Constructor Details
-
JsonCalendarField
public JsonCalendarField(CALENDAR_FIELD model, IUiSession uiSession, String id, IJsonAdapter<?> parent)
-
-
Method Details
-
getObjectType
Description copied from interface:IJsonAdapter
Returns a string used to identify the object-type in the JSON output (JSON attribute 'objectType').- Specified by:
getObjectType
in interfaceIJsonAdapter<CALENDAR_FIELD extends ICalendarField<? extends ICalendar>>
- Overrides:
getObjectType
in classJsonFormField<CALENDAR_FIELD extends ICalendarField<? extends ICalendar>>
-
attachChildAdapters
protected void attachChildAdapters()Description copied from class:AbstractJsonAdapter
Attach child adapters of this adapter instance here by calling theattachAdapter[s](model[s])
methods. This will also create a new JSON adapter instance when the adapter does not yet exist for the given model.- Overrides:
attachChildAdapters
in classJsonFormField<CALENDAR_FIELD extends ICalendarField<? extends ICalendar>>
-
toJson
- Specified by:
toJson
in interfaceIJsonAdapter<CALENDAR_FIELD extends ICalendarField<? extends ICalendar>>
- Specified by:
toJson
in interfaceIJsonObject
- Overrides:
toJson
in classJsonFormField<CALENDAR_FIELD extends ICalendarField<? extends ICalendar>>
-