|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro Tray API.
Tray is used to group a number of UI elements under a common header.
A Tray may be collapsed by setting expanded to false.
A collapsed tray displays only its header.
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 WDTrayDesign |
DEFAULT_DESIGN
Default value of property design. |
static boolean |
DEFAULT_EXPANDED
Default value of property expanded. |
static boolean |
DEFAULT_HAS_CONTENT_PADDING
Default value of property hasContentPadding. |
| Fields inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDScrollContainer |
DEFAULT_SCROLLING_MODE |
| Fields inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElementContainer |
DEFAULT_HEIGHT, DEFAULT_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 |
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. |
void |
bindExpanded(IWDAttributeInfo attributeInfo)
Binds property expanded to the context attribute
specified by the given attribute info. |
void |
bindExpanded(java.lang.String path)
Binds property expanded to the context attribute
specified by path. |
void |
bindHasContentPadding(IWDAttributeInfo attributeInfo)
Binds property hasContentPadding to the context attribute
specified by the given attribute info. |
void |
bindHasContentPadding(java.lang.String path)
Binds property hasContentPadding to the context attribute
specified by path. |
java.lang.String |
bindingOfAccessibilityDescription()
Binding path of property accessibilityDescription. |
java.lang.String |
bindingOfDesign()
Binding path of property design. |
java.lang.String |
bindingOfExpanded()
Binding path of property expanded. |
java.lang.String |
bindingOfHasContentPadding()
Binding path of property hasContentPadding. |
void |
destroyHeader()
Destroys the Header instance. |
void |
destroyPopupMenu()
Destroys the PopupMenu instance. |
void |
destroyToolBar()
Destroys the ToolBar instance. |
java.lang.String |
getAccessibilityDescription()
Returns the value of the accessibilityDescription property. |
WDTrayDesign |
getDesign()
Returns the value of the design property. |
boolean |
getExpanded()
Returns the value of the expanded property. |
boolean |
getHasContentPadding()
Returns the value of the hasContentPadding property. |
IWDCaption |
getHeader()
Gets the Header instance. |
IWDAction |
getOnToggle()
Returns the action to which the event onToggle is mapped. |
IWDMenu |
getPopupMenu()
Gets the PopupMenu instance. |
IWDToolBar |
getToolBar()
Gets the ToolBar instance. |
IWDParameterMapping |
mappingOfOnToggle()
Returns the parameter mapping of event onToggle. |
void |
setAccessibilityDescription(java.lang.String value)
Sets property accessibilityDescription to the new value. |
void |
setDesign(WDTrayDesign value)
Sets property design to the new value. |
void |
setExpanded(boolean value)
Sets property expanded to the new value. |
void |
setHasContentPadding(boolean value)
Sets property hasContentPadding to the new value. |
void |
setHeader(IWDCaption header)
Sets the Header instance. |
void |
setOnToggle(IWDAction action)
Maps the event onToggle to the given action. |
void |
setPopupMenu(IWDMenu popupMenu)
Sets the PopupMenu instance. |
void |
setToolBar(IWDToolBar toolBar)
Sets the ToolBar instance. |
| Methods inherited from interface com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDScrollContainer |
bindingOfScrollingMode, bindScrollingMode, bindScrollingMode, getScrollingMode, setScrollingMode |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDUIElementContainer |
addChild, addChild, bindHeight, bindHeight, bindingOfHeight, bindingOfWidth, bindWidth, bindWidth, createLayout, destroyAllChildren, getChild, getChildren, getHeight, getLayout, getWidth, hasChildren, indexOfChild, iterateChildren, numberOfChildren, removeAllChildren, removeChild, removeChild, setHeight, setWidth, swapChildren |
| 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 WDTrayDesign DEFAULT_DESIGN
design.public static final boolean DEFAULT_EXPANDED
expanded.public static final boolean DEFAULT_HAS_CONTENT_PADDING
hasContentPadding.| Method Detail |
public IWDAction getOnToggle()
onToggle is mapped.
The action performed when the tray is toggled (collapsed resp. expanded).
Event parameter is the new expansion state.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 Tray (It's like a title) in the accessibility mode. Should be used if no title is available. 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 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 WDTrayDesign getDesign()
design property.
The initial value is WDTrayDesign.TRANSPARENT.
Determines the design of this tray.setDesign(WDTrayDesign)public void setDesign(WDTrayDesign value)
design to the new value.value - the new value of the design propertygetDesign()public void bindExpanded(java.lang.String path)
expanded to the context attribute
specified by path.path - the path of the context attribute to which the expanded
property is boundpublic void bindExpanded(IWDAttributeInfo attributeInfo)
expanded to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
expanded property is boundpublic java.lang.String bindingOfExpanded()
expanded.public boolean getExpanded()
expanded property.
The initial value is true.
Determines if this tray is expanded.setExpanded(boolean)public void setExpanded(boolean value)
expanded to the new value.value - the new value of the expanded propertygetExpanded()public void bindHasContentPadding(java.lang.String path)
hasContentPadding to the context attribute
specified by path.path - the path of the context attribute to which the hasContentPadding
property is boundpublic void bindHasContentPadding(IWDAttributeInfo attributeInfo)
hasContentPadding to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
hasContentPadding property is boundpublic java.lang.String bindingOfHasContentPadding()
hasContentPadding.public boolean getHasContentPadding()
hasContentPadding property.
The initial value is true.
setHasContentPadding(boolean)public void setHasContentPadding(boolean value)
hasContentPadding to the new value.value - the new value of the hasContentPadding propertygetHasContentPadding()public IWDCaption getHeader()
setHeader(IWDCaption)public void setHeader(IWDCaption header)
header - the new headergetHeader()public void destroyHeader()
public IWDMenu getPopupMenu()
setPopupMenu(IWDMenu)public void setPopupMenu(IWDMenu popupMenu)
popupMenu - the new popupMenugetPopupMenu()public void destroyPopupMenu()
public IWDToolBar getToolBar()
setToolBar(IWDToolBar)public void setToolBar(IWDToolBar toolBar)
toolBar - the new toolBargetToolBar()public void destroyToolBar()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||