|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro TablePopinToggleCell API. This cell variant is used to expand/collapse a table's popin. The Table.selectedPopin property is automatically updated when toggling the state.
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| Nested Class Summary | |
static interface |
IWDTablePopinToggleCell.IWDOnToggle
Interface defining the parameter names for event onToggle.
|
| Field Summary | |
static WDTableCellDesign |
DEFAULT_CELL_DESIGN
Default value of the cellDesign property is WDTableCellDesign.STANDARD. |
| Fields inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractTableCellVariant |
DEFAULT_H_ALIGN, DEFAULT_VARIANT_KEY |
| Method Summary | |
void |
bindCellDesign(IWDAttributeInfo attributeInfo)
Binds the cellDesign property to the context attribute specified by the given attribute info. |
void |
bindCellDesign(String path)
Binds the cellDesign property to the context attribute specified by the given path. |
String |
bindingOfCellDesign()
Returns the binding path of the cellDesign property. |
WDTableCellDesign |
getCellDesign()
Returns the value of the cellDesign property.
|
IWDAction |
getOnToggle()
Returns the action assigned to event onToggle.
|
IWDParameterMapping |
mappingOfOnToggle()
Returns the parameter mapping for event onToggle.
|
void |
setCellDesign(WDTableCellDesign value)
Sets the cellDesign property to the given value. |
void |
setOnToggle(IWDAction action)
Assigns the given action to event onToggle. |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDAbstractTableCellVariant |
bindHAlign, bindHAlign, bindingOfHAlign, getHAlign, getVariantKey, setHAlign, setVariantKey |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
destroy, getId, getView, requestFocus |
| Field Detail |
public static final WDTableCellDesign DEFAULT_CELL_DESIGN
cellDesign property is WDTableCellDesign.STANDARD.
| Method Detail |
public IWDAction getOnToggle()
onToggle.
This event is launched when toggling the expanded / collapsed state.
onTogglemappingOfOnToggle()public void setOnToggle(IWDAction action)
onToggle.
action - the action assigned to the eventgetOnToggle()public IWDParameterMapping mappingOfOnToggle()
onToggle.
To pass UI element event parameter values into action handler parameters,
a parameter mapping has to be defined. Add code like the following inside
method wdDoModifyView() of the view controller:
if (firstTime)
{
IWDTablePopinToggleCell myTablePopinToggleCell = (IWDTablePopinToggleCell) view.getElement("ID-of-TablePopinToggleCell");
myTablePopinToggleCell.mappingOfOnToggle().addSourceMapping
(
IWDTablePopinToggleCell.IWDOnToggle.EXPANDED, // event parameter name
"name-of-action-parameter" // (type boolean)
);
}
Event onToggle has the following parameters:
boolean expanded
onTogglegetOnToggle()public void bindCellDesign(String path)
cellDesign property to the context attribute specified by the given path.
path - the context path of the attribute to which the cellDesign property will be boundpublic void bindCellDesign(IWDAttributeInfo attributeInfo)
cellDesign property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the cellDesign property will be boundpublic String bindingOfCellDesign()
cellDesign property.
cellDesign property is currently boundpublic WDTableCellDesign getCellDesign()
cellDesign property.
The initial value is WDTableCellDesign.STANDARD.
cellDesign propertysetCellDesign(WDTableCellDesign)public void setCellDesign(WDTableCellDesign value)
cellDesign property to the given value.
value - the new value of the cellDesign propertygetCellDesign()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||