|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro UIElement API. UIElement is the abstract base class of all UI elements. It defines a set of common properties and provides access to a layout data object.
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 java.lang.String |
DEFAULT_TOOLTIP
Default value of property tooltip. |
static WDVisibility |
DEFAULT_VISIBLE
Default value of property visible. |
| 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. |
java.lang.String |
bindingOfEnabled()
Binding path of property enabled. |
java.lang.String |
bindingOfTooltip()
Binding path of property tooltip. |
java.lang.String |
bindingOfVisible()
Binding path of property visible. |
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. |
void |
bindVisible(IWDAttributeInfo attributeInfo)
Binds property visible to the context attribute
specified by the given attribute info. |
void |
bindVisible(java.lang.String path)
Binds property visible to the context attribute
specified by path. |
IWDLayoutData |
createLayoutData(java.lang.Class layoutDataInterface)
Creates and sets layout data of the given type. |
IWDUIElementContainer |
getContainer()
Returns the current Container. |
boolean |
getEnabled()
Returns the value of the enabled property. |
IWDLayoutData |
getLayoutData()
Gets the LayoutData instance. |
java.lang.String |
getTooltip()
Returns the value of the tooltip property. |
WDVisibility |
getVisible()
Returns the value of the visible property. |
void |
setEnabled(boolean value)
Sets property enabled to the new value. |
void |
setTooltip(java.lang.String value)
Sets property tooltip to the new value. |
void |
setVisible(WDVisibility value)
Sets property visible 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 java.lang.String DEFAULT_TOOLTIP
tooltip.public static final WDVisibility DEFAULT_VISIBLE
visible.| Method Detail |
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 whether the UI element is enabled. An enabled UI element
can respond to user input and generate events.setEnabled(boolean)public void setEnabled(boolean value)
enabled to the new value.value - the new value of the enabled propertygetEnabled()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 null.
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 void bindVisible(java.lang.String path)
visible to the context attribute
specified by path.path - the path of the context attribute to which the visible
property is boundpublic void bindVisible(IWDAttributeInfo attributeInfo)
visible to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
visible property is boundpublic java.lang.String bindingOfVisible()
visible.public WDVisibility getVisible()
visible property.
The initial value is WDVisibility.VISIBLE.
Determines whether the UI element is visible.setVisible(WDVisibility)public void setVisible(WDVisibility value)
visible to the new value.value - the new value of the visible propertygetVisible()public IWDLayoutData getLayoutData()
createLayoutData(Class)public IWDUIElementContainer getContainer()
public IWDLayoutData createLayoutData(java.lang.Class layoutDataInterface)
layoutDataInterface - the type of layout data to be created
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||