Web Dynpro API Documentation

com.sap.tc.webdynpro.clientserver.uielib.standard.api
Interface IWDButton

All Superinterfaces:
IWDAbstractButton, IWDAbstractCaption, IWDTableCellEditor, IWDUIElement, IWDViewElement

public interface IWDButton
extends IWDAbstractButton, IWDTableCellEditor

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

DEFAULT_DESIGN

public static final WDButtonDesign DEFAULT_DESIGN
Default value of property design.

DEFAULT_SIZE

public static final WDButtonSize DEFAULT_SIZE
Default value of property size.

DEFAULT_WIDTH

public static final java.lang.String DEFAULT_WIDTH
Default value of property width.
Method Detail

bindDesign

public void bindDesign(java.lang.String path)
Binds property design to the context attribute specified by path.
Parameters:
path - the path of the context attribute to which the design property is bound

bindDesign

public void bindDesign(IWDAttributeInfo attributeInfo)
Binds property design to the context attribute specified by the given attribute info.
Parameters:
attributeInfo - the info of the context attribute to which the design property is bound

bindingOfDesign

public java.lang.String bindingOfDesign()
Binding path of property design.
Returns:
the path of the context attribute to which the design is currently bound

getDesign

public WDButtonDesign getDesign()
Returns the value of the design property. The initial value is WDButtonDesign.STANDARD. The visual design of the button.
Returns:
the current value of the design property
See Also:
setDesign(WDButtonDesign)

setDesign

public void setDesign(WDButtonDesign value)
Sets property design to the new value.
Parameters:
value - the new value of the design property
See Also:
getDesign()

bindSize

public void bindSize(java.lang.String path)
Binds property size to the context attribute specified by path.
Parameters:
path - the path of the context attribute to which the size property is bound

bindSize

public void bindSize(IWDAttributeInfo attributeInfo)
Binds property size to the context attribute specified by the given attribute info.
Parameters:
attributeInfo - the info of the context attribute to which the size property is bound

bindingOfSize

public java.lang.String bindingOfSize()
Binding path of property size.
Returns:
the path of the context attribute to which the size is currently bound

getSize

public WDButtonSize getSize()
Returns the value of the size property. The initial value is WDButtonSize.STANDARD. The abstract size of the button.
Returns:
the current value of the size property
See Also:
setSize(WDButtonSize)

setSize

public void setSize(WDButtonSize value)
Sets property size to the new value.
Parameters:
value - the new value of the size property
See Also:
getSize()

bindWidth

public void bindWidth(java.lang.String path)
Binds property width to the context attribute specified by path.
Parameters:
path - the path of the context attribute to which the width property is bound

bindWidth

public void bindWidth(IWDAttributeInfo attributeInfo)
Binds property width to the context attribute specified by the given attribute info.
Parameters:
attributeInfo - the info of the context attribute to which the width property is bound

bindingOfWidth

public java.lang.String bindingOfWidth()
Binding path of property width.
Returns:
the path of the context attribute to which the width is currently bound

getWidth

public java.lang.String getWidth()
Returns the value of the width property. The initial value is "". The width (CSS size) of the button.
Returns:
the current value of the width property
See Also:
setWidth(String)

setWidth

public void setWidth(java.lang.String value)
Sets property width to the new value.
Parameters:
value - the new value of the width property
See Also:
getWidth()

Web Dynpro API Documentation

Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15