|
|||||||||
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.JTableImplClass
public class JTableImplClass
This class implements actions on the Swing JTable.
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 | |
---|---|
JTableImplClass()
|
Method Summary | |
---|---|
void |
gdClick(int count,
int button)
Tries to click in the cell under the mouse position. |
void |
gdDragCell(int mouseButton,
java.lang.String modifier,
int row,
int col,
int xPos,
java.lang.String xUnits,
int yPos,
java.lang.String yUnits)
Deprecated. Will be removed with gdDragCell with String parameter for Row/Column |
void |
gdDragCell(int mouseButton,
java.lang.String modifier,
java.lang.String row,
java.lang.String rowOperator,
java.lang.String col,
java.lang.String colOperator,
int xPos,
java.lang.String xUnits,
int yPos,
java.lang.String yUnits)
Drags the cell of the JTable. With the xPos, yPos, xunits and yUnits the click position inside the cell can be defined. |
void |
gdDragCellByColValue(int mouseButton,
java.lang.String modifier,
int row,
java.lang.String value,
java.lang.String regex,
java.lang.String searchType)
Deprecated. Will be removed with gdDragCellByColValue with String parameter for Row/Column |
void |
gdDragCellByColValue(int mouseButton,
java.lang.String modifier,
java.lang.String row,
java.lang.String rowOperator,
java.lang.String value,
java.lang.String regex,
java.lang.String searchType)
Finds the first column which contains the value value
in the given row and drags the cell. |
void |
gdDragRowByValue(int mouseButton,
java.lang.String modifier,
int col,
java.lang.String value,
java.lang.String regexOp,
java.lang.String searchType)
Deprecated. Will be removed with gdDragRowByValue with String parameter for Row/Column |
void |
gdDragRowByValue(int mouseButton,
java.lang.String modifier,
java.lang.String col,
java.lang.String colOperator,
java.lang.String value,
java.lang.String regexOp,
java.lang.String searchType)
Finds the first row which contains the value value
in column col and drags this row. |
void |
gdDropCell(int row,
int col,
int xPos,
java.lang.String xUnits,
int yPos,
java.lang.String yUnits,
int delayBeforeDrop)
Deprecated. Will be removed with gdDropCell with String parameter for Row/Column |
void |
gdDropCell(java.lang.String row,
java.lang.String rowOperator,
java.lang.String col,
java.lang.String colOperator,
int xPos,
java.lang.String xUnits,
int yPos,
java.lang.String yUnits,
int delayBeforeDrop)
Drops on the cell of the JTable. With the xPos, yPos, xunits and yUnits the click position inside the cell can be defined. |
void |
gdDropCellByColValue(int row,
java.lang.String value,
java.lang.String regex,
java.lang.String searchType,
int delayBeforeDrop)
Deprecated. Will be removed with gdDropCellByColValue with String parameter for Row/Column |
void |
gdDropCellByColValue(java.lang.String row,
java.lang.String rowOperator,
java.lang.String value,
java.lang.String regex,
java.lang.String searchType,
int delayBeforeDrop)
Finds the first column which contains the value value
in the given row and drops on the cell. |
void |
gdDropRowByValue(int col,
java.lang.String value,
java.lang.String regexOp,
java.lang.String searchType,
int delayBeforeDrop)
Deprecated. Will be removed with gdDropRowByValue with String parameter for Row/Column |
void |
gdDropRowByValue(java.lang.String col,
java.lang.String colOperator,
java.lang.String value,
java.lang.String regexOp,
java.lang.String searchType,
int delayBeforeDrop)
Finds the first row which contains the value value
in column col and drops on this row. |
void |
gdInputText(java.lang.String text)
Writes the passed text into the currently selected cell. |
void |
gdInputText(java.lang.String text,
int row,
int col)
Deprecated. Will be removed with gdInputText with String parameter for Row/Column |
void |
gdInputText(java.lang.String text,
java.lang.String row,
java.lang.String rowOperator,
java.lang.String col,
java.lang.String colOperator)
Types the text in the specified cell. |
void |
gdMove(java.lang.String direction,
int cellCount,
int clickCount,
int xPos,
java.lang.String xUnits,
int yPos,
java.lang.String yUnits,
java.lang.String extendSelection)
Selects a cell relative to the cell at the current mouse position. |
void |
gdPopupByIndexPathAtCell(int row,
int col,
java.lang.String indexPath)
Deprecated. Will be made private. For internal use only! |
void |
gdPopupByIndexPathAtSelectedCell(java.lang.String indexPath)
Deprecated. will be removed! |
void |
gdPopupByTextPathAtCell(int row,
int col,
java.lang.String textPath)
Deprecated. Will be made private. For internal use only! |
void |
gdPopupByTextPathAtSelectedCell(java.lang.String textPath)
Deprecated. will be removed! |
java.lang.String |
gdReadValue(java.lang.String variable)
Action to read the value of the current selected cell of the JTable to store it in a variable in the Client |
java.lang.String |
gdReadValue(java.lang.String variable,
int row,
int col)
Deprecated. Will be removed with gdReadValue with String parameter for Row/Column |
java.lang.String |
gdReadValue(java.lang.String variable,
java.lang.String row,
java.lang.String rowOperator,
java.lang.String col,
java.lang.String colOperator)
Action to read the value of the passed cell of the JTable to store it in a variable in the Client |
java.lang.String |
gdReadValueAtMousePosition(java.lang.String variable)
|
void |
gdReplaceText(java.lang.String text)
Types text into the component. |
void |
gdReplaceText(java.lang.String text,
int row,
int col)
Deprecated. Will be removed with gdReplaceText with String parameter for Row/Column |
void |
gdReplaceText(java.lang.String text,
java.lang.String row,
java.lang.String rowOperator,
java.lang.String col,
java.lang.String colOperator)
Replaces the given text in the given cell coordinates |
void |
gdSelectCell(int row,
int col,
int clickCount,
int xPos,
java.lang.String xUnits,
int yPos,
java.lang.String yUnits,
java.lang.String extendSelection)
Deprecated. Will be removed with gdSelectCell with String parameter for Row/Column |
void |
gdSelectCell(java.lang.String row,
java.lang.String rowOperator,
java.lang.String col,
java.lang.String colOperator,
int clickCount,
int xPos,
java.lang.String xUnits,
int yPos,
java.lang.String yUnits,
java.lang.String extendSelection,
int button)
Selects the cell of the JTable. With the xPos, yPos, xunits and yUnits the click position inside the cell can be defined. |
void |
gdSelectCellByColValue(int row,
java.lang.String value,
java.lang.String regex,
int clickCount,
java.lang.String extendSelection,
java.lang.String searchType)
Deprecated. Will be removed with gdSelectCellByColValue with String parameter for Row/Column |
protected void |
gdSelectCellByColValue(int row,
java.lang.String value,
java.lang.String regex,
java.lang.String extendSelection,
java.lang.String searchType,
int clickCount)
Deprecated. Will be removed with gdSelectCellByColValue with String parameter for Row/Column |
void |
gdSelectCellByColValue(java.lang.String row,
java.lang.String rowOperator,
java.lang.String value,
java.lang.String regex,
int clickCount,
java.lang.String extendSelection,
java.lang.String searchType,
int button)
Finds the first column which contains the value value
in the given row and selects the cell. |
protected void |
gdSelectCellByColValue(java.lang.String row,
java.lang.String rowOperator,
java.lang.String value,
java.lang.String regex,
java.lang.String extendSelection,
java.lang.String searchType,
org.eclipse.jubula.rc.common.driver.ClickOptions co)
Finds the first column which contains the value value
in the given row and selects the cell. |
void |
gdSelectCellByRowValue(int col,
java.lang.String value,
boolean regex)
Deprecated. the same as gdSelectRowByValue Will be removed! |
void |
gdSelectRow(int row,
java.lang.String extendSelection)
Deprecated. the same as gdSelectCell Will be removed! |
void |
gdSelectRowByValue(int col,
java.lang.String value,
int clickCount,
java.lang.String regexOp,
java.lang.String extendSelection,
java.lang.String searchType)
Deprecated. Will be removed with gdSelectRowByValue with String parameter for Row/Column |
protected void |
gdSelectRowByValue(int col,
java.lang.String value,
java.lang.String regexOp,
java.lang.String extendSelection,
java.lang.String searchType,
int clickCount)
Deprecated. Will be removed with gdSelectRowByValue with String parameter for Row/Column |
void |
gdSelectRowByValue(java.lang.String col,
java.lang.String colOperator,
java.lang.String value,
java.lang.String regexOp,
int clickCount,
java.lang.String extendSelection,
java.lang.String searchType,
int button)
Finds the first row which contains the value value
in column col and selects this row. |
protected void |
gdSelectRowByValue(java.lang.String col,
java.lang.String colOperator,
java.lang.String value,
java.lang.String regexOp,
java.lang.String extendSelection,
java.lang.String searchType,
org.eclipse.jubula.rc.common.driver.ClickOptions co)
Finds the first row which contains the value value
in column col and selects this row. |
void |
gdVerifyEditable(boolean editable)
Verifies the editable property of the current selected cell. |
void |
gdVerifyEditable(boolean editable,
int row,
int col)
Deprecated. Will be removed with gdVerifyEditable with String parameter for Row/Column |
void |
gdVerifyEditable(boolean editable,
java.lang.String row,
java.lang.String rowOperator,
java.lang.String col,
java.lang.String colOperator)
Verifies the editable property of the given indices. |
void |
gdVerifyEditableMousePosition(boolean editable)
Verifies the editable property of the cell under current mouse position. |
void |
gdVerifyEditableSelected(boolean editable)
Verifies the editable property of the selected cell. |
void |
gdVerifyText(java.lang.String text)
Verifies the rendered text inside the currently selected cell. |
void |
gdVerifyText(java.lang.String text,
java.lang.String operator)
Verifies the rendered text inside the currently selected cell. |
void |
gdVerifyText(java.lang.String text,
java.lang.String operator,
int row,
int col)
Deprecated. Will be removed with gdVerifyText with String parameter for Row/Column |
void |
gdVerifyText(java.lang.String text,
java.lang.String operator,
java.lang.String row,
java.lang.String rowOperator,
java.lang.String col,
java.lang.String colOperator)
Verifies the rendered text inside the passed cell. |
void |
gdVerifyTextAtMousePosition(java.lang.String text,
java.lang.String operator)
Verifies the rendered text inside cell at the mouse position on screen. |
void |
gdVerifyValueInColumn(java.lang.String col,
java.lang.String colOperator,
java.lang.String value,
java.lang.String operator,
java.lang.String searchType,
boolean exists)
Verifies, if value exists in column. |
void |
gdVerifyValueInRow(java.lang.String row,
java.lang.String rowOperator,
java.lang.String value,
java.lang.String operator,
java.lang.String searchType,
boolean exists)
Verifies, if value exists in row. |
protected org.eclipse.jubula.rc.common.implclasses.table.Cell |
getCellAtMousePosition()
|
protected java.lang.String |
getCellText(int row,
int col)
|
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. |
protected javax.swing.JPopupMenu |
showPopup(int button)
Shows and returns the popup menu |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTableImplClass()
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)
protected org.eclipse.jubula.rc.common.implclasses.table.Cell getCellAtMousePosition() throws org.eclipse.jubula.rc.common.exception.StepExecutionException
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If no cell is found.public void gdSelectCell(java.lang.String row, java.lang.String rowOperator, java.lang.String col, java.lang.String colOperator, int clickCount, int xPos, java.lang.String xUnits, int yPos, java.lang.String yUnits, java.lang.String extendSelection, int button) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
row
- the row to selectrowOperator
- the row header operatorcol
- the column to selectcolOperator
- the column header operatorclickCount
- The number of clicks with the right mouse buttonxPos
- what x positionxUnits
- should x position be pixel or percent valuesyPos
- what y positionyUnits
- should y position be pixel or percent valuesextendSelection
- Should this selection be part of a multiple selectionbutton
- what mouse button should be used
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalidpublic void gdSelectCell(int row, int col, int clickCount, int xPos, java.lang.String xUnits, int yPos, java.lang.String yUnits, java.lang.String extendSelection) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
row
- The row of the cell.col
- The column of the cell.clickCount
- The number of clicks with the right mouse buttonxPos
- what x positionxUnits
- should x position be pixel or percent valuesyPos
- what y positionyUnits
- should y position be pixel or percent valuesextendSelection
- Should this selection be part of a multiple selection
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalidpublic void gdMove(java.lang.String direction, int cellCount, int clickCount, int xPos, java.lang.String xUnits, int yPos, java.lang.String yUnits, java.lang.String extendSelection) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
direction
- the direction to move.cellCount
- the amount of cells to moveclickCount
- the click count to select the new cell.xPos
- what x positionxUnits
- should x position be pixel or percent valuesyPos
- what y positionyUnits
- should y position be pixel or percent valuesextendSelection
- Should this selection be part of a multiple selection
org.eclipse.jubula.rc.common.exception.StepExecutionException
- if any error occurspublic void gdSelectRow(int row, java.lang.String extendSelection) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
(row, 0)
.
row
- The rowextendSelection
- Should this selection be part of a multiple selection
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row is invalidpublic void gdVerifyText(java.lang.String text, java.lang.String operator, java.lang.String row, java.lang.String rowOperator, java.lang.String col, java.lang.String colOperator) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
row
- the row to selectrowOperator
- the row header operatorcol
- the column to selectcolOperator
- the column header operatortext
- The cell text to verify.operator
- The operation used to verify
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalid, or if the rendered text
cannot be extracted.public void gdVerifyText(java.lang.String text, java.lang.String operator, int row, int col) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
row
- The row of the cell.col
- The column of the cell.text
- The cell text to verify.operator
- The operation used to verify
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalid, or if the rendered text
cannot be extracted.protected java.lang.String getCellText(int row, int col)
row
- the zero based index of the rowcol
- the zero based index of the column
public void gdVerifyText(java.lang.String text, java.lang.String operator) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
text
- The cell text to verify.operator
- The operation used to verify
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If there is no selected cell, or if the rendered text cannot
be extracted.public void gdVerifyTextAtMousePosition(java.lang.String text, java.lang.String operator) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
text
- The cell text to verify.operator
- The operation used to verify
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If there is no selected cell, or if the rendered text cannot
be extracted.public void gdVerifyText(java.lang.String text) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
text
- The cell text to verify.
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If there is no selected cell, or if the rendered text cannot
be extracted.public void gdVerifyValueInRow(java.lang.String row, java.lang.String rowOperator, java.lang.String value, java.lang.String operator, java.lang.String searchType, boolean exists) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
row
- The row of the cell.rowOperator
- the row header operatorvalue
- The cell text to verify.operator
- The operation used to verifysearchType
- Determines where the search begins ("relative" or "absolute")exists
- true if value exists, false otherwise
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalid, or if the rendered text
cannot be extracted.public void gdVerifyValueInColumn(java.lang.String col, java.lang.String colOperator, java.lang.String value, java.lang.String operator, java.lang.String searchType, boolean exists) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
col
- The column of the cell.colOperator
- the column header operatorvalue
- The cell text to verify.operator
- The operation used to verifysearchType
- Determines where the search begins ("relative" or "absolute")exists
- true if value exists, false otherwise
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalid, or if the rendered text
cannot be extracted.public void gdVerifyEditable(boolean editable)
editable
- The editable property to verify.public void gdVerifyEditable(boolean editable, java.lang.String row, java.lang.String rowOperator, java.lang.String col, java.lang.String colOperator)
editable
- The editable property to verify.row
- the row to selectrowOperator
- the row header operatorcol
- the column to selectcolOperator
- the column header operatorpublic void gdVerifyEditable(boolean editable, int row, int col)
editable
- The editable property to verify.row
- The table rowcol
- The table columnpublic void gdVerifyEditableSelected(boolean editable)
editable
- the editable property to verify.public void gdVerifyEditableMousePosition(boolean editable)
editable
- the editable property to verify.public void gdReplaceText(java.lang.String text) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
text
into the component. This replaces the shown
content in the current selected cell.
text
- the text to type in
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If there is no selected cell, or if the cell is not editable,
or if the table cell editor permits the text to be written.public void gdReplaceText(java.lang.String text, java.lang.String row, java.lang.String rowOperator, java.lang.String col, java.lang.String colOperator)
text
- the text to replacerow
- the row to selectrowOperator
- the row header operatorcol
- the column to selectcolOperator
- the column header operatorpublic void gdReplaceText(java.lang.String text, int row, int col)
text
- the text to replacerow
- the rowcol
- the columnpublic void gdInputText(java.lang.String text) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
text
- The text.
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If there is no selected cell, or if the cell is not editable,
or if the table cell editor permits the text to be written.public void gdInputText(java.lang.String text, java.lang.String row, java.lang.String rowOperator, java.lang.String col, java.lang.String colOperator) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
text
- The textrow
- the row to selectrowOperator
- the row header operatorcol
- the column to selectcolOperator
- the column header operator
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the text input failspublic void gdInputText(java.lang.String text, int row, int col) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
text
- The textrow
- The table rowcol
- The table column
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the text input failspublic void gdClick(int count, int button)
gdClick
in class AbstractSwingImplClass
count
- Number of clicksbutton
- The mouse buttonpublic void gdSelectRowByValue(java.lang.String col, java.lang.String colOperator, java.lang.String value, java.lang.String regexOp, int clickCount, java.lang.String extendSelection, java.lang.String searchType, int button)
value
in column col
and selects this row.
col
- the column to selectcolOperator
- the column header operatorvalue
- the valueregexOp
- the regex operatorclickCount
- the number of clicksextendSelection
- Should this selection be part of a multiple selectionsearchType
- Determines where the search begins ("relative" or "absolute")button
- what mouse button should be usedpublic void gdSelectRowByValue(int col, java.lang.String value, int clickCount, java.lang.String regexOp, java.lang.String extendSelection, java.lang.String searchType)
value
in column col
and selects this row.
col
- the columnvalue
- the valueclickCount
- the number of clicksregexOp
- the regex operatorextendSelection
- Should this selection be part of a multiple selectionsearchType
- Determines where the search begins ("relative" or "absolute")protected void gdSelectRowByValue(java.lang.String col, java.lang.String colOperator, java.lang.String value, java.lang.String regexOp, java.lang.String extendSelection, java.lang.String searchType, org.eclipse.jubula.rc.common.driver.ClickOptions co)
value
in column col
and selects this row.
col
- the columncolOperator
- the column header operatorvalue
- the valueregexOp
- the regex operatorextendSelection
- Should this selection be part of a multiple selectionsearchType
- Determines where the search begins ("relative" or "absolute")co
- the clickOptions to useprotected void gdSelectRowByValue(int col, java.lang.String value, java.lang.String regexOp, java.lang.String extendSelection, java.lang.String searchType, int clickCount)
value
in column col
and selects this row.
col
- the columnvalue
- the valueregexOp
- the regex operatorextendSelection
- Should this selection be part of a multiple selectionsearchType
- Determines where the search begins ("relative" or "absolute")clickCount
- the clickCountpublic void gdSelectCellByColValue(java.lang.String row, java.lang.String rowOperator, java.lang.String value, java.lang.String regex, int clickCount, java.lang.String extendSelection, java.lang.String searchType, int button)
value
in the given row and selects the cell.
row
- the row to selectrowOperator
- the row header operatorvalue
- the valueclickCount
- the number of clicksregex
- search using regexextendSelection
- Should this selection be part of a multiple selectionsearchType
- Determines where the search begins ("relative" or "absolute")button
- what mouse button should be usedpublic void gdSelectCellByColValue(int row, java.lang.String value, java.lang.String regex, int clickCount, java.lang.String extendSelection, java.lang.String searchType)
value
in the given row and selects the cell.
row
- the rowvalue
- the valueclickCount
- the number of clicksregex
- search using regexextendSelection
- Should this selection be part of a multiple selectionsearchType
- Determines where the search begins ("relative" or "absolute")protected void gdSelectCellByColValue(java.lang.String row, java.lang.String rowOperator, java.lang.String value, java.lang.String regex, java.lang.String extendSelection, java.lang.String searchType, org.eclipse.jubula.rc.common.driver.ClickOptions co)
value
in the given row and selects the cell.
row
- the rowrowOperator
- the row header operatorvalue
- the valueregex
- search using regexextendSelection
- Should this selection be part of a multiple selectionsearchType
- Determines where the search begins ("relative" or "absolute")co
- the click options to useprotected void gdSelectCellByColValue(int row, java.lang.String value, java.lang.String regex, java.lang.String extendSelection, java.lang.String searchType, int clickCount)
value
in the given row and selects the cell.
row
- the rowvalue
- the valueregex
- search using regexextendSelection
- Should this selection be part of a multiple selectionsearchType
- Determines where the search begins ("relative" or "absolute")clickCount
- the number of clickspublic void gdSelectCellByRowValue(int col, java.lang.String value, boolean regex)
value
in the given column and selects the cell.
col
- the columnvalue
- the valueregex
- search using regexpublic void gdPopupByIndexPathAtCell(int row, int col, java.lang.String indexPath)
row
- rowcol
- columnindexPath
- path of the menu itemspublic void gdPopupByTextPathAtCell(int row, int col, java.lang.String textPath)
row
- rowcol
- columntextPath
- path of the menu itemspublic void gdPopupByIndexPathAtSelectedCell(java.lang.String indexPath)
indexPath
- path of the menu itemspublic void gdPopupByTextPathAtSelectedCell(java.lang.String textPath)
textPath
- path of the menu itemspublic java.lang.String gdReadValue(java.lang.String variable)
variable
- the name of the variable
public java.lang.String gdReadValue(java.lang.String variable, java.lang.String row, java.lang.String rowOperator, java.lang.String col, java.lang.String colOperator)
variable
- the name of the variablerow
- the row to selectrowOperator
- the row header operatorcol
- the column to selectcolOperator
- the column header operator
public java.lang.String gdReadValue(java.lang.String variable, int row, int col)
variable
- the name of the variablerow
- The row of the cellcol
- The column of the cell
public void gdDragCell(int mouseButton, java.lang.String modifier, java.lang.String row, java.lang.String rowOperator, java.lang.String col, java.lang.String colOperator, int xPos, java.lang.String xUnits, int yPos, java.lang.String yUnits) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
mouseButton
- the mouseButton.modifier
- the modifier.row
- the row to selectrowOperator
- the row header operatorcol
- the column to selectcolOperator
- the column header operatorxPos
- what x positionxUnits
- should x position be pixel or percent valuesyPos
- what y positionyUnits
- should y position be pixel or percent values
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalidpublic void gdDragCell(int mouseButton, java.lang.String modifier, int row, int col, int xPos, java.lang.String xUnits, int yPos, java.lang.String yUnits) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
mouseButton
- the mouseButton.modifier
- the modifier.row
- The row of the cell.col
- The column of the cell.xPos
- what x positionxUnits
- should x position be pixel or percent valuesyPos
- what y positionyUnits
- should y position be pixel or percent values
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalidpublic void gdDropCell(java.lang.String row, java.lang.String rowOperator, java.lang.String col, java.lang.String colOperator, int xPos, java.lang.String xUnits, int yPos, java.lang.String yUnits, int delayBeforeDrop) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
row
- the row to selectrowOperator
- the row header operatorcol
- the column to selectcolOperator
- the column header operatorxPos
- what x positionxUnits
- should x position be pixel or percent valuesyPos
- what y positionyUnits
- should y position be pixel or percent valuesdelayBeforeDrop
- the amount of time (in milliseconds) to wait
between moving the mouse to the drop point and
releasing the mouse button
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalidpublic void gdDropCell(int row, int col, int xPos, java.lang.String xUnits, int yPos, java.lang.String yUnits, int delayBeforeDrop) throws org.eclipse.jubula.rc.common.exception.StepExecutionException
row
- The row of the cell.col
- The column of the cell.xPos
- what x positionxUnits
- should x position be pixel or percent valuesyPos
- what y positionyUnits
- should y position be pixel or percent valuesdelayBeforeDrop
- the amount of time (in milliseconds) to wait
between moving the mouse to the drop point and
releasing the mouse button
org.eclipse.jubula.rc.common.exception.StepExecutionException
- If the row or the column is invalidpublic void gdDragRowByValue(int mouseButton, java.lang.String modifier, java.lang.String col, java.lang.String colOperator, java.lang.String value, java.lang.String regexOp, java.lang.String searchType)
value
in column col
and drags this row.
mouseButton
- the mouse buttonmodifier
- the modifiercol
- the columncolOperator
- the column header operatorvalue
- the valueregexOp
- the regex operatorsearchType
- Determines where the search begins ("relative" or "absolute")public void gdDragRowByValue(int mouseButton, java.lang.String modifier, int col, java.lang.String value, java.lang.String regexOp, java.lang.String searchType)
value
in column col
and drags this row.
mouseButton
- the mouse buttonmodifier
- the modifiercol
- the columnvalue
- the valueregexOp
- the regex operatorsearchType
- Determines where the search begins ("relative" or "absolute")public void gdDropRowByValue(int col, java.lang.String value, java.lang.String regexOp, java.lang.String searchType, int delayBeforeDrop)
value
in column col
and drops on this row.
col
- the columnvalue
- the valueregexOp
- the regex operatorsearchType
- Determines where the search begins ("relative" or "absolute")delayBeforeDrop
- the amount of time (in milliseconds) to wait
between moving the mouse to the drop point and
releasing the mouse buttonpublic void gdDropRowByValue(java.lang.String col, java.lang.String colOperator, java.lang.String value, java.lang.String regexOp, java.lang.String searchType, int delayBeforeDrop)
value
in column col
and drops on this row.
col
- the column to selectcolOperator
- the column header operatorvalue
- the valueregexOp
- the regex operatorsearchType
- Determines where the search begins ("relative" or "absolute")delayBeforeDrop
- the amount of time (in milliseconds) to wait
between moving the mouse to the drop point and
releasing the mouse buttonpublic void gdDragCellByColValue(int mouseButton, java.lang.String modifier, java.lang.String row, java.lang.String rowOperator, java.lang.String value, java.lang.String regex, java.lang.String searchType)
value
in the given row and drags the cell.
mouseButton
- the mouse buttonmodifier
- the modifiersrow
- the row to selectrowOperator
- the row header operatorvalue
- the valueregex
- search using regexsearchType
- Determines where the search begins ("relative" or "absolute")public void gdDragCellByColValue(int mouseButton, java.lang.String modifier, int row, java.lang.String value, java.lang.String regex, java.lang.String searchType)
value
in the given row and drags the cell.
mouseButton
- the mouse buttonmodifier
- the modifiersrow
- the rowvalue
- the valueregex
- search using regexsearchType
- Determines where the search begins ("relative" or "absolute")public void gdDropCellByColValue(java.lang.String row, java.lang.String rowOperator, java.lang.String value, java.lang.String regex, java.lang.String searchType, int delayBeforeDrop)
value
in the given row and drops on the cell.
row
- the row to selectrowOperator
- the row header operatorvalue
- the valueregex
- search using regexsearchType
- Determines where the search begins ("relative" or "absolute")delayBeforeDrop
- the amount of time (in milliseconds) to wait
between moving the mouse to the drop point and
releasing the mouse buttonpublic void gdDropCellByColValue(int row, java.lang.String value, java.lang.String regex, java.lang.String searchType, int delayBeforeDrop)
value
in the given row and drops on the cell.
row
- the rowvalue
- the valueregex
- search using regexsearchType
- Determines where the search begins ("relative" or "absolute")delayBeforeDrop
- the amount of time (in milliseconds) to wait
between moving the mouse to the drop point and
releasing the mouse buttonpublic java.lang.String[] getTextArrayFromComponent()
protected java.lang.String getText()
AbstractSwingImplClass
getText
in class AbstractSwingImplClass
AbstractSwingImplClass.getText()
public java.lang.String gdReadValueAtMousePosition(java.lang.String variable)
protected javax.swing.JPopupMenu showPopup(int button)
showPopup
in class AbstractSwingImplClass
button
- MouseButton
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |