|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | 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).
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
IWDPatternContentArea,
IWDPatternExpandFunction| Field Summary | |
static java.lang.String |
DEFAULT_TITLE
Default value of property title. |
| 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 aPatternContentArea)
Adds the given Item at the end of the list of Items. |
void |
addItem(IWDPatternContentArea aPatternContentArea,
int index)
Adds the given Item at the specified index in the list of Items. |
java.lang.String |
bindingOfTitle()
Binding path of property title. |
void |
bindTitle(IWDAttributeInfo attributeInfo)
Binds property title to the context attribute
specified by the given attribute info. |
void |
bindTitle(java.lang.String path)
Binds property title to the context attribute
specified by path. |
void |
destroyAllItems()
Destroys all entries in the list of Items. |
IWDPatternContentArea |
getItem(int index)
Returns the Item at the given index. |
IWDPatternContentArea[] |
getItems()
Returns the list of Items. |
java.lang.String |
getTitle()
Returns the value of the title property. |
boolean |
hasItems()
Checks if there exist Items. |
int |
indexOfItem(IWDPatternContentArea aPatternContentArea)
Returns the index of the given element in the list of Items or -1 if it is not contained in the list. |
java.util.Iterator |
iterateItems()
Returns an iterator over the list of Items. |
int |
numberOfItems()
Returns the number of Items. |
void |
removeAllItems()
Removes all entries from the list of Items. |
IWDPatternContentArea |
removeItem(int index)
Removes the entry at the given index from the list of Items. |
IWDPatternContentArea |
removeItem(java.lang.String id)
Removes the entry with the given ID from the list of Items. |
void |
setTitle(java.lang.String value)
Sets property title to the new 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 |
getId, getView, requestFocus |
| Field Detail |
public static final java.lang.String DEFAULT_TITLE
title.| Method Detail |
public void bindTitle(java.lang.String path)
title to the context attribute
specified by path.path - the path of the context attribute to which the title
property is boundpublic void bindTitle(IWDAttributeInfo attributeInfo)
title to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
title property is boundpublic java.lang.String bindingOfTitle()
title.public java.lang.String getTitle()
title property.
The initial value is "".
Determines the header text of a PatternTitle container.setTitle(String)public void setTitle(java.lang.String value)
title to the new value.value - the new value of the title propertygetTitle()public void addItem(IWDPatternContentArea aPatternContentArea)
aPatternContentArea - the Item to be added into the listgetItems()
public void addItem(IWDPatternContentArea aPatternContentArea,
int index)
aPatternContentArea - the Item to be added into the listindex - zero based index of the insertion position in the listgetItems()
public void swapItems(int i,
int j)
i - index of the first Item to swapj - index of the second Item to swapIndexOutOfBoundsException - If one of the indices is out of boundspublic IWDPatternContentArea[] getItems()
public IWDPatternContentArea getItem(int index)
public int indexOfItem(IWDPatternContentArea aPatternContentArea)
-1 if it is not contained in the list.public int numberOfItems()
getItems()public boolean hasItems()
true if there are Items;
false otherwise.getItems()public java.util.Iterator iterateItems()
getItems()public IWDPatternContentArea removeItem(int index)
index - zero based index of the deletion position in the listaddItem(IWDPatternContentArea),
getItems()public IWDPatternContentArea removeItem(java.lang.String id)
id - unique ID of the element to be deleted from the listaddItem(IWDPatternContentArea),
getItems()public void removeAllItems()
addItem(IWDPatternContentArea),
getItems()public void destroyAllItems()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||