|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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!
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_DEFAULT_ITEM_ICON_ALT
Default value of the defaultItemIconAlt property is "". |
static String |
DEFAULT_DEFAULT_ITEM_ICON_SOURCE
Default value of the defaultItemIconSource property is "". |
static String |
DEFAULT_DEFAULT_NODE_ICON_ALT
Default value of the defaultNodeIconAlt property is "". |
static String |
DEFAULT_DEFAULT_NODE_ICON_SOURCE
Default value of the defaultNodeIconSource property is "". |
static String |
DEFAULT_MIN_HEIGHT
Default value of the minHeight property is "". |
static String |
DEFAULT_ROOT_TEXT
Default value of the rootText property is "". |
static boolean |
DEFAULT_ROOT_VISIBLE
Default value of the rootVisible property is true. |
static WDLeadSelectionChangeBehaviour |
DEFAULT_SELECTION_CHANGE_BEHAVIOUR
Default value of the selectionChangeBehaviour property is WDLeadSelectionChangeBehaviour.AUTO. |
static String |
DEFAULT_TITLE
Default value of the title property is "". |
static WDVisibility |
DEFAULT_TITLE_VISIBLE
Default value of the titleVisible property is WDVisibility.VISIBLE. |
static String |
DEFAULT_WIDTH
Default value of the width property is "". |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
addNodeType(IWDAbstractTreeNodeType nodeType)
Adds the given NodeType at the end of the NodeTypes list. |
void |
addNodeType(IWDAbstractTreeNodeType nodeType,
int index)
Inserts the given NodeType at the specified (zero-based) index into the NodeTypes list. |
void |
bindDataSource(IWDNodeInfo nodeInfo)
Binds the dataSource property to the context node specified by the given node info.
|
void |
bindDataSource(String path)
Binds the dataSource property to the context attribute specified by the given path.
|
void |
bindDefaultItemIconAlt(IWDAttributeInfo attributeInfo)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
bindDefaultItemIconAlt(String path)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
bindDefaultItemIconSource(IWDAttributeInfo attributeInfo)
Binds the defaultItemIconSource property to the context attribute specified by the given attribute info. |
void |
bindDefaultItemIconSource(String path)
Binds the defaultItemIconSource property to the context attribute specified by the given path. |
void |
bindDefaultNodeIconAlt(IWDAttributeInfo attributeInfo)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
bindDefaultNodeIconAlt(String path)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
bindDefaultNodeIconSource(IWDAttributeInfo attributeInfo)
Binds the defaultNodeIconSource property to the context attribute specified by the given attribute info. |
void |
bindDefaultNodeIconSource(String path)
Binds the defaultNodeIconSource property to the context attribute specified by the given path. |
String |
bindingOfDataSource()
Returns the binding path of the dataSource property.
|
String |
bindingOfDefaultItemIconAlt()
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
String |
bindingOfDefaultItemIconSource()
Returns the binding path of the defaultItemIconSource property. |
String |
bindingOfDefaultNodeIconAlt()
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
String |
bindingOfDefaultNodeIconSource()
Returns the binding path of the defaultNodeIconSource property. |
String |
bindingOfMinHeight()
Returns the binding path of the minHeight property. |
String |
bindingOfRootText()
Returns the binding path of the rootText property. |
String |
bindingOfRootVisible()
Returns the binding path of the rootVisible property. |
String |
bindingOfTitle()
Returns the binding path of the title property. |
String |
bindingOfTitleVisible()
Returns the binding path of the titleVisible property. |
String |
bindingOfWidth()
Returns the binding path of the width property. |
void |
bindMinHeight(IWDAttributeInfo attributeInfo)
Binds the minHeight property to the context attribute specified by the given attribute info. |
void |
bindMinHeight(String path)
Binds the minHeight property to the context attribute specified by the given path. |
void |
bindRootText(IWDAttributeInfo attributeInfo)
Binds the rootText property to the context attribute specified by the given attribute info. |
void |
bindRootText(String path)
Binds the rootText property to the context attribute specified by the given path. |
void |
bindRootVisible(IWDAttributeInfo attributeInfo)
Binds the rootVisible property to the context attribute specified by the given attribute info. |
void |
bindRootVisible(String path)
Binds the rootVisible property to the context attribute specified by the given path. |
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 |
bindTitleVisible(IWDAttributeInfo attributeInfo)
Binds the titleVisible property to the context attribute specified by the given attribute info. |
void |
bindTitleVisible(String path)
Binds the titleVisible property to the context attribute specified by the given path. |
void |
bindWidth(IWDAttributeInfo attributeInfo)
Binds the width property to the context attribute specified by the given attribute info. |
void |
bindWidth(String path)
Binds the width property to the context attribute specified by the given path. |
void |
destroyAllNodeTypes()
Destroys all elements in the NodeTypes list.
|
String |
getDefaultItemIconAlt()
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
String |
getDefaultItemIconSource()
Returns the value of the defaultItemIconSource property.
|
String |
getDefaultNodeIconAlt()
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
String |
getDefaultNodeIconSource()
Returns the value of the defaultNodeIconSource property.
|
String |
getMinHeight()
Returns the value of the minHeight property.
|
IWDAbstractTreeNodeType |
getNodeType(int index)
Returns the NodeType at the given index. |
IWDAbstractTreeNodeType[] |
getNodeTypes()
Returns the NodeTypes list as an array.
|
String |
getRootText()
Returns the value of the rootText property.
|
boolean |
getRootVisible()
Returns the value of the rootVisible property.
|
WDLeadSelectionChangeBehaviour |
getSelectionChangeBehaviour()
Returns the value of the selectionChangeBehaviour property.
|
String |
getTitle()
Returns the value of the title property.
|
WDVisibility |
getTitleVisible()
Returns the value of the titleVisible property.
|
String |
getWidth()
Returns the value of the width property.
|
boolean |
hasNodeTypes()
Returns true if there exists a NodeType. |
int |
indexOfNodeType(IWDAbstractTreeNodeType nodeType)
Returns the index of the given element in the NodeTypes list,
returns -1 if the element is not in the list. |
Iterator |
iterateNodeTypes()
Returns an iterator over the NodeTypes list. |
int |
numberOfNodeTypes()
Returns the number of NodeTypes. |
void |
removeAllNodeTypes()
Removes all elements from the NodeTypes list.
|
IWDAbstractTreeNodeType |
removeNodeType(int index)
Removes the NodeType at the given index from the NodeTypes list.
|
IWDAbstractTreeNodeType |
removeNodeType(String id)
Removes the NodeType with the given ID from the NodeTypes list.
|
void |
setDefaultItemIconAlt(String value)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
setDefaultItemIconSource(String value)
Sets the defaultItemIconSource property to the given value. |
void |
setDefaultNodeIconAlt(String value)
Deprecated. This property may be withdrawn with the first new NetWeaver release in 2006 as it is no longer needed. Unnecessary attribute if the tooltip contains semantic information about the image. |
void |
setDefaultNodeIconSource(String value)
Sets the defaultNodeIconSource property to the given value. |
void |
setMinHeight(String value)
Sets the minHeight property to the given value. |
void |
setRootText(String value)
Sets the rootText property to the given value. |
void |
setRootVisible(boolean value)
Sets the rootVisible property to the given value. |
void |
setSelectionChangeBehaviour(WDLeadSelectionChangeBehaviour selectionChangeBehaviour)
Sets the selectionChangeBehaviour property to the given value. |
void |
setTitle(String value)
Sets the title property to the given value. |
void |
setTitleVisible(WDVisibility value)
Sets the titleVisible property to the given value. |
void |
setWidth(String value)
Sets the width property to the given 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 |
destroy, getId, getView, requestFocus |
| Field Detail |
public static final String DEFAULT_DEFAULT_ITEM_ICON_ALT
defaultItemIconAlt property is "".
public static final String DEFAULT_DEFAULT_ITEM_ICON_SOURCE
defaultItemIconSource property is "".
public static final String DEFAULT_DEFAULT_NODE_ICON_ALT
defaultNodeIconAlt property is "".
public static final String DEFAULT_DEFAULT_NODE_ICON_SOURCE
defaultNodeIconSource property is "".
public static final String DEFAULT_MIN_HEIGHT
minHeight property is "".
public static final String DEFAULT_ROOT_TEXT
rootText property is "".
public static final boolean DEFAULT_ROOT_VISIBLE
rootVisible property is true.
public static final WDLeadSelectionChangeBehaviour DEFAULT_SELECTION_CHANGE_BEHAVIOUR
selectionChangeBehaviour property is WDLeadSelectionChangeBehaviour.AUTO.
public static final String DEFAULT_TITLE
title property is "".
public static final WDVisibility DEFAULT_TITLE_VISIBLE
titleVisible property is WDVisibility.VISIBLE.
public static final String DEFAULT_WIDTH
width property is "".
| Method Detail |
public void bindDataSource(String path)
dataSource property to the context attribute specified by the given path.
Note: This property must be bound to the context!
path - the context path of the attribute to which the dataSource property will be boundpublic void bindDataSource(IWDNodeInfo nodeInfo)
dataSource property to the context node specified by the given node info.
Note: This property must be bound to the context!
nodeInfo - the info of the context node to which the dataSource property will be boundpublic String bindingOfDataSource()
dataSource property.
Note: This property must be bound to the context!
dataSource property is currently boundpublic void bindDefaultItemIconAlt(String path)
defaultItemIconAlt property to the context attribute specified by the given path.
path - the context path of the attribute to which the defaultItemIconAlt property will be boundpublic void bindDefaultItemIconAlt(IWDAttributeInfo attributeInfo)
defaultItemIconAlt property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the defaultItemIconAlt property will be boundpublic String bindingOfDefaultItemIconAlt()
defaultItemIconAlt property.
defaultItemIconAlt property is currently boundpublic String getDefaultItemIconAlt()
defaultItemIconAlt property.
The initial value is "".
defaultItemIconAlt propertysetDefaultItemIconAlt(String)public void setDefaultItemIconAlt(String value)
defaultItemIconAlt property to the given value.
value - the new value of the defaultItemIconAlt propertygetDefaultItemIconAlt()public void bindDefaultItemIconSource(String path)
defaultItemIconSource property to the context attribute specified by the given path.
path - the context path of the attribute to which the defaultItemIconSource property will be boundpublic void bindDefaultItemIconSource(IWDAttributeInfo attributeInfo)
defaultItemIconSource property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the defaultItemIconSource property will be boundpublic String bindingOfDefaultItemIconSource()
defaultItemIconSource property.
defaultItemIconSource property is currently boundpublic String getDefaultItemIconSource()
defaultItemIconSource property.
The initial value is "".
defaultItemIconSource propertysetDefaultItemIconSource(String)public void setDefaultItemIconSource(String value)
defaultItemIconSource property to the given value.
value - the new value of the defaultItemIconSource propertygetDefaultItemIconSource()public void bindDefaultNodeIconAlt(String path)
defaultNodeIconAlt property to the context attribute specified by the given path.
path - the context path of the attribute to which the defaultNodeIconAlt property will be boundpublic void bindDefaultNodeIconAlt(IWDAttributeInfo attributeInfo)
defaultNodeIconAlt property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the defaultNodeIconAlt property will be boundpublic String bindingOfDefaultNodeIconAlt()
defaultNodeIconAlt property.
defaultNodeIconAlt property is currently boundpublic String getDefaultNodeIconAlt()
defaultNodeIconAlt property.
The initial value is "".
defaultNodeIconAlt propertysetDefaultNodeIconAlt(String)public void setDefaultNodeIconAlt(String value)
defaultNodeIconAlt property to the given value.
value - the new value of the defaultNodeIconAlt propertygetDefaultNodeIconAlt()public void bindDefaultNodeIconSource(String path)
defaultNodeIconSource property to the context attribute specified by the given path.
path - the context path of the attribute to which the defaultNodeIconSource property will be boundpublic void bindDefaultNodeIconSource(IWDAttributeInfo attributeInfo)
defaultNodeIconSource property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the defaultNodeIconSource property will be boundpublic String bindingOfDefaultNodeIconSource()
defaultNodeIconSource property.
defaultNodeIconSource property is currently boundpublic String getDefaultNodeIconSource()
defaultNodeIconSource property.
The initial value is "".
defaultNodeIconSource propertysetDefaultNodeIconSource(String)public void setDefaultNodeIconSource(String value)
defaultNodeIconSource property to the given value.
value - the new value of the defaultNodeIconSource propertygetDefaultNodeIconSource()public void bindMinHeight(String path)
minHeight property to the context attribute specified by the given path.
path - the context path of the attribute to which the minHeight property will be boundpublic void bindMinHeight(IWDAttributeInfo attributeInfo)
minHeight property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the minHeight property will be boundpublic String bindingOfMinHeight()
minHeight property.
minHeight property is currently boundpublic String getMinHeight()
minHeight property.
The initial value is "".
minHeight propertysetMinHeight(String)public void setMinHeight(String value)
minHeight property to the given value.
value - the new value of the minHeight propertygetMinHeight()public void bindRootText(String path)
rootText property to the context attribute specified by the given path.
path - the context path of the attribute to which the rootText property will be boundpublic void bindRootText(IWDAttributeInfo attributeInfo)
rootText property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the rootText property will be boundpublic String bindingOfRootText()
rootText property.
rootText property is currently boundpublic String getRootText()
rootText property.
The initial value is "".
rootText propertysetRootText(String)public void setRootText(String value)
rootText property to the given value.
value - the new value of the rootText propertygetRootText()public void bindRootVisible(String path)
rootVisible property to the context attribute specified by the given path.
path - the context path of the attribute to which the rootVisible property will be boundpublic void bindRootVisible(IWDAttributeInfo attributeInfo)
rootVisible property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the rootVisible property will be boundpublic String bindingOfRootVisible()
rootVisible property.
rootVisible property is currently boundpublic boolean getRootVisible()
rootVisible property.
The initial value is true.
rootVisible propertysetRootVisible(boolean)public void setRootVisible(boolean value)
rootVisible property to the given value.
value - the new value of the rootVisible propertygetRootVisible()public WDLeadSelectionChangeBehaviour getSelectionChangeBehaviour()
selectionChangeBehaviour property.
The initial value is WDLeadSelectionChangeBehaviour.AUTO.
Determines how this UI element reacts to user interactions with respect to
(automatically) changing the data source's lead selection.
selectionChangeBehaviour propertysetSelectionChangeBehaviour(WDLeadSelectionChangeBehaviour)public void setSelectionChangeBehaviour(WDLeadSelectionChangeBehaviour selectionChangeBehaviour)
selectionChangeBehaviour property to the given value.
selectionChangeBehaviour - the new value of the selectionChangeBehaviour propertygetSelectionChangeBehaviour()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 bindTitleVisible(String path)
titleVisible property to the context attribute specified by the given path.
path - the context path of the attribute to which the titleVisible property will be boundpublic void bindTitleVisible(IWDAttributeInfo attributeInfo)
titleVisible property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the titleVisible property will be boundpublic String bindingOfTitleVisible()
titleVisible property.
titleVisible property is currently boundpublic WDVisibility getTitleVisible()
titleVisible property.
The initial value is WDVisibility.VISIBLE.
titleVisible propertysetTitleVisible(WDVisibility)public void setTitleVisible(WDVisibility value)
titleVisible property to the given value.
value - the new value of the titleVisible propertygetTitleVisible()public void bindWidth(String path)
width property to the context attribute specified by the given path.
path - the context path of the attribute to which the width property will be boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the width property will be boundpublic String bindingOfWidth()
width property.
width property is currently boundpublic String getWidth()
width property.
The initial value is "".
width propertysetWidth(String)public void setWidth(String value)
width property to the given value.
value - the new value of the width propertygetWidth()public void addNodeType(IWDAbstractTreeNodeType nodeType)
NodeType at the end of the NodeTypes list.
nodeType - the NodeType to be added to the listgetNodeTypes()
public void addNodeType(IWDAbstractTreeNodeType nodeType,
int index)
NodeType at the specified (zero-based) index into the NodeTypes list.
nodeType - the NodeType to be inserted into the listindex - (zero-based) insertion position in the listgetNodeTypes()
public void swapNodeTypes(int i,
int j)
NodeTypes at the given indices.
i - index of the first NodeType to swapj - index of the second NodeType to swap
IndexOutOfBoundsException - If one of the indices is out of boundspublic IWDAbstractTreeNodeType[] getNodeTypes()
NodeTypes list as an array.
The nodes of a tree may be categorized into types, node types and item
types. Node types may have nested nodes, item types can only be leafs.
NodeTypes listpublic IWDAbstractTreeNodeType getNodeType(int index)
NodeType at the given index.
NodeType at the given indexpublic int indexOfNodeType(IWDAbstractTreeNodeType nodeType)
NodeTypes list,
returns -1 if the element is not in the list.
public int numberOfNodeTypes()
NodeTypes.
NodeTypesgetNodeTypes()public boolean hasNodeTypes()
true if there exists a NodeType.
true if there exists a NodeType, otherwise returns falsegetNodeTypes()public Iterator iterateNodeTypes()
NodeTypes list.
NodeTypes listgetNodeTypes()public IWDAbstractTreeNodeType removeNodeType(int index)
NodeType at the given index from the NodeTypes 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
addNodeType(IWDAbstractTreeNodeType),
getNodeTypes()public IWDAbstractTreeNodeType removeNodeType(String id)
NodeType with the given ID from the NodeTypes 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
addNodeType(IWDAbstractTreeNodeType),
getNodeTypes()public void removeAllNodeTypes()
NodeTypes list.
This does not destroy the removed elements, i.e. they may be added again!
addNodeType(IWDAbstractTreeNodeType),
getNodeTypes()public void destroyAllNodeTypes()
NodeTypes 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 | |||||||||