|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro PatternExpandFunction API. The PatternExpandFunction draws the collapse/expand icon for the PatternContainer controls. This reflects the current state of the control. Typical implementations will allow the user to cycle through the three options: SMALL, MEDIUM, LARGE. The SMALL state will collapse the PatternContainer, the MEDIUM creates a half-expanded state, and the LARGE creates a fully expanded state. The implementation of the toggle must done by the application.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static boolean |
DEFAULT_ENABLED
Default value of property enabled. |
static WDIconButtonFunctionStatus |
DEFAULT_EXPAND_STATE
Default value of property expandState. |
static java.lang.String |
DEFAULT_TOOLTIP
Default value of property tooltip. |
| Method Summary | |
void |
bindEnabled(IWDAttributeInfo attributeInfo)
Binds property enabled to the context attribute
specified by the given attribute info. |
void |
bindEnabled(java.lang.String path)
Binds property enabled to the context attribute
specified by path. |
void |
bindExpandState(IWDAttributeInfo attributeInfo)
Binds property expandState to the context attribute
specified by the given attribute info. |
void |
bindExpandState(java.lang.String path)
Binds property expandState to the context attribute
specified by path. |
java.lang.String |
bindingOfEnabled()
Binding path of property enabled. |
java.lang.String |
bindingOfExpandState()
Binding path of property expandState. |
java.lang.String |
bindingOfTooltip()
Binding path of property tooltip. |
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. |
IWDAbstractPatternContainer |
getAbstractPatternContainer()
Returns the current AbstractPatternContainer. |
boolean |
getEnabled()
Returns the value of the enabled property. |
WDIconButtonFunctionStatus |
getExpandState()
Returns the value of the expandState property. |
IWDAction |
getOnAction()
Returns the action to which the event onAction is mapped. |
java.lang.String |
getTooltip()
Returns the value of the tooltip property. |
IWDParameterMapping |
mappingOfOnAction()
Returns the parameter mapping of event onAction. |
void |
setEnabled(boolean value)
Sets property enabled to the new value. |
void |
setExpandState(WDIconButtonFunctionStatus value)
Sets property expandState to the new value. |
void |
setOnAction(IWDAction action)
Maps the event onAction to the given action. |
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 boolean DEFAULT_ENABLED
enabled.public static final WDIconButtonFunctionStatus DEFAULT_EXPAND_STATE
expandState.public static final java.lang.String DEFAULT_TOOLTIP
tooltip.| Method Detail |
public IWDAction getOnAction()
onAction is mapped.
The action performed when the button is pressed.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 bindEnabled(java.lang.String path)
enabled to the context attribute
specified by path.path - the path of the context attribute to which the enabled
property is boundpublic void bindEnabled(IWDAttributeInfo attributeInfo)
enabled to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
enabled property is boundpublic java.lang.String bindingOfEnabled()
enabled.public boolean getEnabled()
enabled property.
The initial value is true.
Determines if this tab is enabled. A disabled tab cannot be activated and its contents cannot be displayed.setEnabled(boolean)public void setEnabled(boolean value)
enabled to the new value.value - the new value of the enabled propertygetEnabled()public void bindExpandState(java.lang.String path)
expandState to the context attribute
specified by path.path - the path of the context attribute to which the expandState
property is boundpublic void bindExpandState(IWDAttributeInfo attributeInfo)
expandState to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
expandState property is boundpublic java.lang.String bindingOfExpandState()
expandState.public WDIconButtonFunctionStatus getExpandState()
expandState property.
The initial value is WDIconButtonFunctionStatus.LARGE.
Sets the status of the icon button in the PatternExpandFunction control. For the parameter values see enumeration 'IconButtonFunctionStatus'.setExpandState(WDIconButtonFunctionStatus)public void setExpandState(WDIconButtonFunctionStatus value)
expandState to the new value.value - the new value of the expandState propertygetExpandState()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 text that is displayed when the mouse cursor is moved onto
the UI element.setTooltip(String)public void setTooltip(java.lang.String value)
tooltip to the new value.value - the new value of the tooltip propertygetTooltip()public IWDAbstractPatternContainer getAbstractPatternContainer()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||