|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro Tree API. Tree is a UI element that displays hierarchically organized data.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static java.lang.String |
DEFAULT_DEFAULT_ITEM_ICON_ALT
Default value of property defaultItemIconAlt. |
static java.lang.String |
DEFAULT_DEFAULT_ITEM_ICON_SOURCE
Default value of property defaultItemIconSource. |
static java.lang.String |
DEFAULT_DEFAULT_NODE_ICON_ALT
Default value of property defaultNodeIconAlt. |
static java.lang.String |
DEFAULT_DEFAULT_NODE_ICON_SOURCE
Default value of property defaultNodeIconSource. |
static java.lang.String |
DEFAULT_MIN_HEIGHT
Default value of property minHeight. |
static java.lang.String |
DEFAULT_ROOT_TEXT
Default value of property rootText. |
static boolean |
DEFAULT_ROOT_VISIBLE
Default value of property rootVisible. |
static java.lang.String |
DEFAULT_TITLE
Default value of property title. |
static WDVisibility |
DEFAULT_TITLE_VISIBLE
Default value of property titleVisible. |
static java.lang.String |
DEFAULT_WIDTH
Default value of property width. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
addNodeType(IWDAbstractTreeNodeType aAbstractTreeNodeType)
Adds the given NodeType at the end of the list of NodeTypes. |
void |
addNodeType(IWDAbstractTreeNodeType aAbstractTreeNodeType,
int index)
Adds the given NodeType at the specified index in the list of NodeTypes. |
void |
bindDataSource(IWDNodeInfo nodeInfo)
Note: This property must be bound to the context! Binds property dataSource to the context node
specified by the given node info. |
void |
bindDataSource(java.lang.String path)
Note: This property must be bound to the context! Binds property dataSource to the context attribute
specified by path. |
void |
bindDefaultItemIconAlt(IWDAttributeInfo attributeInfo)
Binds property defaultItemIconAlt to the context attribute
specified by the given attribute info. |
void |
bindDefaultItemIconAlt(java.lang.String path)
Binds property defaultItemIconAlt to the context attribute
specified by path. |
void |
bindDefaultItemIconSource(IWDAttributeInfo attributeInfo)
Binds property defaultItemIconSource to the context attribute
specified by the given attribute info. |
void |
bindDefaultItemIconSource(java.lang.String path)
Binds property defaultItemIconSource to the context attribute
specified by path. |
void |
bindDefaultNodeIconAlt(IWDAttributeInfo attributeInfo)
Binds property defaultNodeIconAlt to the context attribute
specified by the given attribute info. |
void |
bindDefaultNodeIconAlt(java.lang.String path)
Binds property defaultNodeIconAlt to the context attribute
specified by path. |
void |
bindDefaultNodeIconSource(IWDAttributeInfo attributeInfo)
Binds property defaultNodeIconSource to the context attribute
specified by the given attribute info. |
void |
bindDefaultNodeIconSource(java.lang.String path)
Binds property defaultNodeIconSource to the context attribute
specified by path. |
java.lang.String |
bindingOfDataSource()
Note: This property must be bound to the context! Binding path of property dataSource. |
java.lang.String |
bindingOfDefaultItemIconAlt()
Binding path of property defaultItemIconAlt. |
java.lang.String |
bindingOfDefaultItemIconSource()
Binding path of property defaultItemIconSource. |
java.lang.String |
bindingOfDefaultNodeIconAlt()
Binding path of property defaultNodeIconAlt. |
java.lang.String |
bindingOfDefaultNodeIconSource()
Binding path of property defaultNodeIconSource. |
java.lang.String |
bindingOfMinHeight()
Binding path of property minHeight. |
java.lang.String |
bindingOfRootText()
Binding path of property rootText. |
java.lang.String |
bindingOfRootVisible()
Binding path of property rootVisible. |
java.lang.String |
bindingOfTitle()
Binding path of property title. |
java.lang.String |
bindingOfTitleVisible()
Binding path of property titleVisible. |
java.lang.String |
bindingOfWidth()
Binding path of property width. |
void |
bindMinHeight(IWDAttributeInfo attributeInfo)
Binds property minHeight to the context attribute
specified by the given attribute info. |
void |
bindMinHeight(java.lang.String path)
Binds property minHeight to the context attribute
specified by path. |
void |
bindRootText(IWDAttributeInfo attributeInfo)
Binds property rootText to the context attribute
specified by the given attribute info. |
void |
bindRootText(java.lang.String path)
Binds property rootText to the context attribute
specified by path. |
void |
bindRootVisible(IWDAttributeInfo attributeInfo)
Binds property rootVisible to the context attribute
specified by the given attribute info. |
void |
bindRootVisible(java.lang.String path)
Binds property rootVisible to the context attribute
specified by path. |
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 |
bindTitleVisible(IWDAttributeInfo attributeInfo)
Binds property titleVisible to the context attribute
specified by the given attribute info. |
void |
bindTitleVisible(java.lang.String path)
Binds property titleVisible to the context attribute
specified by path. |
void |
bindWidth(IWDAttributeInfo attributeInfo)
Binds property width to the context attribute
specified by the given attribute info. |
void |
bindWidth(java.lang.String path)
Binds property width to the context attribute
specified by path. |
void |
destroyAllNodeTypes()
Destroys all entries in the list of NodeTypes. |
java.lang.String |
getDefaultItemIconAlt()
Returns the value of the defaultItemIconAlt property. |
java.lang.String |
getDefaultItemIconSource()
Returns the value of the defaultItemIconSource property. |
java.lang.String |
getDefaultNodeIconAlt()
Returns the value of the defaultNodeIconAlt property. |
java.lang.String |
getDefaultNodeIconSource()
Returns the value of the defaultNodeIconSource property. |
java.lang.String |
getMinHeight()
Returns the value of the minHeight property. |
IWDAbstractTreeNodeType |
getNodeType(int index)
Returns the NodeType at the given index. |
IWDAbstractTreeNodeType[] |
getNodeTypes()
Returns the list of NodeTypes. |
java.lang.String |
getRootText()
Returns the value of the rootText property. |
boolean |
getRootVisible()
Returns the value of the rootVisible property. |
java.lang.String |
getTitle()
Returns the value of the title property. |
WDVisibility |
getTitleVisible()
Returns the value of the titleVisible property. |
java.lang.String |
getWidth()
Returns the value of the width property. |
boolean |
hasNodeTypes()
Checks if there exist NodeTypes. |
int |
indexOfNodeType(IWDAbstractTreeNodeType aAbstractTreeNodeType)
Returns the index of the given element in the list of NodeTypes or -1 if it is not contained in the list. |
java.util.Iterator |
iterateNodeTypes()
Returns an iterator over the list of NodeTypes. |
int |
numberOfNodeTypes()
Returns the number of NodeTypes. |
void |
removeAllNodeTypes()
Removes all entries from the list of NodeTypes. |
IWDAbstractTreeNodeType |
removeNodeType(int index)
Removes the entry at the given index from the list of NodeTypes. |
IWDAbstractTreeNodeType |
removeNodeType(java.lang.String id)
Removes the entry with the given ID from the list of NodeTypes. |
void |
setDefaultItemIconAlt(java.lang.String value)
Sets property defaultItemIconAlt to the new value. |
void |
setDefaultItemIconSource(java.lang.String value)
Sets property defaultItemIconSource to the new value. |
void |
setDefaultNodeIconAlt(java.lang.String value)
Sets property defaultNodeIconAlt to the new value. |
void |
setDefaultNodeIconSource(java.lang.String value)
Sets property defaultNodeIconSource to the new value. |
void |
setMinHeight(java.lang.String value)
Sets property minHeight to the new value. |
void |
setRootText(java.lang.String value)
Sets property rootText to the new value. |
void |
setRootVisible(boolean value)
Sets property rootVisible to the new value. |
void |
setTitle(java.lang.String value)
Sets property title to the new value. |
void |
setTitleVisible(WDVisibility value)
Sets property titleVisible to the new value. |
void |
setWidth(java.lang.String value)
Sets property width to the new value. |
void |
swapNodeTypes(int i,
int j)
Swaps the NodeTypes 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_DEFAULT_ITEM_ICON_ALT
defaultItemIconAlt.public static final java.lang.String DEFAULT_DEFAULT_ITEM_ICON_SOURCE
defaultItemIconSource.public static final java.lang.String DEFAULT_DEFAULT_NODE_ICON_ALT
defaultNodeIconAlt.public static final java.lang.String DEFAULT_DEFAULT_NODE_ICON_SOURCE
defaultNodeIconSource.public static final java.lang.String DEFAULT_MIN_HEIGHT
minHeight.public static final java.lang.String DEFAULT_ROOT_TEXT
rootText.public static final boolean DEFAULT_ROOT_VISIBLE
rootVisible.public static final java.lang.String DEFAULT_TITLE
title.public static final WDVisibility DEFAULT_TITLE_VISIBLE
titleVisible.public static final java.lang.String DEFAULT_WIDTH
width.| Method Detail |
public void bindDataSource(java.lang.String path)
dataSource to the context attribute
specified by path.path - the path of the context attribute to which the dataSource
property is boundpublic void bindDataSource(IWDNodeInfo nodeInfo)
dataSource to the context node
specified by the given node info.nodeInfo - the info of the context node to which the
dataSource property is boundpublic java.lang.String bindingOfDataSource()
dataSource.public void bindDefaultItemIconAlt(java.lang.String path)
defaultItemIconAlt to the context attribute
specified by path.path - the path of the context attribute to which the defaultItemIconAlt
property is boundpublic void bindDefaultItemIconAlt(IWDAttributeInfo attributeInfo)
defaultItemIconAlt to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
defaultItemIconAlt property is boundpublic java.lang.String bindingOfDefaultItemIconAlt()
defaultItemIconAlt.public java.lang.String getDefaultItemIconAlt()
defaultItemIconAlt property.
The initial value is "".
The alternative text displayed if the image cannot be displayed.setDefaultItemIconAlt(String)public void setDefaultItemIconAlt(java.lang.String value)
defaultItemIconAlt to the new value.value - the new value of the defaultItemIconAlt propertygetDefaultItemIconAlt()public void bindDefaultItemIconSource(java.lang.String path)
defaultItemIconSource to the context attribute
specified by path.path - the path of the context attribute to which the defaultItemIconSource
property is boundpublic void bindDefaultItemIconSource(IWDAttributeInfo attributeInfo)
defaultItemIconSource to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
defaultItemIconSource property is boundpublic java.lang.String bindingOfDefaultItemIconSource()
defaultItemIconSource.public java.lang.String getDefaultItemIconSource()
defaultItemIconSource property.
The initial value is "".
Determines the URL where this default icon for the Item gets its data.setDefaultItemIconSource(String)public void setDefaultItemIconSource(java.lang.String value)
defaultItemIconSource to the new value.value - the new value of the defaultItemIconSource propertygetDefaultItemIconSource()public void bindDefaultNodeIconAlt(java.lang.String path)
defaultNodeIconAlt to the context attribute
specified by path.path - the path of the context attribute to which the defaultNodeIconAlt
property is boundpublic void bindDefaultNodeIconAlt(IWDAttributeInfo attributeInfo)
defaultNodeIconAlt to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
defaultNodeIconAlt property is boundpublic java.lang.String bindingOfDefaultNodeIconAlt()
defaultNodeIconAlt.public java.lang.String getDefaultNodeIconAlt()
defaultNodeIconAlt property.
The initial value is "".
The alternative text displayed if the image cannot be displayed.setDefaultNodeIconAlt(String)public void setDefaultNodeIconAlt(java.lang.String value)
defaultNodeIconAlt to the new value.value - the new value of the defaultNodeIconAlt propertygetDefaultNodeIconAlt()public void bindDefaultNodeIconSource(java.lang.String path)
defaultNodeIconSource to the context attribute
specified by path.path - the path of the context attribute to which the defaultNodeIconSource
property is boundpublic void bindDefaultNodeIconSource(IWDAttributeInfo attributeInfo)
defaultNodeIconSource to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
defaultNodeIconSource property is boundpublic java.lang.String bindingOfDefaultNodeIconSource()
defaultNodeIconSource.public java.lang.String getDefaultNodeIconSource()
defaultNodeIconSource property.
The initial value is "".
Determines the URL where this default icon for the Node gets its data.setDefaultNodeIconSource(String)public void setDefaultNodeIconSource(java.lang.String value)
defaultNodeIconSource to the new value.value - the new value of the defaultNodeIconSource propertygetDefaultNodeIconSource()public void bindMinHeight(java.lang.String path)
minHeight to the context attribute
specified by path.path - the path of the context attribute to which the minHeight
property is boundpublic void bindMinHeight(IWDAttributeInfo attributeInfo)
minHeight to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
minHeight property is boundpublic java.lang.String bindingOfMinHeight()
minHeight.public java.lang.String getMinHeight()
minHeight property.
The initial value is "".
The minimal height of the tree given as a CSS size.setMinHeight(String)public void setMinHeight(java.lang.String value)
minHeight to the new value.value - the new value of the minHeight propertygetMinHeight()public void bindRootText(java.lang.String path)
rootText to the context attribute
specified by path.path - the path of the context attribute to which the rootText
property is boundpublic void bindRootText(IWDAttributeInfo attributeInfo)
rootText to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
rootText property is boundpublic java.lang.String bindingOfRootText()
rootText.public java.lang.String getRootText()
rootText property.
The initial value is "".
setRootText(String)public void setRootText(java.lang.String value)
rootText to the new value.value - the new value of the rootText propertygetRootText()public void bindRootVisible(java.lang.String path)
rootVisible to the context attribute
specified by path.path - the path of the context attribute to which the rootVisible
property is boundpublic void bindRootVisible(IWDAttributeInfo attributeInfo)
rootVisible to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
rootVisible property is boundpublic java.lang.String bindingOfRootVisible()
rootVisible.public boolean getRootVisible()
rootVisible property.
The initial value is true.
Determines if the root of the tree is visible.setRootVisible(boolean)public void setRootVisible(boolean value)
rootVisible to the new value.value - the new value of the rootVisible propertygetRootVisible()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 "".
The title of the tree.setTitle(String)public void setTitle(java.lang.String value)
title to the new value.value - the new value of the title propertygetTitle()public void bindTitleVisible(java.lang.String path)
titleVisible to the context attribute
specified by path.path - the path of the context attribute to which the titleVisible
property is boundpublic void bindTitleVisible(IWDAttributeInfo attributeInfo)
titleVisible to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
titleVisible property is boundpublic java.lang.String bindingOfTitleVisible()
titleVisible.public WDVisibility getTitleVisible()
titleVisible property.
The initial value is WDVisibility.VISIBLE.
setTitleVisible(WDVisibility)public void setTitleVisible(WDVisibility value)
titleVisible to the new value.value - the new value of the titleVisible propertygetTitleVisible()public void bindWidth(java.lang.String path)
width to the context attribute
specified by path.path - the path of the context attribute to which the width
property is boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
width property is boundpublic java.lang.String bindingOfWidth()
width.public java.lang.String getWidth()
width property.
The initial value is "".
setWidth(String)public void setWidth(java.lang.String value)
width to the new value.value - the new value of the width propertygetWidth()public void addNodeType(IWDAbstractTreeNodeType aAbstractTreeNodeType)
aAbstractTreeNodeType - the NodeType to be added into the listgetNodeTypes()
public void addNodeType(IWDAbstractTreeNodeType aAbstractTreeNodeType,
int index)
aAbstractTreeNodeType - the NodeType to be added into the listindex - zero based index of the insertion position in the listgetNodeTypes()
public void swapNodeTypes(int i,
int j)
i - index of the first NodeType to swapj - index of the second NodeType to swapIndexOutOfBoundsException - If one of the indices is out of boundspublic IWDAbstractTreeNodeType[] getNodeTypes()
public IWDAbstractTreeNodeType getNodeType(int index)
public int indexOfNodeType(IWDAbstractTreeNodeType aAbstractTreeNodeType)
-1 if it is not contained in the list.public int numberOfNodeTypes()
getNodeTypes()public boolean hasNodeTypes()
true if there are NodeTypes;
false otherwise.getNodeTypes()public java.util.Iterator iterateNodeTypes()
getNodeTypes()public IWDAbstractTreeNodeType removeNodeType(int index)
index - zero based index of the deletion position in the listaddNodeType(IWDAbstractTreeNodeType),
getNodeTypes()public IWDAbstractTreeNodeType removeNodeType(java.lang.String id)
id - unique ID of the element to be deleted from the listaddNodeType(IWDAbstractTreeNodeType),
getNodeTypes()public void removeAllNodeTypes()
addNodeType(IWDAbstractTreeNodeType),
getNodeTypes()public void destroyAllNodeTypes()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||