|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro AbstractTreeNodeType API. AbstractTreeNodeType is the base class of a trees node types.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static WDTreeNodeDesign |
DEFAULT_DESIGN
Default value of property design. |
static java.lang.String |
DEFAULT_ICON_ALT
Default value of property iconAlt. |
static java.lang.String |
DEFAULT_ICON_SOURCE
Default value of property iconSource. |
static boolean |
DEFAULT_IGNORE_ACTION
Default value of property ignoreAction. |
static java.lang.String |
DEFAULT_TEXT
Default value of property text. |
static WDTextDirection |
DEFAULT_TEXT_DIRECTION
Default value of property textDirection. |
static java.lang.String |
DEFAULT_TOOLTIP
Default value of property tooltip. |
| Method Summary | |
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 |
bindDesign(IWDAttributeInfo attributeInfo)
Binds property design to the context attribute
specified by the given attribute info. |
void |
bindDesign(java.lang.String path)
Binds property design to the context attribute
specified by path. |
void |
bindIconAlt(IWDAttributeInfo attributeInfo)
Binds property iconAlt to the context attribute
specified by the given attribute info. |
void |
bindIconAlt(java.lang.String path)
Binds property iconAlt to the context attribute
specified by path. |
void |
bindIconSource(IWDAttributeInfo attributeInfo)
Binds property iconSource to the context attribute
specified by the given attribute info. |
void |
bindIconSource(java.lang.String path)
Binds property iconSource to the context attribute
specified by path. |
void |
bindIgnoreAction(IWDAttributeInfo attributeInfo)
Binds property ignoreAction to the context attribute
specified by the given attribute info. |
void |
bindIgnoreAction(java.lang.String path)
Binds property ignoreAction 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 |
bindingOfDesign()
Binding path of property design. |
java.lang.String |
bindingOfIconAlt()
Binding path of property iconAlt. |
java.lang.String |
bindingOfIconSource()
Binding path of property iconSource. |
java.lang.String |
bindingOfIgnoreAction()
Binding path of property ignoreAction. |
java.lang.String |
bindingOfText()
Binding path of property text. |
java.lang.String |
bindingOfTextDirection()
Binding path of property textDirection. |
java.lang.String |
bindingOfTooltip()
Binding path of property tooltip. |
void |
bindText(IWDAttributeInfo attributeInfo)
Binds property text to the context attribute
specified by the given attribute info. |
void |
bindText(java.lang.String path)
Binds property text to the context attribute
specified by path. |
void |
bindTextDirection(IWDAttributeInfo attributeInfo)
Binds property textDirection to the context attribute
specified by the given attribute info. |
void |
bindTextDirection(java.lang.String path)
Binds property textDirection to the context attribute
specified by path. |
void |
bindTooltip(IWDAttributeInfo attributeInfo)
Binds property tooltip to the context attribute
specified by the given attribute info. |
void |
bindTooltip(java.lang.String path)
Binds property tooltip to the context attribute
specified by path. |
WDTreeNodeDesign |
getDesign()
Returns the value of the design property. |
java.lang.String |
getIconAlt()
Returns the value of the iconAlt property. |
java.lang.String |
getIconSource()
Returns the value of the iconSource property. |
boolean |
getIgnoreAction()
Returns the value of the ignoreAction property. |
IWDAction |
getOnAction()
Returns the action to which the event onAction is mapped. |
java.lang.String |
getText()
Returns the value of the text property. |
WDTextDirection |
getTextDirection()
Returns the value of the textDirection property. |
java.lang.String |
getTooltip()
Returns the value of the tooltip property. |
IWDTree |
getTree()
Returns the current Tree. |
IWDParameterMapping |
mappingOfOnAction()
Returns the parameter mapping of event onAction. |
void |
setDesign(WDTreeNodeDesign value)
Sets property design to the new value. |
void |
setIconAlt(java.lang.String value)
Sets property iconAlt to the new value. |
void |
setIconSource(java.lang.String value)
Sets property iconSource to the new value. |
void |
setIgnoreAction(boolean value)
Sets property ignoreAction to the new value. |
void |
setOnAction(IWDAction action)
Maps the event onAction to the given action. |
void |
setText(java.lang.String value)
Sets property text to the new value. |
void |
setTextDirection(WDTextDirection value)
Sets property textDirection to the new value. |
void |
setTooltip(java.lang.String value)
Sets property tooltip to the new value. |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final WDTreeNodeDesign DEFAULT_DESIGN
design.public static final java.lang.String DEFAULT_ICON_ALT
iconAlt.public static final java.lang.String DEFAULT_ICON_SOURCE
iconSource.public static final boolean DEFAULT_IGNORE_ACTION
ignoreAction.public static final java.lang.String DEFAULT_TEXT
text.public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection.public static final java.lang.String DEFAULT_TOOLTIP
tooltip.| Method Detail |
public IWDAction getOnAction()
onAction is mapped.
The name of the action performed when a node of this type is activated.mappingOfOnAction()public void setOnAction(IWDAction action)
onAction to the given action.action - the action for the eventgetOnAction()public IWDParameterMapping mappingOfOnAction()
onAction.
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:getOnAction()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 bindDesign(java.lang.String path)
design to the context attribute
specified by path.path - the path of the context attribute to which the design
property is boundpublic void bindDesign(IWDAttributeInfo attributeInfo)
design to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
design property is boundpublic java.lang.String bindingOfDesign()
design.public WDTreeNodeDesign getDesign()
design property.
The initial value is WDTreeNodeDesign.STANDARD.
Defines the appearance of the text of a TreeNode.setDesign(WDTreeNodeDesign)public void setDesign(WDTreeNodeDesign value)
design to the new value.value - the new value of the design propertygetDesign()public void bindIconAlt(java.lang.String path)
iconAlt to the context attribute
specified by path.path - the path of the context attribute to which the iconAlt
property is boundpublic void bindIconAlt(IWDAttributeInfo attributeInfo)
iconAlt to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
iconAlt property is boundpublic java.lang.String bindingOfIconAlt()
iconAlt.public java.lang.String getIconAlt()
iconAlt property.
The initial value is "".
setIconAlt(String)public void setIconAlt(java.lang.String value)
iconAlt to the new value.value - the new value of the iconAlt propertygetIconAlt()public void bindIconSource(java.lang.String path)
iconSource to the context attribute
specified by path.path - the path of the context attribute to which the iconSource
property is boundpublic void bindIconSource(IWDAttributeInfo attributeInfo)
iconSource to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
iconSource property is boundpublic java.lang.String bindingOfIconSource()
iconSource.public java.lang.String getIconSource()
iconSource property.
The initial value is "".
Determines the URL where this icon gets its data.setIconSource(String)public void setIconSource(java.lang.String value)
iconSource to the new value.value - the new value of the iconSource propertygetIconSource()public void bindIgnoreAction(java.lang.String path)
ignoreAction to the context attribute
specified by path.path - the path of the context attribute to which the ignoreAction
property is boundpublic void bindIgnoreAction(IWDAttributeInfo attributeInfo)
ignoreAction to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
ignoreAction property is boundpublic java.lang.String bindingOfIgnoreAction()
ignoreAction.public boolean getIgnoreAction()
ignoreAction property.
The initial value is false.
Specifies wether the TreeNode should be displayed as link or not. By default every node that has an action attached to it is displayed as link. With this property this default behaviour is overwritten.setIgnoreAction(boolean)public void setIgnoreAction(boolean value)
ignoreAction to the new value.value - the new value of the ignoreAction propertygetIgnoreAction()public void bindText(java.lang.String path)
text to the context attribute
specified by path.path - the path of the context attribute to which the text
property is boundpublic void bindText(IWDAttributeInfo attributeInfo)
text to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
text property is boundpublic java.lang.String bindingOfText()
text.public java.lang.String getText()
text property.
The initial value is "".
The text used for nodes of this type.setText(String)public void setText(java.lang.String value)
text to the new value.value - the new value of the text propertygetText()public void bindTextDirection(java.lang.String path)
textDirection to the context attribute
specified by path.path - the path of the context attribute to which the textDirection
property is boundpublic void bindTextDirection(IWDAttributeInfo attributeInfo)
textDirection to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
textDirection property is boundpublic java.lang.String bindingOfTextDirection()
textDirection.public WDTextDirection getTextDirection()
textDirection property.
The initial value is WDTextDirection.INHERIT.
Determines the direction of displayed text.setTextDirection(WDTextDirection)public void setTextDirection(WDTextDirection value)
textDirection to the new value.value - the new value of the textDirection propertygetTextDirection()public void bindTooltip(java.lang.String path)
tooltip to the context attribute
specified by path.path - the path of the context attribute to which the tooltip
property is boundpublic void bindTooltip(IWDAttributeInfo attributeInfo)
tooltip to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
tooltip property is boundpublic java.lang.String bindingOfTooltip()
tooltip.public java.lang.String getTooltip()
tooltip property.
The initial value is "".
The tooltip used for nodes of this type.setTooltip(String)public void setTooltip(java.lang.String value)
tooltip to the new value.value - the new value of the tooltip propertygetTooltip()public IWDTree getTree()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||