|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro TreeNodeType API. TreeNodeType is the type of tree nodes that may have nested nodes.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static boolean |
DEFAULT_EXPANDED
Default value of property expanded. |
static boolean |
DEFAULT_HAS_CHILDREN
Default value of property hasChildren. |
| Fields inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractTreeNodeType |
DEFAULT_DESIGN, DEFAULT_ICON_ALT, DEFAULT_ICON_SOURCE, DEFAULT_IGNORE_ACTION, DEFAULT_TEXT, DEFAULT_TEXT_DIRECTION, DEFAULT_TOOLTIP |
| Method Summary | |
void |
bindExpanded(IWDAttributeInfo attributeInfo)
Binds property expanded to the context attribute
specified by the given attribute info. |
void |
bindExpanded(java.lang.String path)
Binds property expanded to the context attribute
specified by path. |
void |
bindHasChildren(IWDAttributeInfo attributeInfo)
Binds property hasChildren to the context attribute
specified by the given attribute info. |
void |
bindHasChildren(java.lang.String path)
Binds property hasChildren to the context attribute
specified by path. |
java.lang.String |
bindingOfExpanded()
Binding path of property expanded. |
java.lang.String |
bindingOfHasChildren()
Binding path of property hasChildren. |
boolean |
getExpanded()
Returns the value of the expanded property. |
boolean |
getHasChildren()
Returns the value of the hasChildren property. |
IWDAction |
getOnLoadChildren()
Returns the action to which the event onLoadChildren is mapped. |
IWDParameterMapping |
mappingOfOnLoadChildren()
Returns the parameter mapping of event onLoadChildren. |
void |
setExpanded(boolean value)
Sets property expanded to the new value. |
void |
setHasChildren(boolean value)
Sets property hasChildren to the new value. |
void |
setOnLoadChildren(IWDAction action)
Maps the event onLoadChildren to the given action. |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractTreeNodeType |
bindDataSource, bindDataSource, bindDesign, bindDesign, bindIconAlt, bindIconAlt, bindIconSource, bindIconSource, bindIgnoreAction, bindIgnoreAction, bindingOfDataSource, bindingOfDesign, bindingOfIconAlt, bindingOfIconSource, bindingOfIgnoreAction, bindingOfText, bindingOfTextDirection, bindingOfTooltip, bindText, bindText, bindTextDirection, bindTextDirection, bindTooltip, bindTooltip, getDesign, getIconAlt, getIconSource, getIgnoreAction, getOnAction, getText, getTextDirection, getTooltip, getTree, mappingOfOnAction, setDesign, setIconAlt, setIconSource, setIgnoreAction, setOnAction, setText, setTextDirection, setTooltip |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final boolean DEFAULT_EXPANDED
expanded.public static final boolean DEFAULT_HAS_CHILDREN
hasChildren.| Method Detail |
public IWDAction getOnLoadChildren()
onLoadChildren is mapped.
Event that is caused when a tree node without children is expanded for the first time.mappingOfOnLoadChildren()public void setOnLoadChildren(IWDAction action)
onLoadChildren to the given action.action - the action for the eventgetOnLoadChildren()public IWDParameterMapping mappingOfOnLoadChildren()
onLoadChildren.
To be accessible in a view controller, a UI element event parameter has to be mapped to a controller event handler parameter. This is done by defining a parameter mapping.
Event parameters:getOnLoadChildren()public void bindExpanded(java.lang.String path)
expanded to the context attribute
specified by path.path - the path of the context attribute to which the expanded
property is boundpublic void bindExpanded(IWDAttributeInfo attributeInfo)
expanded to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
expanded property is boundpublic java.lang.String bindingOfExpanded()
expanded.public boolean getExpanded()
expanded property.
The initial value is false.
Determines if this node is currently expanded (i.e. open).setExpanded(boolean)public void setExpanded(boolean value)
expanded to the new value.value - the new value of the expanded propertygetExpanded()public void bindHasChildren(java.lang.String path)
hasChildren to the context attribute
specified by path.path - the path of the context attribute to which the hasChildren
property is boundpublic void bindHasChildren(IWDAttributeInfo attributeInfo)
hasChildren to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
hasChildren property is boundpublic java.lang.String bindingOfHasChildren()
hasChildren.public boolean getHasChildren()
hasChildren property.
The initial value is true.
Determines if this node has childrensetHasChildren(boolean)public void setHasChildren(boolean value)
hasChildren to the new value.value - the new value of the hasChildren propertygetHasChildren()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||