|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro TimedTrigger API. UI element that automatically and periodically triggers a UI element event with a defined delay. TimedTrigger is currently invisible like InvisibleElement, thus it ignores both its tooltip and its visibility. Nevertheless it occupies a cell in certain layouts like MatrixLayout. To use a timed trigger you have to bind its "onAction" event to an action and set its "delay" property to the desired delay in seconds. There are several ways to turn off a timed trigger. The most convenient way is to disable the action this trigger is bound to (like you would do with a button). Other possibilities are setting the delay to 0 or disabling the timed trigger like any other UI element. Caution: Triggering the action rudely interrupts user interactions!
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 int |
DEFAULT_DELAY
Default value of the delay property is 0. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindDelay(IWDAttributeInfo attributeInfo)
Binds the delay property to the context attribute specified by the given attribute info. |
void |
bindDelay(String path)
Binds the delay property to the context attribute specified by the given path. |
String |
bindingOfDelay()
Returns the binding path of the delay property. |
int |
getDelay()
Returns the value of the delay property.
|
IWDAction |
getOnAction()
Returns the action assigned to event onAction.
|
IWDParameterMapping |
mappingOfOnAction()
Returns the parameter mapping for event onAction.
|
void |
setDelay(int value)
Sets the delay property to the given value. |
void |
setOnAction(IWDAction action)
Assigns the given action to event onAction. |
| 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 int DEFAULT_DELAY
delay property is 0.
| Method Detail |
public IWDAction getOnAction()
onAction.
The action to be triggered when the specified delay has passed.
onActionmappingOfOnAction()public void setOnAction(IWDAction action)
onAction.
action - the action assigned to the eventgetOnAction()public IWDParameterMapping mappingOfOnAction()
onAction.
This event has no parameters.
onActiongetOnAction()public void bindDelay(String path)
delay property to the context attribute specified by the given path.
path - the context path of the attribute to which the delay property will be boundpublic void bindDelay(IWDAttributeInfo attributeInfo)
delay property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the delay property will be boundpublic String bindingOfDelay()
delay property.
delay property is currently boundpublic int getDelay()
delay property.
The initial value is 0.
delay propertysetDelay(int)public void setDelay(int value)
delay property to the given value.
value - the new value of the delay propertygetDelay()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||