|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro ToolBar API. The ToolBar UI element represents a collection of "tools" that belong to or may be applied to the containing UI element.
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 WDToolBarDesign |
DEFAULT_DESIGN
Default value of property design. |
static boolean |
DEFAULT_ENABLED
Default value of property enabled. |
static WDVisibility |
DEFAULT_VISIBLE
Default value of property visible. |
static boolean |
DEFAULT_WRAPPING
Default value of property wrapping. |
| Method Summary | |
void |
addToolBarItem(IWDToolBarItem aToolBarItem)
Adds the given ToolBarItem at the end of the list of ToolBarItems. |
void |
addToolBarItem(IWDToolBarItem aToolBarItem,
int index)
Adds the given ToolBarItem at the specified index in the list of ToolBarItems. |
void |
addToolBarRightItem(IWDToolBarItem aToolBarItem)
Adds the given ToolBarRightItem at the end of the list of ToolBarRightItems. |
void |
addToolBarRightItem(IWDToolBarItem aToolBarItem,
int index)
Adds the given ToolBarRightItem at the specified index in the list of ToolBarRightItems. |
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 |
bindEnabled(IWDAttributeInfo attributeInfo)
Binds property enabled to the context attribute
specified by the given attribute info. |
void |
bindEnabled(java.lang.String path)
Binds property enabled 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 |
bindingOfEnabled()
Binding path of property enabled. |
java.lang.String |
bindingOfVisible()
Binding path of property visible. |
java.lang.String |
bindingOfWrapping()
Binding path of property wrapping. |
void |
bindVisible(IWDAttributeInfo attributeInfo)
Binds property visible to the context attribute
specified by the given attribute info. |
void |
bindVisible(java.lang.String path)
Binds property visible to the context attribute
specified by path. |
void |
bindWrapping(IWDAttributeInfo attributeInfo)
Binds property wrapping to the context attribute
specified by the given attribute info. |
void |
bindWrapping(java.lang.String path)
Binds property wrapping to the context attribute
specified by path. |
void |
destroyAllToolBarItems()
Destroys all entries in the list of ToolBarItems. |
void |
destroyAllToolBarRightItems()
Destroys all entries in the list of ToolBarRightItems. |
java.lang.String |
getAccessibilityDescription()
Returns the value of the accessibilityDescription property. |
WDToolBarDesign |
getDesign()
Returns the value of the design property. |
boolean |
getEnabled()
Returns the value of the enabled property. |
IWDToolBarItem |
getToolBarItem(int index)
Returns the ToolBarItem at the given index. |
IWDToolBarItem[] |
getToolBarItems()
Returns the list of ToolBarItems. |
IWDToolBarItem |
getToolBarRightItem(int index)
Returns the ToolBarRightItem at the given index. |
IWDToolBarItem[] |
getToolBarRightItems()
Returns the list of ToolBarRightItems. |
WDVisibility |
getVisible()
Returns the value of the visible property. |
boolean |
getWrapping()
Returns the value of the wrapping property. |
boolean |
hasToolBarItems()
Checks if there exist ToolBarItems. |
boolean |
hasToolBarRightItems()
Checks if there exist ToolBarRightItems. |
int |
indexOfToolBarItem(IWDToolBarItem aToolBarItem)
Returns the index of the given element in the list of ToolBarItems or -1 if it is not contained in the list. |
int |
indexOfToolBarRightItem(IWDToolBarItem aToolBarItem)
Returns the index of the given element in the list of ToolBarRightItems or -1 if it is not contained in the list. |
java.util.Iterator |
iterateToolBarItems()
Returns an iterator over the list of ToolBarItems. |
java.util.Iterator |
iterateToolBarRightItems()
Returns an iterator over the list of ToolBarRightItems. |
int |
numberOfToolBarItems()
Returns the number of ToolBarItems. |
int |
numberOfToolBarRightItems()
Returns the number of ToolBarRightItems. |
void |
removeAllToolBarItems()
Removes all entries from the list of ToolBarItems. |
void |
removeAllToolBarRightItems()
Removes all entries from the list of ToolBarRightItems. |
IWDToolBarItem |
removeToolBarItem(int index)
Removes the entry at the given index from the list of ToolBarItems. |
IWDToolBarItem |
removeToolBarItem(java.lang.String id)
Removes the entry with the given ID from the list of ToolBarItems. |
IWDToolBarItem |
removeToolBarRightItem(int index)
Removes the entry at the given index from the list of ToolBarRightItems. |
IWDToolBarItem |
removeToolBarRightItem(java.lang.String id)
Removes the entry with the given ID from the list of ToolBarRightItems. |
void |
setAccessibilityDescription(java.lang.String value)
Sets property accessibilityDescription to the new value. |
void |
setDesign(WDToolBarDesign value)
Sets property design to the new value. |
void |
setEnabled(boolean value)
Sets property enabled to the new value. |
void |
setVisible(WDVisibility value)
Sets property visible to the new value. |
void |
setWrapping(boolean value)
Sets property wrapping to the new value. |
void |
swapToolBarItems(int i,
int j)
Swaps the ToolBarItems at the given indices. |
void |
swapToolBarRightItems(int i,
int j)
Swaps the ToolBarRightItems at the given indices. |
| 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 WDToolBarDesign DEFAULT_DESIGN
design.public static final boolean DEFAULT_ENABLED
enabled.public static final WDVisibility DEFAULT_VISIBLE
visible.public static final boolean DEFAULT_WRAPPING
wrapping.| Method Detail |
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 Toolbar (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 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 WDToolBarDesign getDesign()
design property.
The initial value is WDToolBarDesign.STANDARD.
The design of the toolbar.setDesign(WDToolBarDesign)public void setDesign(WDToolBarDesign value)
design to the new value.value - the new value of the design propertygetDesign()public void bindEnabled(java.lang.String path)
enabled to the context attribute
specified by path.path - the path of the context attribute to which the enabled
property is boundpublic void bindEnabled(IWDAttributeInfo attributeInfo)
enabled to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
enabled property is boundpublic java.lang.String bindingOfEnabled()
enabled.public boolean getEnabled()
enabled property.
The initial value is true.
Determines if the toolbar is enabled.setEnabled(boolean)public void setEnabled(boolean value)
enabled to the new value.value - the new value of the enabled propertygetEnabled()public void bindVisible(java.lang.String path)
visible to the context attribute
specified by path.path - the path of the context attribute to which the visible
property is boundpublic void bindVisible(IWDAttributeInfo attributeInfo)
visible to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
visible property is boundpublic java.lang.String bindingOfVisible()
visible.public WDVisibility getVisible()
visible property.
The initial value is WDVisibility.VISIBLE.
Determines if the toolbar is visible.setVisible(WDVisibility)public void setVisible(WDVisibility value)
visible to the new value.value - the new value of the visible propertygetVisible()public void bindWrapping(java.lang.String path)
wrapping to the context attribute
specified by path.path - the path of the context attribute to which the wrapping
property is boundpublic void bindWrapping(IWDAttributeInfo attributeInfo)
wrapping to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
wrapping property is boundpublic java.lang.String bindingOfWrapping()
wrapping.public boolean getWrapping()
wrapping property.
The initial value is true.
Determines if the toolBar is wrapped.setWrapping(boolean)public void setWrapping(boolean value)
wrapping to the new value.value - the new value of the wrapping propertygetWrapping()public void addToolBarItem(IWDToolBarItem aToolBarItem)
aToolBarItem - the ToolBarItem to be added into the listgetToolBarItems()
public void addToolBarItem(IWDToolBarItem aToolBarItem,
int index)
aToolBarItem - the ToolBarItem to be added into the listindex - zero based index of the insertion position in the listgetToolBarItems()
public void swapToolBarItems(int i,
int j)
i - index of the first ToolBarItem to swapj - index of the second ToolBarItem to swapIndexOutOfBoundsException - If one of the indices is out of boundspublic IWDToolBarItem[] getToolBarItems()
public IWDToolBarItem getToolBarItem(int index)
public int indexOfToolBarItem(IWDToolBarItem aToolBarItem)
-1 if it is not contained in the list.public int numberOfToolBarItems()
getToolBarItems()public boolean hasToolBarItems()
true if there are ToolBarItems;
false otherwise.getToolBarItems()public java.util.Iterator iterateToolBarItems()
getToolBarItems()public IWDToolBarItem removeToolBarItem(int index)
index - zero based index of the deletion position in the listaddToolBarItem(IWDToolBarItem),
getToolBarItems()public IWDToolBarItem removeToolBarItem(java.lang.String id)
id - unique ID of the element to be deleted from the listaddToolBarItem(IWDToolBarItem),
getToolBarItems()public void removeAllToolBarItems()
addToolBarItem(IWDToolBarItem),
getToolBarItems()public void destroyAllToolBarItems()
public void addToolBarRightItem(IWDToolBarItem aToolBarItem)
aToolBarItem - the ToolBarRightItem to be added into the listgetToolBarRightItems()
public void addToolBarRightItem(IWDToolBarItem aToolBarItem,
int index)
aToolBarItem - the ToolBarRightItem to be added into the listindex - zero based index of the insertion position in the listgetToolBarRightItems()
public void swapToolBarRightItems(int i,
int j)
i - index of the first ToolBarRightItem to swapj - index of the second ToolBarRightItem to swapIndexOutOfBoundsException - If one of the indices is out of boundspublic IWDToolBarItem[] getToolBarRightItems()
public IWDToolBarItem getToolBarRightItem(int index)
public int indexOfToolBarRightItem(IWDToolBarItem aToolBarItem)
-1 if it is not contained in the list.public int numberOfToolBarRightItems()
getToolBarRightItems()public boolean hasToolBarRightItems()
true if there are ToolBarRightItems;
false otherwise.getToolBarRightItems()public java.util.Iterator iterateToolBarRightItems()
getToolBarRightItems()public IWDToolBarItem removeToolBarRightItem(int index)
index - zero based index of the deletion position in the listaddToolBarRightItem(IWDToolBarItem),
getToolBarRightItems()public IWDToolBarItem removeToolBarRightItem(java.lang.String id)
id - unique ID of the element to be deleted from the listaddToolBarRightItem(IWDToolBarItem),
getToolBarRightItems()public void removeAllToolBarRightItems()
addToolBarRightItem(IWDToolBarItem),
getToolBarRightItems()public void destroyAllToolBarRightItems()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||