Class JsonHybridManager<T extends HybridManager>
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.desktop.hybrid.JsonHybridManager<T>
- All Implemented Interfaces:
IJsonAdapter<T>
,IJsonObject
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.scout.rt.ui.html.json.AbstractJsonPropertyObserver
AbstractJsonPropertyObserver.P_PropertyChangeListener
-
Constructor Summary
ConstructorDescriptionJsonHybridManager
(T model, IUiSession uiSession, String id, IJsonAdapter<?> parent) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Override this method in order to attach listeners on the Scout model object.protected JSONObject
createJsonHybridEvent
(HybridEvent event) protected void
Returns a string used to identify the object-type in the JSON output (JSON attribute 'objectType').protected void
void
handleUiEvent
(JsonEvent event) protected void
handleUiHybridAction
(JsonEvent event) protected void
initJsonProperties
(T model) protected JsonDataObjectHelper
Methods inherited from class org.eclipse.scout.rt.ui.html.json.AbstractJsonPropertyObserver
addCustomJsonProperty, addPropertyChangeEvent, addPropertyChangeEvent, addPropertyEventFilterCondition, addPropertyEventFilterCondition, attachChildAdapters, cleanUpEventFilters, filterPropertyChangeEvent, getCustomJsonProperties, getJsonProperty, handleLazyJsonProperties, handleModelPropertyChange, handleModelPropertyChange, init, putJsonProperty, removeCustomJsonProperty, removeJsonProperty, responseAlreadyContainsPropertyChangeEvent, toJson
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, disposeChildAdapters, getAdapter, getAdapter, getAdapters, getAdapters, getGlobalAdapter, getGlobalAdapter, getId, getModel, getObjectTypeVariant, getParent, getUiSession, handleUiPropertyChange, handleUiPropertyChange, hasAncestor, isDisposed, isInitialized, processBufferedEvents, putAdapterIdProperty, putAdapterIdProperty, putAdapterIdsProperty, putAdapterIdsProperty, putProperty, registerAsBufferedEventsAdapter, replaceActionEvent, toString, unregisterAsBufferedEventsAdapter
-
Constructor Details
-
JsonHybridManager
-
-
Method Details
-
getObjectType
Description copied from interface:IJsonAdapter
Returns a string used to identify the object-type in the JSON output (JSON attribute 'objectType'). -
jsonDoHelper
-
attachModel
protected void attachModel()Description copied from class:AbstractJsonAdapter
Override this method in order to attach listeners on the Scout model object. At this point a JsonAdapter instance has been already created for the model object. The default implementation does nothing.- Overrides:
attachModel
in classAbstractJsonPropertyObserver<T extends HybridManager>
-
detachModel
protected void detachModel()- Overrides:
detachModel
in classAbstractJsonPropertyObserver<T extends HybridManager>
-
initJsonProperties
- Overrides:
initJsonProperties
in classAbstractJsonPropertyObserver<T extends HybridManager>
-
handleModelHybridEvent
-
createJsonHybridEvent
-
handleUiEvent
- Specified by:
handleUiEvent
in interfaceIJsonAdapter<T extends HybridManager>
- Overrides:
handleUiEvent
in classAbstractJsonAdapter<T extends HybridManager>
-
handleUiHybridAction
-