|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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).
Note: To be used only by the Portal Platform group. Other usages by applications and customers WILL NOT BE SUPPORTED!
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
IWDPatternExpandFunction,
IWDPatternSequenceStep
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 |
IWDPatternSequence.IWDOnSelect
Deprecated. Interface defining the parameter names for event onSelect.
|
| Field Summary | |
static int |
DEFAULT_MAX_VISIBLE_STEPS
Deprecated. Default value of the maxVisibleSteps property is 7. |
static String |
DEFAULT_SELECTED_STEP
Deprecated. Default value of the selectedStep property is "". |
| 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 step)
Deprecated. Adds the given Step at the end of the Steps list. |
void |
addStep(IWDPatternSequenceStep step,
int index)
Deprecated. Inserts the given Step at the specified (zero-based) index into the Steps list. |
String |
bindingOfMaxVisibleSteps()
Deprecated. Returns the binding path of the maxVisibleSteps property. |
String |
bindingOfSelectedStep()
Deprecated. Returns the binding path of the selectedStep property. |
void |
bindMaxVisibleSteps(IWDAttributeInfo attributeInfo)
Deprecated. Binds the maxVisibleSteps property to the context attribute specified by the given attribute info. |
void |
bindMaxVisibleSteps(String path)
Deprecated. Binds the maxVisibleSteps property to the context attribute specified by the given path. |
void |
bindSelectedStep(IWDAttributeInfo attributeInfo)
Deprecated. Binds the selectedStep property to the context attribute specified by the given attribute info. |
void |
bindSelectedStep(String path)
Deprecated. Binds the selectedStep property to the context attribute specified by the given path. |
void |
destroyAllSteps()
Deprecated. Destroys all elements in the Steps list.
|
void |
destroyTitle()
Deprecated. Destroys the aggregated Title element.
|
int |
getMaxVisibleSteps()
Deprecated. Returns the value of the maxVisibleSteps property.
|
IWDAction |
getOnSelect()
Deprecated. Returns the action assigned to event onSelect.
|
String |
getSelectedStep()
Deprecated. Returns the value of the selectedStep property.
|
IWDPatternSequenceStep |
getStep(int index)
Deprecated. Returns the Step at the given index. |
IWDPatternSequenceStep[] |
getSteps()
Deprecated. Returns the Steps list as an array |
IWDPatternSequenceStep |
getTitle()
Deprecated. Returns the aggregated Title element |
boolean |
hasSteps()
Deprecated. Returns true if there exists a Step. |
int |
indexOfStep(IWDPatternSequenceStep step)
Deprecated. Returns the index of the given element in the Steps list,
returns -1 if the element is not in the list. |
Iterator |
iterateSteps()
Deprecated. Returns an iterator over the Steps list. |
IWDParameterMapping |
mappingOfOnSelect()
Deprecated. Returns the parameter mapping for event onSelect.
|
int |
numberOfSteps()
Deprecated. Returns the number of Steps. |
void |
removeAllSteps()
Deprecated. Removes all elements from the Steps list.
|
IWDPatternSequenceStep |
removeStep(int index)
Deprecated. Removes the Step at the given index from the Steps list.
|
IWDPatternSequenceStep |
removeStep(String id)
Deprecated. Removes the Step with the given ID from the Steps list.
|
void |
setMaxVisibleSteps(int value)
Deprecated. Sets the maxVisibleSteps property to the given value. |
void |
setOnSelect(IWDAction action)
Deprecated. Assigns the given action to event onSelect. |
void |
setSelectedStep(String value)
Deprecated. Sets the selectedStep property to the given value. |
void |
setTitle(IWDPatternSequenceStep title)
Deprecated. Sets the aggregated Title element. |
void |
swapSteps(int i,
int j)
Deprecated. 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 |
destroy, getId, getView, requestFocus |
| Field Detail |
public static final int DEFAULT_MAX_VISIBLE_STEPS
maxVisibleSteps property is 7.
public static final String DEFAULT_SELECTED_STEP
selectedStep property is "".
| Method Detail |
public IWDAction getOnSelect()
onSelect.
The action performed when a step is selected.
Event parameter is the ID of the selected step.
onSelectmappingOfOnSelect()public void setOnSelect(IWDAction action)
onSelect.
action - the action assigned to the eventgetOnSelect()public IWDParameterMapping mappingOfOnSelect()
onSelect.
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)
{
IWDPatternSequence myPatternSequence = (IWDPatternSequence) view.getElement("ID-of-PatternSequence");
myPatternSequence.mappingOfOnSelect().addSourceMapping
(
IWDPatternSequence.IWDOnSelect.STEP, // event parameter name
"name-of-action-parameter" // (type String)
);
}
Event onSelect has the following parameters:
String step
onSelectgetOnSelect()public void bindMaxVisibleSteps(String path)
maxVisibleSteps property to the context attribute specified by the given path.
path - the context path of the attribute to which the maxVisibleSteps property will be boundpublic void bindMaxVisibleSteps(IWDAttributeInfo attributeInfo)
maxVisibleSteps property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the maxVisibleSteps property will be boundpublic String bindingOfMaxVisibleSteps()
maxVisibleSteps property.
maxVisibleSteps property is currently boundpublic int getMaxVisibleSteps()
maxVisibleSteps property.
The initial value is 7.
maxVisibleSteps propertysetMaxVisibleSteps(int)public void setMaxVisibleSteps(int value)
maxVisibleSteps property to the given value.
value - the new value of the maxVisibleSteps propertygetMaxVisibleSteps()public void bindSelectedStep(String path)
selectedStep property to the context attribute specified by the given path.
path - the context path of the attribute to which the selectedStep property will be boundpublic void bindSelectedStep(IWDAttributeInfo attributeInfo)
selectedStep property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the selectedStep property will be boundpublic String bindingOfSelectedStep()
selectedStep property.
selectedStep property is currently boundpublic String getSelectedStep()
selectedStep property.
The initial value is "".
selectedStep propertysetSelectedStep(String)public void setSelectedStep(String value)
selectedStep property to the given value.
value - the new value of the selectedStep propertygetSelectedStep()public void addStep(IWDPatternSequenceStep step)
Step at the end of the Steps list.
step - the Step to be added to the listgetSteps()
public void addStep(IWDPatternSequenceStep step,
int index)
Step at the specified (zero-based) index into the Steps list.
step - the Step to be inserted into the listindex - (zero-based) insertion position in the listgetSteps()
public void swapSteps(int i,
int j)
Steps at the given indices.
i - index of the first Step to swapj - index of the second Step to swap
IndexOutOfBoundsException - If one of the indices is out of boundspublic IWDPatternSequenceStep[] getSteps()
Steps list as an array.
Steps listpublic IWDPatternSequenceStep getStep(int index)
Step at the given index.
Step at the given indexpublic int indexOfStep(IWDPatternSequenceStep step)
Steps list,
returns -1 if the element is not in the list.
public int numberOfSteps()
Steps.
StepsgetSteps()public boolean hasSteps()
true if there exists a Step.
true if there exists a Step, otherwise returns falsegetSteps()public Iterator iterateSteps()
Steps list.
Steps listgetSteps()public IWDPatternSequenceStep removeStep(int index)
Step at the given index from the Steps list.
This does not destroy the removed element, i.e. it may be added again!
index - (zero-based) index of the removal position in the list
addStep(IWDPatternSequenceStep),
getSteps()public IWDPatternSequenceStep removeStep(String id)
Step with the given ID from the Steps list.
This does not destroy the removed element, i.e. it may be added again!
id - unique ID of the element to be removed from the list
addStep(IWDPatternSequenceStep),
getSteps()public void removeAllSteps()
Steps list.
This does not destroy the removed elements, i.e. they may be added again!
addStep(IWDPatternSequenceStep),
getSteps()public void destroyAllSteps()
Steps list.
Destroyed view elements do not exist any longer in their view, i.e. new elements may be
created with the same IDs.
public IWDPatternSequenceStep getTitle()
Title element.
Title elementsetTitle(IWDPatternSequenceStep)public void setTitle(IWDPatternSequenceStep title)
Title element.
title - the new titlegetTitle()public void destroyTitle()
Title element.
Destroyed view elements do not exist any longer in their view, i.e. a new element may be
created with the same ID.
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||