|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro Button API. Button represents a push button. Pressing the button triggers an action.
The action is required and must be set!
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static WDButtonDesign |
DEFAULT_DESIGN
Default value of property design. |
static WDButtonSize |
DEFAULT_SIZE
Default value of property size. |
static java.lang.String |
DEFAULT_WIDTH
Default value of property width. |
| Fields inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractButton |
DEFAULT_TEXT |
| Fields inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractCaption |
DEFAULT_IMAGE_ALT, DEFAULT_IMAGE_FIRST, DEFAULT_IMAGE_SOURCE, DEFAULT_TEXT_DIRECTION |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
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. |
java.lang.String |
bindingOfDesign()
Binding path of property design. |
java.lang.String |
bindingOfSize()
Binding path of property size. |
java.lang.String |
bindingOfWidth()
Binding path of property width. |
void |
bindSize(IWDAttributeInfo attributeInfo)
Binds property size to the context attribute
specified by the given attribute info. |
void |
bindSize(java.lang.String path)
Binds property size to the context attribute
specified by path. |
void |
bindWidth(IWDAttributeInfo attributeInfo)
Binds property width to the context attribute
specified by the given attribute info. |
void |
bindWidth(java.lang.String path)
Binds property width to the context attribute
specified by path. |
WDButtonDesign |
getDesign()
Returns the value of the design property. |
WDButtonSize |
getSize()
Returns the value of the size property. |
java.lang.String |
getWidth()
Returns the value of the width property. |
void |
setDesign(WDButtonDesign value)
Sets property design to the new value. |
void |
setSize(WDButtonSize value)
Sets property size to the new value. |
void |
setWidth(java.lang.String value)
Sets property width to the new value. |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractButton |
bindingOfText, bindText, bindText, getOnAction, getText, mappingOfOnAction, setOnAction, setText |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractCaption |
bindImageAlt, bindImageAlt, bindImageFirst, bindImageFirst, bindImageSource, bindImageSource, bindingOfImageAlt, bindingOfImageFirst, bindingOfImageSource, bindingOfTextDirection, bindTextDirection, bindTextDirection, getImageAlt, getImageFirst, getImageSource, getTextDirection, setImageAlt, setImageFirst, setImageSource, setTextDirection |
| 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 |
getId, getView, requestFocus |
| Field Detail |
public static final WDButtonDesign DEFAULT_DESIGN
design.public static final WDButtonSize DEFAULT_SIZE
size.public static final java.lang.String DEFAULT_WIDTH
width.| Method Detail |
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 WDButtonDesign getDesign()
design property.
The initial value is WDButtonDesign.STANDARD.
The visual design of the button.setDesign(WDButtonDesign)public void setDesign(WDButtonDesign value)
design to the new value.value - the new value of the design propertygetDesign()public void bindSize(java.lang.String path)
size to the context attribute
specified by path.path - the path of the context attribute to which the size
property is boundpublic void bindSize(IWDAttributeInfo attributeInfo)
size to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
size property is boundpublic java.lang.String bindingOfSize()
size.public WDButtonSize getSize()
size property.
The initial value is WDButtonSize.STANDARD.
The abstract size of the button.setSize(WDButtonSize)public void setSize(WDButtonSize value)
size to the new value.value - the new value of the size propertygetSize()public void bindWidth(java.lang.String path)
width to the context attribute
specified by path.path - the path of the context attribute to which the width
property is boundpublic void bindWidth(IWDAttributeInfo attributeInfo)
width to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
width property is boundpublic java.lang.String bindingOfWidth()
width.public java.lang.String getWidth()
width property.
The initial value is "".
The width (CSS size) of the button.setWidth(String)public void setWidth(java.lang.String value)
width to the new value.value - the new value of the width propertygetWidth()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||