|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro PhaseIndicator 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 WDPhaseIndicatorBackgroundDesign |
DEFAULT_BACKGROUND_DESIGN
Default value of property backgroundDesign. |
static java.lang.String |
DEFAULT_FIRST_VISIBLE_PHASE
Default value of property firstVisiblePhase. |
static java.lang.String |
DEFAULT_SELECTED_PHASE
Default value of property selectedPhase. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
addPhase(IWDPhase aPhase)
Adds the given Phase at the end of the list of Phases. |
void |
addPhase(IWDPhase aPhase,
int index)
Adds the given Phase at the specified index in the list of Phases. |
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 |
bindBackgroundDesign(IWDAttributeInfo attributeInfo)
Binds property backgroundDesign to the context attribute
specified by the given attribute info. |
void |
bindBackgroundDesign(java.lang.String path)
Binds property backgroundDesign to the context attribute
specified by path. |
void |
bindFirstVisiblePhase(IWDAttributeInfo attributeInfo)
Binds property firstVisiblePhase to the context attribute
specified by the given attribute info. |
void |
bindFirstVisiblePhase(java.lang.String path)
Binds property firstVisiblePhase to the context attribute
specified by path. |
java.lang.String |
bindingOfAccessibilityDescription()
Binding path of property accessibilityDescription. |
java.lang.String |
bindingOfBackgroundDesign()
Binding path of property backgroundDesign. |
java.lang.String |
bindingOfFirstVisiblePhase()
Binding path of property firstVisiblePhase. |
java.lang.String |
bindingOfSelectedPhase()
Binding path of property selectedPhase. |
void |
bindSelectedPhase(IWDAttributeInfo attributeInfo)
Binds property selectedPhase to the context attribute
specified by the given attribute info. |
void |
bindSelectedPhase(java.lang.String path)
Binds property selectedPhase to the context attribute
specified by path. |
void |
destroyAllPhases()
Destroys all entries in the list of Phases. |
java.lang.String |
getAccessibilityDescription()
Returns the value of the accessibilityDescription property. |
WDPhaseIndicatorBackgroundDesign |
getBackgroundDesign()
Returns the value of the backgroundDesign property. |
java.lang.String |
getFirstVisiblePhase()
Returns the value of the firstVisiblePhase property. |
IWDAction |
getOnSelect()
Returns the action to which the event onSelect is mapped. |
IWDPhase |
getPhase(int index)
Returns the Phase at the given index. |
IWDPhase[] |
getPhases()
Returns the list of Phases. |
java.lang.String |
getSelectedPhase()
Returns the value of the selectedPhase property. |
boolean |
hasPhases()
Checks if there exist Phases. |
int |
indexOfPhase(IWDPhase aPhase)
Returns the index of the given element in the list of Phases or -1 if it is not contained in the list. |
java.util.Iterator |
iteratePhases()
Returns an iterator over the list of Phases. |
IWDParameterMapping |
mappingOfOnSelect()
Returns the parameter mapping of event onSelect. |
int |
numberOfPhases()
Returns the number of Phases. |
void |
removeAllPhases()
Removes all entries from the list of Phases. |
IWDPhase |
removePhase(int index)
Removes the entry at the given index from the list of Phases. |
IWDPhase |
removePhase(java.lang.String id)
Removes the entry with the given ID from the list of Phases. |
void |
setAccessibilityDescription(java.lang.String value)
Sets property accessibilityDescription to the new value. |
void |
setBackgroundDesign(WDPhaseIndicatorBackgroundDesign value)
Sets property backgroundDesign to the new value. |
void |
setFirstVisiblePhase(java.lang.String value)
Sets property firstVisiblePhase to the new value. |
void |
setOnSelect(IWDAction action)
Maps the event onSelect to the given action. |
void |
setSelectedPhase(java.lang.String value)
Sets property selectedPhase to the new value. |
void |
swapPhases(int i,
int j)
Swaps the Phases 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 WDPhaseIndicatorBackgroundDesign DEFAULT_BACKGROUND_DESIGN
backgroundDesign.public static final java.lang.String DEFAULT_FIRST_VISIBLE_PHASE
firstVisiblePhase.public static final java.lang.String DEFAULT_SELECTED_PHASE
selectedPhase.| Method Detail |
public IWDAction getOnSelect()
onSelect is mapped.
The action performed when a phase is selected.
Event parameter is the ID of the selected phase.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 PhaseIndicator (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 bindBackgroundDesign(java.lang.String path)
backgroundDesign to the context attribute
specified by path.path - the path of the context attribute to which the backgroundDesign
property is boundpublic void bindBackgroundDesign(IWDAttributeInfo attributeInfo)
backgroundDesign to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
backgroundDesign property is boundpublic java.lang.String bindingOfBackgroundDesign()
backgroundDesign.public WDPhaseIndicatorBackgroundDesign getBackgroundDesign()
backgroundDesign property.
The initial value is WDPhaseIndicatorBackgroundDesign.EMPHASIZED.
Defines the background color of a PhaseIndicator.setBackgroundDesign(WDPhaseIndicatorBackgroundDesign)public void setBackgroundDesign(WDPhaseIndicatorBackgroundDesign value)
backgroundDesign to the new value.value - the new value of the backgroundDesign propertygetBackgroundDesign()public void bindFirstVisiblePhase(java.lang.String path)
firstVisiblePhase to the context attribute
specified by path.path - the path of the context attribute to which the firstVisiblePhase
property is boundpublic void bindFirstVisiblePhase(IWDAttributeInfo attributeInfo)
firstVisiblePhase to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
firstVisiblePhase property is boundpublic java.lang.String bindingOfFirstVisiblePhase()
firstVisiblePhase.public java.lang.String getFirstVisiblePhase()
firstVisiblePhase property.
The initial value is "".
Contains the ID of the first visible Phase.setFirstVisiblePhase(String)public void setFirstVisiblePhase(java.lang.String value)
firstVisiblePhase to the new value.value - the new value of the firstVisiblePhase propertygetFirstVisiblePhase()public void bindSelectedPhase(java.lang.String path)
selectedPhase to the context attribute
specified by path.path - the path of the context attribute to which the selectedPhase
property is boundpublic void bindSelectedPhase(IWDAttributeInfo attributeInfo)
selectedPhase to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
selectedPhase property is boundpublic java.lang.String bindingOfSelectedPhase()
selectedPhase.public java.lang.String getSelectedPhase()
selectedPhase property.
The initial value is "".
Contains the ID of the selected Phase.setSelectedPhase(String)public void setSelectedPhase(java.lang.String value)
selectedPhase to the new value.value - the new value of the selectedPhase propertygetSelectedPhase()public void addPhase(IWDPhase aPhase)
aPhase - the Phase to be added into the listgetPhases()
public void addPhase(IWDPhase aPhase,
int index)
aPhase - the Phase to be added into the listindex - zero based index of the insertion position in the listgetPhases()
public void swapPhases(int i,
int j)
i - index of the first Phase to swapj - index of the second Phase to swapIndexOutOfBoundsException - If one of the indices is out of boundspublic IWDPhase[] getPhases()
public IWDPhase getPhase(int index)
public int indexOfPhase(IWDPhase aPhase)
-1 if it is not contained in the list.public int numberOfPhases()
getPhases()public boolean hasPhases()
true if there are Phases;
false otherwise.getPhases()public java.util.Iterator iteratePhases()
getPhases()public IWDPhase removePhase(int index)
index - zero based index of the deletion position in the listaddPhase(IWDPhase),
getPhases()public IWDPhase removePhase(java.lang.String id)
id - unique ID of the element to be deleted from the listaddPhase(IWDPhase),
getPhases()public void removeAllPhases()
addPhase(IWDPhase),
getPhases()public void destroyAllPhases()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||