|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro RoadMap API. Visualizes the steps in a wizard.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static java.lang.String |
DEFAULT_ACCESSIBILITY_DESCRIPTION
Default value of property accessibilityDescription. |
static WDRoadMapEdgeDesign |
DEFAULT_END_POINT_DESIGN
Default value of property endPointDesign. |
static java.lang.String |
DEFAULT_SELECTED_STEP
Default value of property selectedStep. |
static WDRoadMapEdgeDesign |
DEFAULT_START_POINT_DESIGN
Default value of property startPointDesign. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
addStep(IWDRoadMapStep aRoadMapStep)
Adds the given Step at the end of the list of Steps. |
void |
addStep(IWDRoadMapStep aRoadMapStep,
int index)
Adds the given Step at the specified index in the list of Steps. |
void |
bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
Binds property accessibilityDescription to the context attribute
specified by the given attribute info. |
void |
bindAccessibilityDescription(java.lang.String path)
Binds property accessibilityDescription to the context attribute
specified by path. |
void |
bindEndPointDesign(IWDAttributeInfo attributeInfo)
Binds property endPointDesign to the context attribute
specified by the given attribute info. |
void |
bindEndPointDesign(java.lang.String path)
Binds property endPointDesign to the context attribute
specified by path. |
java.lang.String |
bindingOfAccessibilityDescription()
Binding path of property accessibilityDescription. |
java.lang.String |
bindingOfEndPointDesign()
Binding path of property endPointDesign. |
java.lang.String |
bindingOfSelectedStep()
Binding path of property selectedStep. |
java.lang.String |
bindingOfStartPointDesign()
Binding path of property startPointDesign. |
void |
bindSelectedStep(IWDAttributeInfo attributeInfo)
Binds property selectedStep to the context attribute
specified by the given attribute info. |
void |
bindSelectedStep(java.lang.String path)
Binds property selectedStep to the context attribute
specified by path. |
void |
bindStartPointDesign(IWDAttributeInfo attributeInfo)
Binds property startPointDesign to the context attribute
specified by the given attribute info. |
void |
bindStartPointDesign(java.lang.String path)
Binds property startPointDesign to the context attribute
specified by path. |
void |
destroyAllSteps()
Destroys all entries in the list of Steps. |
java.lang.String |
getAccessibilityDescription()
Returns the value of the accessibilityDescription property. |
WDRoadMapEdgeDesign |
getEndPointDesign()
Returns the value of the endPointDesign property. |
IWDAction |
getOnLoadSteps()
Returns the action to which the event onLoadSteps is mapped. |
IWDAction |
getOnSelect()
Returns the action to which the event onSelect is mapped. |
java.lang.String |
getSelectedStep()
Returns the value of the selectedStep property. |
WDRoadMapEdgeDesign |
getStartPointDesign()
Returns the value of the startPointDesign property. |
IWDRoadMapStep |
getStep(int index)
Returns the Step at the given index. |
IWDRoadMapStep[] |
getSteps()
Returns the list of Steps. |
boolean |
hasSteps()
Checks if there exist Steps. |
int |
indexOfStep(IWDRoadMapStep aRoadMapStep)
Returns the index of the given element in the list of Steps or -1 if it is not contained in the list. |
java.util.Iterator |
iterateSteps()
Returns an iterator over the list of Steps. |
IWDParameterMapping |
mappingOfOnLoadSteps()
Returns the parameter mapping of event onLoadSteps. |
IWDParameterMapping |
mappingOfOnSelect()
Returns the parameter mapping of event onSelect. |
int |
numberOfSteps()
Returns the number of Steps. |
void |
removeAllSteps()
Removes all entries from the list of Steps. |
IWDRoadMapStep |
removeStep(int index)
Removes the entry at the given index from the list of Steps. |
IWDRoadMapStep |
removeStep(java.lang.String id)
Removes the entry with the given ID from the list of Steps. |
void |
setAccessibilityDescription(java.lang.String value)
Sets property accessibilityDescription to the new value. |
void |
setEndPointDesign(WDRoadMapEdgeDesign value)
Sets property endPointDesign to the new value. |
void |
setOnLoadSteps(IWDAction action)
Maps the event onLoadSteps to the given action. |
void |
setOnSelect(IWDAction action)
Maps the event onSelect to the given action. |
void |
setSelectedStep(java.lang.String value)
Sets property selectedStep to the new value. |
void |
setStartPointDesign(WDRoadMapEdgeDesign value)
Sets property startPointDesign to the new value. |
void |
swapSteps(int i,
int j)
Swaps the Steps at the given indices. |
| 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 |
getId, getView, requestFocus |
| Field Detail |
public static final java.lang.String DEFAULT_ACCESSIBILITY_DESCRIPTION
accessibilityDescription.public static final WDRoadMapEdgeDesign DEFAULT_END_POINT_DESIGN
endPointDesign.public static final java.lang.String DEFAULT_SELECTED_STEP
selectedStep.public static final WDRoadMapEdgeDesign DEFAULT_START_POINT_DESIGN
startPointDesign.| Method Detail |
public IWDAction getOnLoadSteps()
onLoadSteps is mapped.
The action performed when the RoadMap has more steps as currently displayed (startPointDesign-->more or endPointDesign-->more) and the users clicks an the more-steps icon.
Event parameter is a boolean and defines if more steps are at the end (true) or the further steps are at the beginning of the RoadMap (false).mappingOfOnLoadSteps()public void setOnLoadSteps(IWDAction action)
onLoadSteps to the given action.action - the action for the eventgetOnLoadSteps()public IWDParameterMapping mappingOfOnLoadSteps()
onLoadSteps.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnLoadSteps()public IWDAction getOnSelect()
onSelect is mapped.
The action performed when a step is selected.
Event parameter is the ID of the selected step.mappingOfOnSelect()public void setOnSelect(IWDAction action)
onSelect to the given action.action - the action for the eventgetOnSelect()public IWDParameterMapping mappingOfOnSelect()
onSelect.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnSelect()public void bindAccessibilityDescription(java.lang.String path)
accessibilityDescription to the context attribute
specified by path.path - the path of the context attribute to which the accessibilityDescription
property is boundpublic void bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
accessibilityDescription to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
accessibilityDescription property is boundpublic java.lang.String bindingOfAccessibilityDescription()
accessibilityDescription.public java.lang.String getAccessibilityDescription()
accessibilityDescription property.
The initial value is "".
Short description for the RoadMap (it's like a title) in the accessibility mode. It is only used if accessibility mode (508) is switched on and will be included into the tooltip. Its read by the screen reader when the whole UI element gets the focus.setAccessibilityDescription(String)public void setAccessibilityDescription(java.lang.String value)
accessibilityDescription to the new value.value - the new value of the accessibilityDescription propertygetAccessibilityDescription()public void bindEndPointDesign(java.lang.String path)
endPointDesign to the context attribute
specified by path.path - the path of the context attribute to which the endPointDesign
property is boundpublic void bindEndPointDesign(IWDAttributeInfo attributeInfo)
endPointDesign to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
endPointDesign property is boundpublic java.lang.String bindingOfEndPointDesign()
endPointDesign.public WDRoadMapEdgeDesign getEndPointDesign()
endPointDesign property.
The initial value is WDRoadMapEdgeDesign.STANDARD.
The visual design of the road map's end point.setEndPointDesign(WDRoadMapEdgeDesign)public void setEndPointDesign(WDRoadMapEdgeDesign value)
endPointDesign to the new value.value - the new value of the endPointDesign propertygetEndPointDesign()public void bindSelectedStep(java.lang.String path)
selectedStep to the context attribute
specified by path.path - the path of the context attribute to which the selectedStep
property is boundpublic void bindSelectedStep(IWDAttributeInfo attributeInfo)
selectedStep to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
selectedStep property is boundpublic java.lang.String bindingOfSelectedStep()
selectedStep.public java.lang.String getSelectedStep()
selectedStep property.
The initial value is "".
Contains the ID of the selected Step.setSelectedStep(String)public void setSelectedStep(java.lang.String value)
selectedStep to the new value.value - the new value of the selectedStep propertygetSelectedStep()public void bindStartPointDesign(java.lang.String path)
startPointDesign to the context attribute
specified by path.path - the path of the context attribute to which the startPointDesign
property is boundpublic void bindStartPointDesign(IWDAttributeInfo attributeInfo)
startPointDesign to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
startPointDesign property is boundpublic java.lang.String bindingOfStartPointDesign()
startPointDesign.public WDRoadMapEdgeDesign getStartPointDesign()
startPointDesign property.
The initial value is WDRoadMapEdgeDesign.STANDARD.
The visual design of the road map's start point.setStartPointDesign(WDRoadMapEdgeDesign)public void setStartPointDesign(WDRoadMapEdgeDesign value)
startPointDesign to the new value.value - the new value of the startPointDesign propertygetStartPointDesign()public void addStep(IWDRoadMapStep aRoadMapStep)
aRoadMapStep - the Step to be added into the listgetSteps()
public void addStep(IWDRoadMapStep aRoadMapStep,
int index)
aRoadMapStep - the Step to be added into the listindex - zero based index of the insertion position in the listgetSteps()
public void swapSteps(int i,
int j)
i - index of the first Step to swapj - index of the second Step to swapIndexOutOfBoundsException - If one of the indices is out of boundspublic IWDRoadMapStep[] getSteps()
public IWDRoadMapStep getStep(int index)
public int indexOfStep(IWDRoadMapStep aRoadMapStep)
-1 if it is not contained in the list.public int numberOfSteps()
getSteps()public boolean hasSteps()
true if there are Steps;
false otherwise.getSteps()public java.util.Iterator iterateSteps()
getSteps()public IWDRoadMapStep removeStep(int index)
index - zero based index of the deletion position in the listaddStep(IWDRoadMapStep),
getSteps()public IWDRoadMapStep removeStep(java.lang.String id)
id - unique ID of the element to be deleted from the listaddStep(IWDRoadMapStep),
getSteps()public void removeAllSteps()
addStep(IWDRoadMapStep),
getSteps()public void destroyAllSteps()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||