public class OpenMapControl extends DatasrcInstance implements MapControlCallbacks, MapClientEvents
databeanamIinitialize, DATASOURCE, errorChanged, errorLevel, errorsValidated, generatedControl, INPUTMODE, labelOverride, labelParams, LOG_CATEGORY, ONDATACAHNGE, originalControl, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_LIGHTNING, PARAM_MOBILE, PARAM_MODULE, PARAM_PAGE, PARAM_PARENTCOMPONENT, PARAM_PARENTCONTROL, PARAM_PRESENTATION, PARAM_SCREENREADER, PARAM_SKINNAME, PARAM_TAB, PARAM_TABGROUP, PARAM_TABGROUP_MAIN, PARAM_TABLE, PARAM_USERINFO, PARAM_VERTICALLABEL, propertyOriginator, RERENDER_PROPERTYchangedProperties, EXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST, properties, type| Constructor and Description |
|---|
OpenMapControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventToMap(java.lang.String eventName,
com.ibm.json.java.JSONObject action) |
void |
addRecordsToLayer(java.lang.String layerName,
MboSetRemote mboSet,
boolean cleanOld)
For the sake of flexibility, the interface receives a mboset, but the elements of the mboset
will only be shown on the map if the mbos of the mboset implements the interface Gisable
|
void |
clearNextEventData()
Clear the event buffer
|
void |
createMapCallback(java.lang.String actionName,
com.ibm.json.java.JSONObject data) |
MapControlClientEvent |
getClientEventCtrl() |
MapDataUtils.PROVIDER |
getCurrentProvider() |
com.ibm.json.java.JSONObject |
getCurrentRecordData() |
com.ibm.json.java.JSONArray |
getCurrentState()
Return the next current state with all JSON data that must be handle by the map component.
|
protected com.ibm.json.java.JSONObject |
getCustomMapConfiguration(MboRemote mapManager)
Used to allow customizations
|
java.lang.String |
getHeight() |
java.lang.Double |
getInitialX() |
java.lang.Double |
getInitialY() |
MboRemote |
getMainRecordMbo() |
com.ibm.json.java.JSONObject |
getMapConfiguration()
Creates the JSON object configuration based on data from FSM Map Manager app
|
protected MapControlAccessor |
getMapControlAccessor() |
protected MapManagerRemote |
getMapManager(UserInfo user) |
protected MboRemote |
getMapSite(UserInfo user,
MboRemote mapManager) |
java.lang.String |
getOpenMapReturnAttribute()
Returns the attribute which called the Open Map component.
|
java.lang.String |
getOriginalApp(java.lang.String app) |
java.lang.String |
getRefreshMapInterval() |
java.lang.String |
getWidth() |
java.lang.String |
getZoomLevel() |
java.lang.Boolean |
isContextPersistent() |
protected boolean |
isInMapManager() |
protected boolean |
isMainRecordChanged() |
java.lang.Boolean |
isMapViewOnly() |
boolean |
isMobile() |
void |
loadGISMapConfiguration()
Sets the GIS configuration
Note: The method has some side effects such as call reset on the mboset before iterate on it.
|
int |
pushMapControlClientEventHandler() |
static java.lang.String |
removeCommentsFromJson(java.lang.String isStr) |
void |
removeRecordsFromLayer(java.lang.String layerName,
MboSetRemote mboSet)
For the sake of flexibility, the interface receives a mboset, but the elements of the mboset
will only be removed from the map if the mbos of the mboset implements the interface Gisable
|
int |
render()
Note: The method has some side effects such as call reset on the mboset before iterate on it.
|
int |
showErrors() |
int |
showErrorsParamObject() |
int |
showMaxMessage() |
int |
storeUserLocation() |
protected void |
updateMapControlAccessorBounds(LatLngBounds mapBounds) |
broadcastEvent, cleanup, getDataBean, instantiatedatasrc, instantiatedatasrcdesignaddChild, addComponent, canInsert, canInsert, canRemove, childHasError, childHasErrorFocus, clearComponent, clearErrors, clearFlags, copy, createRenderId, determineErrorLevel, errorLevelChanged, eventCheck, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getConditonallyChanged, getDataSource, getDescriptorControl, getDesignerProperty, getDesignerSelected, getDesignerSelectedControl, getElement, getErrorLevel, getGeneratedControl, getOriginalControl, getOriginalProperty, getProperties, getProperty, getProperty, getPropertyIgnoreFlags, getPropertyOriginator, getPropertyUncle, getRecordHover, getSkipPreRender, getTableControl, getTakesValueComponent, handleEvent, hasChanged, hasChangedConditionally, hasChildElements, hasMaskedChanged, hasRecordHover, hasSigOptionAccess, hasVisibleChildren, initialize, isDesignerEditedProperty, isDisabled, isFirstChildVisible, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, licenseCheck, moveChild, needsRender, parentPropertyChanged, parseParamvalues, preRender, preRenderChecks, propertyChanged, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setConditionalProperties, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, setVisibility, sigOptionCheck, sigOptionCheckForLookups, stopRender, walkForId, walkForIdaddChild, addChild, addRefreshListener, canSetProperty, clearChildren, clearPropChangeList, clearProperties, clone, clone, getBoolean, getChangedProperties, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getId, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRenderId, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, hasAnyPropertyChanged, hasLocalProperty, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, isOnTableRow, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toStringpublic MapControlClientEvent getClientEventCtrl()
public MapDataUtils.PROVIDER getCurrentProvider()
getCurrentProvider in interface MapControlCallbackspublic java.lang.String getWidth()
public java.lang.Boolean isContextPersistent()
public java.lang.String getZoomLevel()
public java.lang.Boolean isMapViewOnly()
public java.lang.Double getInitialX()
public java.lang.Double getInitialY()
public boolean isMobile()
public java.lang.String getHeight()
public java.lang.String getRefreshMapInterval()
public com.ibm.json.java.JSONObject getMapConfiguration()
throws MXException,
java.io.IOException
MXExceptionjava.io.IOExceptionprotected MboRemote getMapSite(UserInfo user, MboRemote mapManager) throws MXException, java.rmi.RemoteException
user - mapManager - MXExceptionjava.rmi.RemoteExceptionprotected boolean isInMapManager()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionprotected MapManagerRemote getMapManager(UserInfo user) throws MXException, java.rmi.RemoteException
user - MXExceptionjava.rmi.RemoteExceptionpublic void loadGISMapConfiguration()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected com.ibm.json.java.JSONObject getCustomMapConfiguration(MboRemote mapManager) throws MXException, java.rmi.RemoteException
mapManager - MXExceptionjava.rmi.RemoteExceptionpublic int storeUserLocation()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic int render()
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
render in class DatasrcInstancejava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionpublic com.ibm.json.java.JSONArray getCurrentState()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic com.ibm.json.java.JSONObject getCurrentRecordData()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic MboRemote getMainRecordMbo() throws java.rmi.RemoteException, MXException
getMainRecordMbo in interface MapControlCallbacksjava.rmi.RemoteExceptionMXExceptionpublic int showMaxMessage()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic int showErrorsParamObject()
throws MXException,
java.lang.NullPointerException,
java.io.IOException
MXExceptionjava.lang.NullPointerExceptionjava.io.IOExceptionpublic int showErrors()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionprotected boolean isMainRecordChanged()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void createMapCallback(java.lang.String actionName,
com.ibm.json.java.JSONObject data)
throws java.rmi.RemoteException,
MXException
createMapCallback in interface MapControlCallbacksjava.rmi.RemoteExceptionMXExceptionpublic void addRecordsToLayer(java.lang.String layerName,
MboSetRemote mboSet,
boolean cleanOld)
throws java.rmi.RemoteException,
MXException
MapControlCallbacksaddRecordsToLayer in interface MapControlCallbackscleanOld - data before add new data?java.rmi.RemoteExceptionMXExceptionpublic void addEventToMap(java.lang.String eventName,
com.ibm.json.java.JSONObject action)
protected MapControlAccessor getMapControlAccessor()
protected void updateMapControlAccessorBounds(LatLngBounds mapBounds)
public void removeRecordsFromLayer(java.lang.String layerName,
MboSetRemote mboSet)
throws java.rmi.RemoteException,
MXException
MapControlCallbacksremoveRecordsFromLayer in interface MapControlCallbacksjava.rmi.RemoteExceptionMXExceptionpublic static java.lang.String removeCommentsFromJson(java.lang.String isStr)
public void clearNextEventData()
public java.lang.String getOpenMapReturnAttribute()
public java.lang.String getOriginalApp(java.lang.String app)
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic int pushMapControlClientEventHandler()
pushMapControlClientEventHandler in interface MapClientEvents