|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Web Dynpro PatternTab API. PatternTab represents a single tab in a PatternTabStrip. A PatternTab contains a caption that may be activated to display the content of the PatternTab. Each PatternTab can contain several PatternContentAreas. Each area contains a UIElement or a ToolBar.
This type can be called by applications using Web Dynpro, but DO NOT EXTEND OR IMPLEMENT IT!
IWDPatternContentArea,
IWDPatternTabStrip| Field Summary | |
static boolean |
DEFAULT_ENABLED
Default value of property enabled. |
static WDTextDirection |
DEFAULT_TEXT_DIRECTION
Default value of property textDirection. |
static java.lang.String |
DEFAULT_TITLE
Default value of property title. |
static java.lang.String |
DEFAULT_TOOLTIP
Default value of property tooltip. |
static WDVisibility |
DEFAULT_VISIBLE
Default value of property visible. |
| Method Summary | |
void |
addItem(IWDPatternContentArea aPatternContentArea)
Adds the given Item at the end of the list of Items. |
void |
addItem(IWDPatternContentArea aPatternContentArea,
int index)
Adds the given Item at the specified index in the list of Items. |
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 |
bindingOfEnabled()
Binding path of property enabled. |
java.lang.String |
bindingOfTextDirection()
Binding path of property textDirection. |
java.lang.String |
bindingOfTitle()
Binding path of property title. |
java.lang.String |
bindingOfTooltip()
Binding path of property tooltip. |
java.lang.String |
bindingOfVisible()
Binding path of property visible. |
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 |
bindTitle(IWDAttributeInfo attributeInfo)
Binds property title to the context attribute
specified by the given attribute info. |
void |
bindTitle(java.lang.String path)
Binds property title to the context attribute
specified by path. |
void |
bindTooltip(IWDAttributeInfo attributeInfo)
Binds property tooltip to the context attribute
specified by the given attribute info. |
void |
bindTooltip(java.lang.String path)
Binds property tooltip to the context attribute
specified by path. |
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 |
destroyAllItems()
Destroys all entries in the list of Items. |
boolean |
getEnabled()
Returns the value of the enabled property. |
IWDPatternContentArea |
getItem(int index)
Returns the Item at the given index. |
IWDPatternContentArea[] |
getItems()
Returns the list of Items. |
IWDPatternTabStrip |
getPatternTabStrip()
Returns the current PatternTabStrip. |
WDTextDirection |
getTextDirection()
Returns the value of the textDirection property. |
java.lang.String |
getTitle()
Returns the value of the title property. |
java.lang.String |
getTooltip()
Returns the value of the tooltip property. |
WDVisibility |
getVisible()
Returns the value of the visible property. |
boolean |
hasItems()
Checks if there exist Items. |
int |
indexOfItem(IWDPatternContentArea aPatternContentArea)
Returns the index of the given element in the list of Items or -1 if it is not contained in the list. |
java.util.Iterator |
iterateItems()
Returns an iterator over the list of Items. |
int |
numberOfItems()
Returns the number of Items. |
void |
removeAllItems()
Removes all entries from the list of Items. |
IWDPatternContentArea |
removeItem(int index)
Removes the entry at the given index from the list of Items. |
IWDPatternContentArea |
removeItem(java.lang.String id)
Removes the entry with the given ID from the list of Items. |
void |
setEnabled(boolean value)
Sets property enabled to the new value. |
void |
setTextDirection(WDTextDirection value)
Sets property textDirection to the new value. |
void |
setTitle(java.lang.String value)
Sets property title to the new value. |
void |
setTooltip(java.lang.String value)
Sets property tooltip to the new value. |
void |
setVisible(WDVisibility value)
Sets property visible to the new value. |
void |
swapItems(int i,
int j)
Swaps the Items at the given indices. |
| Methods inherited from interface com.sap.tc.webdynpro.progmodel.api.IWDViewElement |
getId, getView, requestFocus |
| Field Detail |
public static final boolean DEFAULT_ENABLED
enabled.public static final WDTextDirection DEFAULT_TEXT_DIRECTION
textDirection.public static final java.lang.String DEFAULT_TITLE
title.public static final java.lang.String DEFAULT_TOOLTIP
tooltip.public static final WDVisibility DEFAULT_VISIBLE
visible.| Method Detail |
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 whether the PatternTab is enabled.setEnabled(boolean)public void setEnabled(boolean value)
enabled to the new value.value - the new value of the enabled propertygetEnabled()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.
The text-direction of the button text.setTextDirection(WDTextDirection)public void setTextDirection(WDTextDirection value)
textDirection to the new value.value - the new value of the textDirection propertygetTextDirection()public void bindTitle(java.lang.String path)
title to the context attribute
specified by path.path - the path of the context attribute to which the title
property is boundpublic void bindTitle(IWDAttributeInfo attributeInfo)
title to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
title property is boundpublic java.lang.String bindingOfTitle()
title.public java.lang.String getTitle()
title property.
The initial value is "".
Determines the title of the PatternTab control.setTitle(String)public void setTitle(java.lang.String value)
title to the new value.value - the new value of the title propertygetTitle()public void bindTooltip(java.lang.String path)
tooltip to the context attribute
specified by path.path - the path of the context attribute to which the tooltip
property is boundpublic void bindTooltip(IWDAttributeInfo attributeInfo)
tooltip to the context attribute
specified by the given attribute info.attributeInfo - the info of the context attribute to which the
tooltip property is boundpublic java.lang.String bindingOfTooltip()
tooltip.public java.lang.String getTooltip()
tooltip property.
The initial value is "".
The text that is displayed when the mouse cursor is moved onto
the PatternTab.setTooltip(String)public void setTooltip(java.lang.String value)
tooltip to the new value.value - the new value of the tooltip propertygetTooltip()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 whether the PatternTab is visible.setVisible(WDVisibility)public void setVisible(WDVisibility value)
visible to the new value.value - the new value of the visible propertygetVisible()public void addItem(IWDPatternContentArea aPatternContentArea)
aPatternContentArea - the Item to be added into the listgetItems()
public void addItem(IWDPatternContentArea aPatternContentArea,
int index)
aPatternContentArea - the Item to be added into the listindex - zero based index of the insertion position in the listgetItems()
public void swapItems(int i,
int j)
i - index of the first Item to swapj - index of the second Item to swapIndexOutOfBoundsException - If one of the indices is out of boundspublic IWDPatternContentArea[] getItems()
public IWDPatternContentArea getItem(int index)
public int indexOfItem(IWDPatternContentArea aPatternContentArea)
-1 if it is not contained in the list.public int numberOfItems()
getItems()public boolean hasItems()
true if there are Items;
false otherwise.getItems()public java.util.Iterator iterateItems()
getItems()public IWDPatternContentArea removeItem(int index)
index - zero based index of the deletion position in the listaddItem(IWDPatternContentArea),
getItems()public IWDPatternContentArea removeItem(java.lang.String id)
id - unique ID of the element to be deleted from the listaddItem(IWDPatternContentArea),
getItems()public void removeAllItems()
addItem(IWDPatternContentArea),
getItems()public void destroyAllItems()
public IWDPatternTabStrip getPatternTabStrip()
|
Web Dynpro API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||