|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro CheckBoxGroup API. CheckBoxGroup represents a multiple selection visualized by a group of check boxes.
Data binding:
The context must provide a node X with X.cardinality = 0..n
and X.selection = 0..n with an attribute y. The type of y must be a simple type like String.
The number of check boxes is the number of node elements, their texts are the values of attribute y,
and the selection of the check boxes is determined by the (multiple) selection of the node.
The property texts must be bound to the attribute y.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
| Field Summary | |
static java.lang.String |
DEFAULT_ACCESSIBILITY_DESCRIPTION
Default value of property accessibilityDescription. |
static int |
DEFAULT_COL_COUNT
Default value of property colCount. |
static boolean |
DEFAULT_READ_ONLY
Default value of property readOnly. |
static WDState |
DEFAULT_STATE
Default value of property state. |
static WDTextDirection |
DEFAULT_TEXT_DIRECTION
Default value of property textDirection. |
static java.lang.String |
DEFAULT_WIDTH
Default value of property width. |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElement |
DEFAULT_ENABLED, DEFAULT_TOOLTIP, DEFAULT_VISIBLE |
| Method Summary | |
void |
bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
Binds property accessibilityDescription to the context attribute
specified by the given attribute info. |
void |
bindAccessibilityDescription(java.lang.String path)
Binds property accessibilityDescription to the context attribute
specified by path. |
void |
bindColCount(IWDAttributeInfo attributeInfo)
Binds property colCount to the context attribute
specified by the given attribute info. |
void |
bindColCount(java.lang.String path)
Binds property colCount to the context attribute
specified by path. |
java.lang.String |
bindingOfAccessibilityDescription()
Binding path of property accessibilityDescription. |
java.lang.String |
bindingOfColCount()
Binding path of property colCount. |
java.lang.String |
bindingOfReadOnly()
Binding path of property readOnly. |
java.lang.String |
bindingOfState()
Binding path of property state. |
java.lang.String |
bindingOfTextDirection()
Binding path of property textDirection. |
java.lang.String |
bindingOfTexts()
Note: This property must be bound to the context! Binding path of property texts. |
java.lang.String |
bindingOfWidth()
Binding path of property width. |
void |
bindReadOnly(IWDAttributeInfo attributeInfo)
Binds property readOnly to the context attribute
specified by the given attribute info. |
void |
bindReadOnly(java.lang.String path)
Binds property readOnly to the context attribute
specified by path. |
void |
bindState(IWDAttributeInfo attributeInfo)
Binds property state to the context attribute
specified by the given attribute info. |
void |
bindState(java.lang.String path)
Binds property state to the context attribute
specified by path. |
void |
bindTextDirection(IWDAttributeInfo attributeInfo)
Binds property textDirection to the context attribute
specified by the given attribute info. |
void |
bindTextDirection(java.lang.String path)
Binds property textDirection to the context attribute
specified by path. |
void |
bindTexts(IWDAttributeInfo attributeInfo)
Note: This property must be bound to the context! Binds property texts to the context attribute
specified by the given attribute info. |
void |
bindTexts(java.lang.String path)
Note: This property must be bound to the context! Binds property texts 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. |
java.lang.String |
getAccessibilityDescription()
Returns the value of the accessibilityDescription property. |
int |
getColCount()
Returns the value of the colCount property. |
IWDAction |
getOnToggle()
Returns the action to which the event onToggle is mapped. |
boolean |
getReadOnly()
Returns the value of the readOnly property. |
WDState |
getState()
Returns the value of the state property. |
WDTextDirection |
getTextDirection()
Returns the value of the textDirection property. |
java.lang.String |
getWidth()
Returns the value of the width property. |
IWDParameterMapping |
mappingOfOnToggle()
Returns the parameter mapping of event onToggle. |
void |
setAccessibilityDescription(java.lang.String value)
Sets property accessibilityDescription to the new value. |
void |
setColCount(int value)
Sets property colCount to the new value. |
void |
setOnToggle(IWDAction action)
Maps the event onToggle to the given action. |
void |
setReadOnly(boolean value)
Sets property readOnly to the new value. |
void |
setState(WDState value)
Sets property state to the new value. |
void |
setTextDirection(WDTextDirection value)
Sets property textDirection 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.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 java.lang.String DEFAULT_ACCESSIBILITY_DESCRIPTION
accessibilityDescription.public static final int DEFAULT_COL_COUNT
colCount.public static final boolean DEFAULT_READ_ONLY
readOnly.public static final WDState DEFAULT_STATE
state.public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection.public static final java.lang.String DEFAULT_WIDTH
width.| Method Detail |
public IWDAction getOnToggle()
onToggle is mapped.
The action performed when a check box in this group is toggled.
Event parameters are the new checked value and the zero based
index of the toggled check box.mappingOfOnToggle()public void setOnToggle(IWDAction action)
onToggle to the given action.action - the action for the eventgetOnToggle()public IWDParameterMapping mappingOfOnToggle()
onToggle.
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:getOnToggle()public void bindAccessibilityDescription(java.lang.String path)
accessibilityDescription to the context attribute
specified by path.path - the path of the context attribute to which the accessibilityDescription
property is boundpublic void bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
accessibilityDescription to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
accessibilityDescription property is boundpublic java.lang.String bindingOfAccessibilityDescription()
accessibilityDescription.public java.lang.String getAccessibilityDescription()
accessibilityDescription property.
The initial value is "".
Short description for the CheckBoxGroup (it's like a title) in the accessibility mode. It is only used if accessibility mode (508) is switched on and will be included into the tooltip. Its read by the screen reader when the whole UI element gets the focus.setAccessibilityDescription(String)public void setAccessibilityDescription(java.lang.String value)
accessibilityDescription to the new value.value - the new value of the accessibilityDescription propertygetAccessibilityDescription()public void bindColCount(java.lang.String path)
colCount to the context attribute
specified by path.path - the path of the context attribute to which the colCount
property is boundpublic void bindColCount(IWDAttributeInfo attributeInfo)
colCount to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
colCount property is boundpublic java.lang.String bindingOfColCount()
colCount.public int getColCount()
colCount property.
The initial value is 1.
Determines the number of columns used to display the check boxes.setColCount(int)public void setColCount(int value)
colCount to the new value.value - the new value of the colCount propertygetColCount()public void bindReadOnly(java.lang.String path)
readOnly to the context attribute
specified by path.path - the path of the context attribute to which the readOnly
property is boundpublic void bindReadOnly(IWDAttributeInfo attributeInfo)
readOnly to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
readOnly property is boundpublic java.lang.String bindingOfReadOnly()
readOnly.public boolean getReadOnly()
readOnly property.
The initial value is false.
Controls whether the check boxes in this group may be toggled.setReadOnly(boolean)public void setReadOnly(boolean value)
readOnly to the new value.value - the new value of the readOnly propertygetReadOnly()public void bindState(java.lang.String path)
state to the context attribute
specified by path.path - the path of the context attribute to which the state
property is boundpublic void bindState(IWDAttributeInfo attributeInfo)
state to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
state property is boundpublic java.lang.String bindingOfState()
state.public WDState getState()
state property.
The initial value is WDState.NORMAL.
The state of the check box group.setState(WDState)public void setState(WDState value)
state to the new value.value - the new value of the state propertygetState()public void bindTextDirection(java.lang.String path)
textDirection to the context attribute
specified by path.path - the path of the context attribute to which the textDirection
property is boundpublic void bindTextDirection(IWDAttributeInfo attributeInfo)
textDirection to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
textDirection property is boundpublic java.lang.String bindingOfTextDirection()
textDirection.public WDTextDirection getTextDirection()
textDirection property.
The initial value is WDTextDirection.INHERIT.
Determines the direction of displayed text.setTextDirection(WDTextDirection)public void setTextDirection(WDTextDirection value)
textDirection to the new value.value - the new value of the textDirection propertygetTextDirection()public void bindTexts(java.lang.String path)
texts to the context attribute
specified by path.path - the path of the context attribute to which the texts
property is boundpublic void bindTexts(IWDAttributeInfo attributeInfo)
texts to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
texts property is boundpublic java.lang.String bindingOfTexts()
texts.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 "".
Determines the (minimal) width of the CheckBoxGroup specified as CSS size.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 | |||||||||