|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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!
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| Field Summary | |
static String |
DEFAULT_ACCESSIBILITY_DESCRIPTION
Default value of the accessibilityDescription property is "". |
static WDToolBarDesign |
DEFAULT_DESIGN
Default value of the design property is WDToolBarDesign.STANDARD. |
static boolean |
DEFAULT_ENABLED
Default value of the enabled property is true. |
static WDVisibility |
DEFAULT_VISIBLE
Default value of the visible property is WDVisibility.VISIBLE. |
static boolean |
DEFAULT_WRAPPING
Default value of the wrapping property is true. |
| Method Summary | |
void |
addToolBarItem(IWDToolBarItem toolBarItem)
Adds the given ToolBarItem at the end of the ToolBarItems list. |
void |
addToolBarItem(IWDToolBarItem toolBarItem,
int index)
Inserts the given ToolBarItem at the specified (zero-based) index into the ToolBarItems list. |
void |
addToolBarRightItem(IWDToolBarItem toolBarRightItem)
Adds the given ToolBarRightItem at the end of the ToolBarRightItems list. |
void |
addToolBarRightItem(IWDToolBarItem toolBarRightItem,
int index)
Inserts the given ToolBarRightItem at the specified (zero-based) index into the ToolBarRightItems list. |
void |
bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
Binds the accessibilityDescription property to the context attribute specified by the given attribute info. |
void |
bindAccessibilityDescription(String path)
Binds the accessibilityDescription property to the context attribute specified by the given path. |
void |
bindDesign(IWDAttributeInfo attributeInfo)
Binds the design property to the context attribute specified by the given attribute info. |
void |
bindDesign(String path)
Binds the design property to the context attribute specified by the given path. |
void |
bindEnabled(IWDAttributeInfo attributeInfo)
Binds the enabled property to the context attribute specified by the given attribute info. |
void |
bindEnabled(String path)
Binds the enabled property to the context attribute specified by the given path. |
String |
bindingOfAccessibilityDescription()
Returns the binding path of the accessibilityDescription property. |
String |
bindingOfDesign()
Returns the binding path of the design property. |
String |
bindingOfEnabled()
Returns the binding path of the enabled property. |
String |
bindingOfVisible()
Returns the binding path of the visible property. |
String |
bindingOfWrapping()
Returns the binding path of the wrapping property. |
void |
bindVisible(IWDAttributeInfo attributeInfo)
Binds the visible property to the context attribute specified by the given attribute info. |
void |
bindVisible(String path)
Binds the visible property to the context attribute specified by the given path. |
void |
bindWrapping(IWDAttributeInfo attributeInfo)
Binds the wrapping property to the context attribute specified by the given attribute info. |
void |
bindWrapping(String path)
Binds the wrapping property to the context attribute specified by the given path. |
void |
destroyAllToolBarItems()
Destroys all elements in the ToolBarItems list.
|
void |
destroyAllToolBarRightItems()
Destroys all elements in the ToolBarRightItems list.
|
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 ToolBarItems list as an array.
|
IWDToolBarItem |
getToolBarRightItem(int index)
Returns the ToolBarRightItem at the given index. |
IWDToolBarItem[] |
getToolBarRightItems()
Returns the ToolBarRightItems list as an array |
WDVisibility |
getVisible()
Returns the value of the visible property.
|
boolean |
getWrapping()
Returns the value of the wrapping property.
|
boolean |
hasToolBarItems()
Returns true if there exists a ToolBarItem. |
boolean |
hasToolBarRightItems()
Returns true if there exists a ToolBarRightItem. |
int |
indexOfToolBarItem(IWDToolBarItem toolBarItem)
Returns the index of the given element in the ToolBarItems list,
returns -1 if the element is not in the list. |
int |
indexOfToolBarRightItem(IWDToolBarItem toolBarRightItem)
Returns the index of the given element in the ToolBarRightItems list,
returns -1 if the element is not in the list. |
Iterator |
iterateToolBarItems()
Returns an iterator over the ToolBarItems list. |
Iterator |
iterateToolBarRightItems()
Returns an iterator over the ToolBarRightItems list. |
int |
numberOfToolBarItems()
Returns the number of ToolBarItems. |
int |
numberOfToolBarRightItems()
Returns the number of ToolBarRightItems. |
void |
removeAllToolBarItems()
Removes all elements from the ToolBarItems list.
|
void |
removeAllToolBarRightItems()
Removes all elements from the ToolBarRightItems list.
|
IWDToolBarItem |
removeToolBarItem(int index)
Removes the ToolBarItem at the given index from the ToolBarItems list.
|
IWDToolBarItem |
removeToolBarItem(String id)
Removes the ToolBarItem with the given ID from the ToolBarItems list.
|
IWDToolBarItem |
removeToolBarRightItem(int index)
Removes the ToolBarRightItem at the given index from the ToolBarRightItems list.
|
IWDToolBarItem |
removeToolBarRightItem(String id)
Removes the ToolBarRightItem with the given ID from the ToolBarRightItems list.
|
void |
setAccessibilityDescription(String value)
Sets the accessibilityDescription property to the given value. |
void |
setDesign(WDToolBarDesign value)
Sets the design property to the given value. |
void |
setEnabled(boolean value)
Sets the enabled property to the given value. |
void |
setVisible(WDVisibility value)
Sets the visible property to the given value. |
void |
setWrapping(boolean value)
Sets the wrapping property to the given 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 |
destroy, getId, getView, requestFocus |
| Field Detail |
public static final String DEFAULT_ACCESSIBILITY_DESCRIPTION
accessibilityDescription property is "".
public static final WDToolBarDesign DEFAULT_DESIGN
design property is WDToolBarDesign.STANDARD.
public static final boolean DEFAULT_ENABLED
enabled property is true.
public static final WDVisibility DEFAULT_VISIBLE
visible property is WDVisibility.VISIBLE.
public static final boolean DEFAULT_WRAPPING
wrapping property is true.
| Method Detail |
public void bindAccessibilityDescription(String path)
accessibilityDescription property to the context attribute specified by the given path.
path - the context path of the attribute to which the accessibilityDescription property will be boundpublic void bindAccessibilityDescription(IWDAttributeInfo attributeInfo)
accessibilityDescription property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the accessibilityDescription property will be boundpublic String bindingOfAccessibilityDescription()
accessibilityDescription property.
accessibilityDescription property is currently boundpublic String getAccessibilityDescription()
accessibilityDescription property.
The initial value is "".
accessibilityDescription propertysetAccessibilityDescription(String)public void setAccessibilityDescription(String value)
accessibilityDescription property to the given value.
value - the new value of the accessibilityDescription propertygetAccessibilityDescription()public void bindDesign(String path)
design property to the context attribute specified by the given path.
path - the context path of the attribute to which the design property will be boundpublic void bindDesign(IWDAttributeInfo attributeInfo)
design property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the design property will be boundpublic String bindingOfDesign()
design property.
design property is currently boundpublic WDToolBarDesign getDesign()
design property.
The initial value is WDToolBarDesign.STANDARD.
design propertysetDesign(WDToolBarDesign)public void setDesign(WDToolBarDesign value)
design property to the given value.
value - the new value of the design propertygetDesign()public void bindEnabled(String path)
enabled property to the context attribute specified by the given path.
path - the context path of the attribute to which the enabled property will be boundpublic void bindEnabled(IWDAttributeInfo attributeInfo)
enabled property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the enabled property will be boundpublic String bindingOfEnabled()
enabled property.
enabled property is currently boundpublic boolean getEnabled()
enabled property.
The initial value is true.
enabled propertysetEnabled(boolean)public void setEnabled(boolean value)
enabled property to the given value.
value - the new value of the enabled propertygetEnabled()public void bindVisible(String path)
visible property to the context attribute specified by the given path.
path - the context path of the attribute to which the visible property will be boundpublic void bindVisible(IWDAttributeInfo attributeInfo)
visible property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the visible property will be boundpublic String bindingOfVisible()
visible property.
visible property is currently boundpublic WDVisibility getVisible()
visible property.
The initial value is WDVisibility.VISIBLE.
visible propertysetVisible(WDVisibility)public void setVisible(WDVisibility value)
visible property to the given value.
value - the new value of the visible propertygetVisible()public void bindWrapping(String path)
wrapping property to the context attribute specified by the given path.
path - the context path of the attribute to which the wrapping property will be boundpublic void bindWrapping(IWDAttributeInfo attributeInfo)
wrapping property to the context attribute specified by the given attribute info.
attributeInfo - the info of the context attribute to which the wrapping property will be boundpublic String bindingOfWrapping()
wrapping property.
wrapping property is currently boundpublic boolean getWrapping()
wrapping property.
The initial value is true.
wrapping propertysetWrapping(boolean)public void setWrapping(boolean value)
wrapping property to the given value.
value - the new value of the wrapping propertygetWrapping()public void addToolBarItem(IWDToolBarItem toolBarItem)
ToolBarItem at the end of the ToolBarItems list.
toolBarItem - the ToolBarItem to be added to the listgetToolBarItems()
public void addToolBarItem(IWDToolBarItem toolBarItem,
int index)
ToolBarItem at the specified (zero-based) index into the ToolBarItems list.
toolBarItem - the ToolBarItem to be inserted into the listindex - (zero-based) insertion position in the listgetToolBarItems()
public void swapToolBarItems(int i,
int j)
ToolBarItems at the given indices.
i - index of the first ToolBarItem to swapj - index of the second ToolBarItem to swap
IndexOutOfBoundsException - If one of the indices is out of boundspublic IWDToolBarItem[] getToolBarItems()
ToolBarItems list as an array.
A toolbar contains a number of toolbar items like buttons, drop-down lists
or separators.
ToolBarItems listpublic IWDToolBarItem getToolBarItem(int index)
ToolBarItem at the given index.
ToolBarItem at the given indexpublic int indexOfToolBarItem(IWDToolBarItem toolBarItem)
ToolBarItems list,
returns -1 if the element is not in the list.
public int numberOfToolBarItems()
ToolBarItems.
ToolBarItemsgetToolBarItems()public boolean hasToolBarItems()
true if there exists a ToolBarItem.
true if there exists a ToolBarItem, otherwise returns falsegetToolBarItems()public Iterator iterateToolBarItems()
ToolBarItems list.
ToolBarItems listgetToolBarItems()public IWDToolBarItem removeToolBarItem(int index)
ToolBarItem at the given index from the ToolBarItems list.
This does not destroy the removed element, i.e. it may be added again!
index - (zero-based) index of the removal position in the list
addToolBarItem(IWDToolBarItem),
getToolBarItems()public IWDToolBarItem removeToolBarItem(String id)
ToolBarItem with the given ID from the ToolBarItems list.
This does not destroy the removed element, i.e. it may be added again!
id - unique ID of the element to be removed from the list
addToolBarItem(IWDToolBarItem),
getToolBarItems()public void removeAllToolBarItems()
ToolBarItems list.
This does not destroy the removed elements, i.e. they may be added again!
addToolBarItem(IWDToolBarItem),
getToolBarItems()public void destroyAllToolBarItems()
ToolBarItems list.
Destroyed view elements do not exist any longer in their view, i.e. new elements may be
created with the same IDs.
public void addToolBarRightItem(IWDToolBarItem toolBarRightItem)
ToolBarRightItem at the end of the ToolBarRightItems list.
toolBarRightItem - the ToolBarRightItem to be added to the listgetToolBarRightItems()
public void addToolBarRightItem(IWDToolBarItem toolBarRightItem,
int index)
ToolBarRightItem at the specified (zero-based) index into the ToolBarRightItems list.
toolBarRightItem - the ToolBarRightItem to be inserted into the listindex - (zero-based) insertion position in the listgetToolBarRightItems()
public void swapToolBarRightItems(int i,
int j)
ToolBarRightItems at the given indices.
i - index of the first ToolBarRightItem to swapj - index of the second ToolBarRightItem to swap
IndexOutOfBoundsException - If one of the indices is out of boundspublic IWDToolBarItem[] getToolBarRightItems()
ToolBarRightItems list as an array.
ToolBarRightItems listpublic IWDToolBarItem getToolBarRightItem(int index)
ToolBarRightItem at the given index.
ToolBarRightItem at the given indexpublic int indexOfToolBarRightItem(IWDToolBarItem toolBarRightItem)
ToolBarRightItems list,
returns -1 if the element is not in the list.
public int numberOfToolBarRightItems()
ToolBarRightItems.
ToolBarRightItemsgetToolBarRightItems()public boolean hasToolBarRightItems()
true if there exists a ToolBarRightItem.
true if there exists a ToolBarRightItem, otherwise returns falsegetToolBarRightItems()public Iterator iterateToolBarRightItems()
ToolBarRightItems list.
ToolBarRightItems listgetToolBarRightItems()public IWDToolBarItem removeToolBarRightItem(int index)
ToolBarRightItem at the given index from the ToolBarRightItems list.
This does not destroy the removed element, i.e. it may be added again!
index - (zero-based) index of the removal position in the list
addToolBarRightItem(IWDToolBarItem),
getToolBarRightItems()public IWDToolBarItem removeToolBarRightItem(String id)
ToolBarRightItem with the given ID from the ToolBarRightItems list.
This does not destroy the removed element, i.e. it may be added again!
id - unique ID of the element to be removed from the list
addToolBarRightItem(IWDToolBarItem),
getToolBarRightItems()public void removeAllToolBarRightItems()
ToolBarRightItems list.
This does not destroy the removed elements, i.e. they may be added again!
addToolBarRightItem(IWDToolBarItem),
getToolBarRightItems()public void destroyAllToolBarRightItems()
ToolBarRightItems list.
Destroyed view elements do not exist any longer in their view, i.e. new elements may be
created with the same IDs.
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||