|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro PatternTray API. Use the PatternTray control to create a Tray like control. It groups a number of UI elements under a common header. The PatternTray can contain a Menu and several PatternExpandFunction elements (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!
IWDPatternContentArea,
IWDPatternExpandFunction
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| Field Summary | |
static String |
DEFAULT_TITLE
Default value of the title 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 |
addItem(IWDPatternContentArea item)
Adds the given Item at the end of the Items list. |
void |
addItem(IWDPatternContentArea item,
int index)
Inserts the given Item at the specified (zero-based) index into the Items list. |
String |
bindingOfTitle()
Returns the binding path of the title property. |
void |
bindTitle(IWDAttributeInfo attributeInfo)
Binds the title property to the context attribute specified by the given attribute info. |
void |
bindTitle(String path)
Binds the title property to the context attribute specified by the given path. |
void |
destroyAllItems()
Destroys all elements in the Items list.
|
IWDPatternContentArea |
getItem(int index)
Returns the Item at the given index. |
IWDPatternContentArea[] |
getItems()
Returns the Items list as an array |
String |
getTitle()
Returns the value of the title property.
|
boolean |
hasItems()
Returns true if there exists a Item. |
int |
indexOfItem(IWDPatternContentArea item)
Returns the index of the given element in the Items list,
returns -1 if the element is not in the list. |
Iterator |
iterateItems()
Returns an iterator over the Items list. |
int |
numberOfItems()
Returns the number of Items. |
void |
removeAllItems()
Removes all elements from the Items list.
|
IWDPatternContentArea |
removeItem(int index)
Removes the Item at the given index from the Items list.
|
IWDPatternContentArea |
removeItem(String id)
Removes the Item with the given ID from the Items list.
|
void |
setTitle(String value)
Sets the title property to the given value. |
void |
swapItems(int i,
int j)
Swaps the Items 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 String DEFAULT_TITLE
title property is "".
| Method Detail |
public void bindTitle(String path)
title property to the context attribute specified by the given path.
path - the context path of the attribute to which the title property will be boundpublic void bindTitle(IWDAttributeInfo attributeInfo)
title property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the title property will be boundpublic String bindingOfTitle()
title property.
title property is currently boundpublic String getTitle()
title property.
The initial value is "".
title propertysetTitle(String)public void setTitle(String value)
title property to the given value.
value - the new value of the title propertygetTitle()public void addItem(IWDPatternContentArea item)
Item at the end of the Items list.
item - the Item to be added to the listgetItems()
public void addItem(IWDPatternContentArea item,
int index)
Item at the specified (zero-based) index into the Items list.
item - the Item to be inserted into the listindex - (zero-based) insertion position in the listgetItems()
public void swapItems(int i,
int j)
Items at the given indices.
i - index of the first Item to swapj - index of the second Item to swap
IndexOutOfBoundsException - If one of the indices is out of boundspublic IWDPatternContentArea[] getItems()
Items list as an array.
Items listpublic IWDPatternContentArea getItem(int index)
Item at the given index.
Item at the given indexpublic int indexOfItem(IWDPatternContentArea item)
Items list,
returns -1 if the element is not in the list.
public int numberOfItems()
Items.
ItemsgetItems()public boolean hasItems()
true if there exists a Item.
true if there exists a Item, otherwise returns falsegetItems()public Iterator iterateItems()
Items list.
Items listgetItems()public IWDPatternContentArea removeItem(int index)
Item at the given index from the Items 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
addItem(IWDPatternContentArea),
getItems()public IWDPatternContentArea removeItem(String id)
Item with the given ID from the Items 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
addItem(IWDPatternContentArea),
getItems()public void removeAllItems()
Items list.
This does not destroy the removed elements, i.e. they may be added again!
addItem(IWDPatternContentArea),
getItems()public void destroyAllItems()
Items list.
Destroyed view elements do not exist any longer in their view, i.e. new elements may be
created with the same IDs.
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||