|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jubula.rc.swing.swing.implclasses.AbstractSwingImplClass
org.eclipse.jubula.rc.swing.swing.implclasses.JTabbedPaneImplClass
public class JTabbedPaneImplClass
This class implements actions on the Swing JTabbedPane
.
Field Summary |
---|
Fields inherited from class org.eclipse.jubula.rc.swing.swing.implclasses.AbstractSwingImplClass |
---|
INDEX_LIST_SEP_CHAR, POS_UNI_PERCENT, POS_UNIT_PIXEL, RENDERER_FALLBACK_TEXT_GETTER_METHOD_1, RENDERER_FALLBACK_TEXT_GETTER_METHOD_2, VALUE_SEPARATOR |
Constructor Summary | |
---|---|
JTabbedPaneImplClass()
|
Method Summary | |
---|---|
void |
gdSelectTab(java.lang.String title,
java.lang.String operator)
Selects the tab with the passed title. |
void |
gdSelectTabByIndex(int index)
Selects the tab with the passed index. |
void |
gdVerifyEnabled(java.lang.String title,
java.lang.String operator,
boolean isEnabled)
Verifies if the tab with the passed title is enabled. |
void |
gdVerifyEnabledByIndex(int index,
boolean enabled)
Verifies if the tab with the passed index is enabled. |
void |
gdVerifyExistenceOfTab(java.lang.String tab,
java.lang.String operator,
boolean exists)
Verifies existence of tab by index/value |
void |
gdVerifySelectedTab(java.lang.String tabTitlePattern,
java.lang.String operator,
boolean selected)
Verifies the selection of the tab with the passed title. |
void |
gdVerifySelectedTabByIndex(int index,
boolean selected)
Verifies the selection of the tab with the passed index. |
void |
gdVerifyTextOfTabByIndex(int index,
java.lang.String text,
java.lang.String operator)
Verifies the text of the tab by index |
javax.swing.JComponent |
getComponent()
|
protected java.lang.String |
getText()
Get a String representation of the "text" of the component. |
java.lang.String[] |
getTextArrayFromComponent()
Returns a descriptive text array that represents the given gui component. |
void |
setComponent(java.lang.Object graphicsComponent)
Set the component the methods this implementation class implements have to work with. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTabbedPaneImplClass()
Method Detail |
---|
public void setComponent(java.lang.Object graphicsComponent)
graphicsComponent
- the component from the AUT control
affects
the AUT.public javax.swing.JComponent getComponent()
getComponent
in class AbstractSwingImplClass
IBaseImplementationClass.setComponent(Object)
public void gdSelectTabByIndex(int index) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
index
- The tab index
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the tab index is invalid.public void gdSelectTab(java.lang.String title, java.lang.String operator) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
title
- The tab titleoperator
- using regex
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the tab title is invalid.public void gdVerifySelectedTabByIndex(int index, boolean selected) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
index
- The tab indexselected
- Should the tab be selected?
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the tab index is invalid.public void gdVerifySelectedTab(java.lang.String tabTitlePattern, java.lang.String operator, boolean selected) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
tabTitlePattern
- The tab title pattern to use for checkingoperator
- Operator to be executedselected
- Should the tab be selected?
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the tab title is invalid.public void gdVerifyEnabled(java.lang.String title, java.lang.String operator, boolean isEnabled) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
title
- The tab titleoperator
- operation to be executedisEnabled
- wether to test if the tab is enabled or not
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the tab title is invalid.public void gdVerifyEnabledByIndex(int index, boolean enabled) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
index
- The tab indexenabled
- Should the tab be enabled?
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the tab index is invalid.public void gdVerifyTextOfTabByIndex(int index, java.lang.String text, java.lang.String operator) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
index
- index of tabtext
- The tab titleoperator
- Operator to be executed
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the tab title is invalid.public void gdVerifyExistenceOfTab(java.lang.String tab, java.lang.String operator, boolean exists) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
tab
- index/value of taboperator
- Operator to be executedexists
- boolean, tab exists
org.eclipse.jubula.rc.common.exception.StepExecutionException
- if tab does not exist.public java.lang.String[] getTextArrayFromComponent()
protected java.lang.String getText()
AbstractSwingImplClass
getText
in class AbstractSwingImplClass
AbstractSwingImplClass.getText()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |