|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro GeoMap API. You can use the GeoMap UI element to display a section of a map. GEO ROUTING IS ONLY FUNCTIONAL IF AN IGS WITH ADDITIONAL GEO-SERVICES IS INSTALLED.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
Type Classification:
This interface is part of the Web Dynpro API, so applications may reference it or call any method of it, but they must not implement or extend it.
For a detailed explanation of API classification see the Web Dynpro Compatibility Guide| Nested Class Summary | |
static interface |
IWDGeoMap.IWDOnObjectAction
Interface defining the parameter names for event onObjectAction.
|
| Field Summary | |
static String |
DEFAULT_ACCESSIBILITY_DESCRIPTION
Default value of the accessibilityDescription property is "". |
static double |
DEFAULT_BOTTOM
Default value of the bottom property is 0.0. |
static int |
DEFAULT_HEIGHT
Default value of the height property is 300. |
static String |
DEFAULT_IGS_URL
Default value of the igsUrl property is "". |
static double |
DEFAULT_LEFT
Default value of the left property is 0.0. |
static WDMoveType |
DEFAULT_MOVE_TYPE
Default value of the moveType property is WDMoveType.NONE. |
static double |
DEFAULT_RIGHT
Default value of the right property is 0.0. |
static double |
DEFAULT_TOP
Default value of the top property is 0.0. |
static int |
DEFAULT_WIDTH
Default value of the width property is 300. |
static WDZoomType |
DEFAULT_ZOOM_TYPE
Default value of the zoomType property is WDZoomType.NONE. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
Binds the accessibilityDescription property to the context attribute specified by the given attribute info. |
void |
bindAccessibilityDescription(String path)
Binds the accessibilityDescription property to the context attribute specified by the given path. |
void |
bindBottom(IWDAttributeInfo attributeInfo)
Binds the bottom property to the context attribute specified by the given attribute info. |
void |
bindBottom(String path)
Binds the bottom property to the context attribute specified by the given path. |
void |
bindGeoObjectSource(IWDAttributeInfo attributeInfo)
Binds the geoObjectSource property to the context attribute specified by the given attribute info. |
void |
bindGeoObjectSource(String path)
Binds the geoObjectSource property to the context attribute specified by the given path. |
String |
bindingOfAccessibilityDescription()
Returns the binding path of the accessibilityDescription property. |
String |
bindingOfBottom()
Returns the binding path of the bottom property. |
String |
bindingOfGeoObjectSource()
Returns the binding path of the geoObjectSource property. |
String |
bindingOfLeft()
Returns the binding path of the left property. |
String |
bindingOfRight()
Returns the binding path of the right property. |
String |
bindingOfTop()
Returns the binding path of the top property. |
void |
bindLeft(IWDAttributeInfo attributeInfo)
Binds the left property to the context attribute specified by the given attribute info. |
void |
bindLeft(String path)
Binds the left property to the context attribute specified by the given path. |
void |
bindRight(IWDAttributeInfo attributeInfo)
Binds the right property to the context attribute specified by the given attribute info. |
void |
bindRight(String path)
Binds the right property to the context attribute specified by the given path. |
void |
bindTop(IWDAttributeInfo attributeInfo)
Binds the top property to the context attribute specified by the given attribute info. |
void |
bindTop(String path)
Binds the top property to the context attribute specified by the given path. |
String |
getAccessibilityDescription()
Returns the value of the accessibilityDescription property.
|
double |
getBottom()
Returns the value of the bottom property.
|
int |
getHeight()
Returns the value of the height property.
|
String |
getIgsUrl()
Returns the value of the igsUrl property.
|
double |
getLeft()
Returns the value of the left property.
|
WDMoveType |
getMoveType()
Returns the value of the moveType property.
|
IWDAction |
getOnObjectAction()
Returns the action assigned to event onObjectAction |
double |
getRight()
Returns the value of the right property.
|
double |
getTop()
Returns the value of the top property.
|
int |
getWidth()
Returns the value of the width property.
|
WDZoomType |
getZoomType()
Returns the value of the zoomType property.
|
IWDParameterMapping |
mappingOfOnObjectAction()
Returns the parameter mapping for event onObjectAction.
|
void |
restoreOriginalCoordinates()
Restore to geo coordinates that were set by application |
void |
setAccessibilityDescription(String value)
Sets the accessibilityDescription property to the given value. |
void |
setBottom(double value)
Sets the bottom property to the given value. |
void |
setHeight(int height)
Sets the height property to the given value. |
void |
setIgsUrl(String igsUrl)
Sets the igsUrl property to the given value. |
void |
setLeft(double value)
Sets the left property to the given value. |
void |
setMoveType(WDMoveType moveType)
Sets the moveType property to the given value. |
void |
setOnObjectAction(IWDAction action)
Assigns the given action to event onObjectAction. |
void |
setRight(double value)
Sets the right property to the given value. |
void |
setTop(double value)
Sets the top property to the given value. |
void |
setWidth(int width)
Sets the width property to the given value. |
void |
setZoomType(WDZoomType zoomType)
Sets the zoomType property to the given value. |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.graphics.api.IWDAbstractIgsElement |
forceUpdate, getHasError |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
bindEnabled, bindEnabled, bindingOfEnabled, bindingOfTooltip, bindingOfVisible, bindTooltip, bindTooltip, bindVisible, bindVisible, createLayoutData, getContainer, getEnabled, getLayoutData, getTooltip, getVisible, setEnabled, setTooltip, setVisible |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
destroy, getId, getView, requestFocus |
| Field Detail |
public static final String DEFAULT_ACCESSIBILITY_DESCRIPTION
accessibilityDescription property is "".
public static final double DEFAULT_BOTTOM
bottom property is 0.0.
public static final int DEFAULT_HEIGHT
height property is 300.
public static final String DEFAULT_IGS_URL
igsUrl property is "".
public static final double DEFAULT_LEFT
left property is 0.0.
public static final WDMoveType DEFAULT_MOVE_TYPE
moveType property is WDMoveType.NONE.
public static final double DEFAULT_RIGHT
right property is 0.0.
public static final double DEFAULT_TOP
top property is 0.0.
public static final int DEFAULT_WIDTH
width property is 300.
public static final WDZoomType DEFAULT_ZOOM_TYPE
zoomType property is WDZoomType.NONE.
| Method Detail |
public IWDAction getOnObjectAction()
onObjectAction.
onObjectActionmappingOfOnObjectAction()public void setOnObjectAction(IWDAction action)
onObjectAction.
action - the action assigned to the eventgetOnObjectAction()public IWDParameterMapping mappingOfOnObjectAction()
onObjectAction.
To pass UI element event parameter values into action handler parameters,
a parameter mapping has to be defined. Add code like the following inside
method wdDoModifyView() of the view controller:
if (firstTime)
{
IWDGeoMap myGeoMap = (IWDGeoMap) view.getElement("ID-of-GeoMap");
myGeoMap.mappingOfOnObjectAction().addSourceMapping
(
IWDGeoMap.IWDOnObjectAction.ID, // event parameter name
"name-of-action-parameter" // (type String)
);
}
Event onObjectAction has the following parameters:
String id
onObjectActiongetOnObjectAction()public void bindAccessibilityDescription(String path)
accessibilityDescription property to the context attribute specified by the given path.
path - the context path of the attribute to which the accessibilityDescription property will be boundpublic void bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
accessibilityDescription property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the accessibilityDescription property will be boundpublic String bindingOfAccessibilityDescription()
accessibilityDescription property.
accessibilityDescription property is currently boundpublic String getAccessibilityDescription()
accessibilityDescription property.
The initial value is "".
accessibilityDescription propertysetAccessibilityDescription(String)public void setAccessibilityDescription(String value)
accessibilityDescription property to the given value.
value - the new value of the accessibilityDescription propertygetAccessibilityDescription()public void bindBottom(String path)
bottom property to the context attribute specified by the given path.
path - the context path of the attribute to which the bottom property will be boundpublic void bindBottom(IWDAttributeInfo attributeInfo)
bottom property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the bottom property will be boundpublic String bindingOfBottom()
bottom property.
bottom property is currently boundpublic double getBottom()
bottom property.
The initial value is 0.0.
bottom propertysetBottom(double)public void setBottom(double value)
bottom property to the given value.
value - the new value of the bottom propertygetBottom()public void bindGeoObjectSource(String path)
geoObjectSource property to the context attribute specified by the given path.
path - the context path of the attribute to which the geoObjectSource property will be boundpublic void bindGeoObjectSource(IWDAttributeInfo attributeInfo)
geoObjectSource property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the geoObjectSource property will be boundpublic String bindingOfGeoObjectSource()
geoObjectSource property.
geoObjectSource property is currently boundpublic int getHeight()
height property.
The initial value is 300.
Specifies the height of the UI element in pixels.
height propertysetHeight(int)public void setHeight(int height)
height property to the given value.
height - the new value of the height propertygetHeight()public String getIgsUrl()
igsUrl property.
The initial value is "".
You can use this property to specify the Web address (URL) of the server on
which the Internet Graphics Service is to run. This means that you can
overwrite the global URL for which the Web Dynpro System Configuration in the
default.properties file has been set.
igsUrl propertysetIgsUrl(String)public void setIgsUrl(String igsUrl)
igsUrl property to the given value.
igsUrl - the new value of the igsUrl propertygetIgsUrl()public void bindLeft(String path)
left property to the context attribute specified by the given path.
path - the context path of the attribute to which the left property will be boundpublic void bindLeft(IWDAttributeInfo attributeInfo)
left property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the left property will be boundpublic String bindingOfLeft()
left property.
left property is currently boundpublic double getLeft()
left property.
The initial value is 0.0.
left propertysetLeft(double)public void setLeft(double value)
left property to the given value.
value - the new value of the left propertygetLeft()public WDMoveType getMoveType()
moveType property.
The initial value is WDMoveType.NONE.
This property specifies whether the geographical border of a map can be
interactively changed by the user. The moveType property can be filled with
the following values and is represented by the enumeration type WDMoveType:
none You cannot change the geographical border. panel Control elements allow
you to change the geographical border.
moveType propertysetMoveType(WDMoveType)public void setMoveType(WDMoveType moveType)
moveType property to the given value.
moveType - the new value of the moveType propertygetMoveType()public void bindRight(String path)
right property to the context attribute specified by the given path.
path - the context path of the attribute to which the right property will be boundpublic void bindRight(IWDAttributeInfo attributeInfo)
right property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the right property will be boundpublic String bindingOfRight()
right property.
right property is currently boundpublic double getRight()
right property.
The initial value is 0.0.
right propertysetRight(double)public void setRight(double value)
right property to the given value.
value - the new value of the right propertygetRight()public void bindTop(String path)
top property to the context attribute specified by the given path.
path - the context path of the attribute to which the top property will be boundpublic void bindTop(IWDAttributeInfo attributeInfo)
top property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the top property will be boundpublic String bindingOfTop()
top property.
top property is currently boundpublic double getTop()
top property.
The initial value is 0.0.
top propertysetTop(double)public void setTop(double value)
top property to the given value.
value - the new value of the top propertygetTop()public int getWidth()
width property.
The initial value is 300.
Specifies the width of the UI element in pixels.
width propertysetWidth(int)public void setWidth(int width)
width property to the given value.
width - the new value of the width propertygetWidth()public WDZoomType getZoomType()
zoomType property.
The initial value is WDZoomType.NONE.
Specifies the zoom behavior of the map. The zoomType property can be filled
with the following values and is represented by the enumeration type
WDZoomType:
none Zooming within the map is not possible, and no control elements for
zooming are available.
panel Zooming within the map is possible.
zoomType propertysetZoomType(WDZoomType)public void setZoomType(WDZoomType zoomType)
zoomType property to the given value.
zoomType - the new value of the zoomType propertygetZoomType()public void restoreOriginalCoordinates()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||