|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro PatternSequence API. PatternSequence is used to display a sequence of data organized in steps. Use it, for example, for creating a wizard. One step at a time may be selected and its content by displayed. A step is selected by clicking its title. If not all steps can be displayed scrolling between the tabs is possible. The PatternSequence can contains a Menu and several PatternExpandFunction (for open/close buttons).
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
IWDPatternExpandFunction,
IWDPatternSequenceStep| Field Summary | |
static int |
DEFAULT_MAX_VISIBLE_STEPS
Default value of property maxVisibleSteps. |
static java.lang.String |
DEFAULT_SELECTED_STEP
Default value of property selectedStep. |
| Fields inherited from interface com.sap.tc.webdynpro.clientserver.uielib.pattern.api.IWDAbstractPatternContainer |
DEFAULT_ACCESSIBILITY_DESCRIPTION, DEFAULT_DESIGN, DEFAULT_HAS_CONTENT_CONNECTOR |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
addStep(IWDPatternSequenceStep aPatternSequenceStep)
Adds the given Step at the end of the list of Steps. |
void |
addStep(IWDPatternSequenceStep aPatternSequenceStep,
int index)
Adds the given Step at the specified index in the list of Steps. |
java.lang.String |
bindingOfMaxVisibleSteps()
Binding path of property maxVisibleSteps. |
java.lang.String |
bindingOfSelectedStep()
Binding path of property selectedStep. |
void |
bindMaxVisibleSteps(IWDAttributeInfo attributeInfo)
Binds property maxVisibleSteps to the context attribute
specified by the given attribute info. |
void |
bindMaxVisibleSteps(java.lang.String path)
Binds property maxVisibleSteps to the context attribute
specified by path. |
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 |
destroyAllSteps()
Destroys all entries in the list of Steps. |
void |
destroyTitle()
Destroys the Title instance. |
int |
getMaxVisibleSteps()
Returns the value of the maxVisibleSteps property. |
IWDAction |
getOnSelect()
Returns the action to which the event onSelect is mapped. |
java.lang.String |
getSelectedStep()
Returns the value of the selectedStep property. |
IWDPatternSequenceStep |
getStep(int index)
Returns the Step at the given index. |
IWDPatternSequenceStep[] |
getSteps()
Returns the list of Steps. |
IWDPatternSequenceStep |
getTitle()
Gets the Title instance. |
boolean |
hasSteps()
Checks if there exist Steps. |
int |
indexOfStep(IWDPatternSequenceStep aPatternSequenceStep)
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 |
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. |
IWDPatternSequenceStep |
removeStep(int index)
Removes the entry at the given index from the list of Steps. |
IWDPatternSequenceStep |
removeStep(java.lang.String id)
Removes the entry with the given ID from the list of Steps. |
void |
setMaxVisibleSteps(int value)
Sets property maxVisibleSteps to the new value. |
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 |
setTitle(IWDPatternSequenceStep title)
Sets the Title instance. |
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 int DEFAULT_MAX_VISIBLE_STEPS
maxVisibleSteps.public static final java.lang.String DEFAULT_SELECTED_STEP
selectedStep.| Method Detail |
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 bindMaxVisibleSteps(java.lang.String path)
maxVisibleSteps to the context attribute
specified by path.path - the path of the context attribute to which the maxVisibleSteps
property is boundpublic void bindMaxVisibleSteps(IWDAttributeInfo attributeInfo)
maxVisibleSteps to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
maxVisibleSteps property is boundpublic java.lang.String bindingOfMaxVisibleSteps()
maxVisibleSteps.public int getMaxVisibleSteps()
maxVisibleSteps property.
The initial value is 7.
Sets the maximum number of visible items for the PatternSequenceStep control. If the PatternSequence contains more Steps scrolling between Steps is enabled.setMaxVisibleSteps(int)public void setMaxVisibleSteps(int value)
maxVisibleSteps to the new value.value - the new value of the maxVisibleSteps propertygetMaxVisibleSteps()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 currently selected PatternSequenceStep.setSelectedStep(String)public void setSelectedStep(java.lang.String value)
selectedStep to the new value.value - the new value of the selectedStep propertygetSelectedStep()public void addStep(IWDPatternSequenceStep aPatternSequenceStep)
aPatternSequenceStep - the Step to be added into the listgetSteps()
public void addStep(IWDPatternSequenceStep aPatternSequenceStep,
int index)
aPatternSequenceStep - 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 IWDPatternSequenceStep[] getSteps()
public IWDPatternSequenceStep getStep(int index)
public int indexOfStep(IWDPatternSequenceStep aPatternSequenceStep)
-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 IWDPatternSequenceStep removeStep(int index)
index - zero based index of the deletion position in the listaddStep(IWDPatternSequenceStep),
getSteps()public IWDPatternSequenceStep removeStep(java.lang.String id)
id - unique ID of the element to be deleted from the listaddStep(IWDPatternSequenceStep),
getSteps()public void removeAllSteps()
addStep(IWDPatternSequenceStep),
getSteps()public void destroyAllSteps()
public IWDPatternSequenceStep getTitle()
setTitle(IWDPatternSequenceStep)public void setTitle(IWDPatternSequenceStep title)
title - the new titlegetTitle()public void destroyTitle()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||