public class OutlineOperator extends org.netbeans.jemmy.operators.JTableOperator
org.netbeans.jemmy.operators.JTableOperator.JTableByCellFinder, org.netbeans.jemmy.operators.JTableOperator.JTableFinder, org.netbeans.jemmy.operators.JTableOperator.TableCellChooserorg.netbeans.jemmy.operators.JComponentOperator.JComponentByTipFinder, org.netbeans.jemmy.operators.JComponentOperator.JComponentFinderorg.netbeans.jemmy.operators.ContainerOperator.ContainerFinderorg.netbeans.jemmy.operators.Operator.ComponentVisualizer, org.netbeans.jemmy.operators.Operator.DefaultPathParser, org.netbeans.jemmy.operators.Operator.DefaultStringComparator, org.netbeans.jemmy.operators.Operator.Finder, org.netbeans.jemmy.operators.Operator.MapAction, org.netbeans.jemmy.operators.Operator.MapBooleanAction, org.netbeans.jemmy.operators.Operator.MapByteAction, org.netbeans.jemmy.operators.Operator.MapCharacterAction, org.netbeans.jemmy.operators.Operator.MapDoubleAction, org.netbeans.jemmy.operators.Operator.MapFloatAction, org.netbeans.jemmy.operators.Operator.MapIntegerAction, org.netbeans.jemmy.operators.Operator.MapLongAction, org.netbeans.jemmy.operators.Operator.MapVoidAction, org.netbeans.jemmy.operators.Operator.NoBlockingAction, org.netbeans.jemmy.operators.Operator.PathParser, org.netbeans.jemmy.operators.Operator.StringComparatorCELL_PREFIX_DPROP, COLUMN_COUNT_DPROP, COLUMN_PREFIX_DPROP, ROW_COUNT_DPROP, SELECTED_COLUMN_PREFIX_DPROP, SELECTED_ROW_PREFIX_DPROPA11Y_DATA, A11Y_DESCRIPTION_DPROP, A11Y_NAME_DPROP, TOOLTIP_TEXT_DPROPHEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROPCLASS_DPROP, TO_STRING_DPROP| Constructor and Description |
|---|
OutlineOperator(org.netbeans.jemmy.operators.ContainerOperator cont) |
OutlineOperator(org.netbeans.jemmy.operators.ContainerOperator cont,
int index) |
OutlineOperator(Outline outline) |
| Modifier and Type | Method and Description |
|---|---|
void |
expandPath(TreePath irTP)
Expands target path.
|
TreePath |
findNextPathElement(TreePath irParentPath,
String isName)
Tries to find a child of the irParentPath which matches isName.
|
TreePath |
findNextPathElement(TreePath irParentPath,
String isName,
int inIndex)
Tries to find a child of the irParentPath which matches isName.
|
TreePath |
findPath(String isPath)
Tries to find a the defined path beginning from the root node.
|
TreePath |
findPath(TreePath irParentPath,
String isPath)
Tries to find a subpath (descendant) of a parent path in the tree.
|
Point |
getLocationForPath(TreePath irTreePath)
Gets the location of a given TreePath in the Outline table (x for columns
and y for rows) or (-1,-1) in case it was not found.
|
Outline |
getOutline()
Gets the Outline component the operator is working with.
|
protected int |
getPrecedingSiblingsRowSpan(TreePath irTreePath)
Gets the rowspan of siblings which are above irTreePath in the tree.
|
OutlineNode |
getRootNode(String isName)
Gets the first root node (child of the root element) of the specified
name.
|
OutlineNode |
getRootNode(String isName,
int inIndex)
Gets a root node (child of the root element) of the specified name.
|
int |
getRowForPath(TreePath irTreePath)
Gets the row in the Outline table for a given TreePath or -1 if the
TreePath is invalid.
|
protected int |
getRowSpanOfLastElement(TreePath irTreePath)
Gets the total rowspan of the last element of irTreePath.
|
int |
getTreeColumnIndex()
Gets the current index of the tree column (column of the table which
contains the tree) in the table.
|
protected int |
getVisibleRootModifier()
Returns modifier based on root being hidden or not.
|
boolean |
isExpanded(TreePath irTP)
Returns true if target path is expanded.
|
void |
scrollToPath(TreePath irPath) |
void |
selectPath(TreePath irPath) |
void |
waitExpanded(TreePath irTP)
Waits until the given TreePath is expanded.
|
addColumn, addColumnSelectionInterval, addRowSelectionInterval, callPopupOnCell, changeCellObject, changeCellText, clearSelection, clickForEdit, clickOnCell, clickOnCell, clickOnCell, clickOnCell, columnAdded, columnAtPoint, columnMarginChanged, columnMoved, columnRemoved, columnSelectionChanged, convertColumnIndexToModel, convertColumnIndexToView, copyEnvironment, createDefaultColumnsFromModel, editCellAt, editCellAt, editingCanceled, editingStopped, findCell, findCell, findCell, findCell, findCell, findCell, findCell, findCell, findCell, findCell, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellColumn, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findCellRow, findColumn, findColumn, findJTable, findJTable, findJTable, findJTable, getAutoCreateColumnsFromModel, getAutoResizeMode, getCellEditor, getCellEditor, getCellRect, getCellRenderer, getCellSelectionEnabled, getColumn, getColumnClass, getColumnCount, getColumnModel, getColumnName, getColumnSelectionAllowed, getDefaultEditor, getDefaultRenderer, getDump, getEditingColumn, getEditingRow, getEditorComponent, getGridColor, getHeaderOperator, getIntercellSpacing, getModel, getOutput, getPointToClick, getPreferredScrollableViewportSize, getRenderedComponent, getRenderedComponent, getRowCount, getRowHeight, getRowMargin, getRowSelectionAllowed, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedColumn, getSelectedColumnCount, getSelectedColumns, getSelectedRow, getSelectedRowCount, getSelectedRows, getSelectionBackground, getSelectionForeground, getSelectionModel, getShowHorizontalLines, getShowVerticalLines, getTableHeader, getTimeouts, getUI, getValueAt, isCellEditable, isCellSelected, isColumnSelected, isEditing, isRowSelected, moveColumn, prepareEditor, prepareRenderer, removeColumn, removeColumnSelectionInterval, removeEditor, removeRowSelectionInterval, rowAtPoint, scrollToCell, selectAll, selectCell, setAutoCreateColumnsFromModel, setAutoResizeMode, setCellEditor, setCellSelectionEnabled, setColumnModel, setColumnSelectionAllowed, setColumnSelectionInterval, setDefaultEditor, setDefaultRenderer, setEditingColumn, setEditingRow, setGridColor, setIntercellSpacing, setModel, setOutput, setPreferredScrollableViewportSize, setRowHeight, setRowMargin, setRowSelectionAllowed, setRowSelectionInterval, setSelectionBackground, setSelectionForeground, setSelectionMode, setSelectionModel, setShowGrid, setShowHorizontalLines, setShowVerticalLines, setTableHeader, setTimeouts, setUI, setValueAt, tableChanged, valueChanged, waitCell, waitCellComponent, waitJTable, waitJTable, waitJTable, waitJTableaddAncestorListener, addVetoableChangeListener, computeVisibleRect, createToolTip, findJComponent, findJComponent, findJComponent, findJComponent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getAutoscrolls, getBorder, getCenterXForClick, getCenterYForClick, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getInsets, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVisibleRect, getWindowContainerOperator, grabFocus, isFocusCycleRoot, isManagingFocus, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, requestDefaultFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, showToolTip, unregisterKeyboardAction, updateUI, waitJComponent, waitJComponent, waitJComponent, waitJComponent, waitToolTipadd, add, add, add, add, addContainerListener, createSubOperator, createSubOperator, findComponentAt, findComponentAt, findContainer, findContainer, findContainer, findContainer, findContainerUnder, findContainerUnder, findSubComponent, findSubComponent, getComponent, getComponentCount, getComponents, getInsets, getLayout, isAncestorOf, paintComponents, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, waitContainer, waitContainer, waitContainer, waitContainer, waitSubComponent, waitSubComponentactivateWindow, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, checkImage, checkImage, clickForPopup, clickForPopup, clickForPopup, clickForPopup, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, contains, contains, createImage, createImage, dispatchEvent, doLayout, dragMouse, dragMouse, dragMouse, dragNDrop, dragNDrop, dragNDrop, enableInputMethods, enterMouse, exitMouse, findComponent, findComponent, findComponents, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getCenterX, getCenterY, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getContainer, getContainers, getCursor, getDropTarget, getEventDispatcher, getFocus, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getSize, getSource, getToolkit, getTreeLock, getWidth, getWindow, getX, getY, hasFocus, imageUpdate, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, list, list, list, list, list, makeComponentVisible, moveMouse, paint, paintAll, prepareImage, prepareImage, pressKey, pressKey, pressMouse, pressMouse, print, printAll, pushKey, pushKey, releaseKey, releaseKey, releaseMouse, releaseMouse, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, transferFocus, typedKey, typeKey, typeKey, typeKey, update, validate, waitComponent, waitComponent, waitComponent, waitComponent, waitComponentEnabled, waitComponentShowing, waitComponentVisible, waitHasFocus, wtComponentEnabledaddOperatorPackage, addToDump, addToDump, createOperator, getCharBindingMap, getCharKey, getCharModifiers, getCharsKeys, getCharsKeys, getCharsModifiers, getCharsModifiers, getComparator, getDefaultComponentVisualizer, getDefaultMouseButton, getDefaultPathParser, getDefaultStringComparator, getDefaultVerification, getEnvironmentOperator, getParentPath, getParentPath, getPathParser, getPopupMouseButton, getProperties, getQueueTool, getVerification, getVisualizer, isCaptionEqual, isCaptionEqual, isCaptionEqual, lockQueue, parseString, parseString, printDump, produceNoBlocking, produceNoBlocking, produceTimeRestricted, produceTimeRestricted, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, setCharBindingMap, setComparator, setDefaultComponentVisualizer, setDefaultPathParser, setDefaultStringComparator, setDefaultVerification, setPathParser, setProperties, setVerification, setVisualizer, toStringSource, unlockAndThrow, unlockQueue, waitStatepublic OutlineOperator(org.netbeans.jemmy.operators.ContainerOperator cont)
public OutlineOperator(org.netbeans.jemmy.operators.ContainerOperator cont, int index)
public OutlineOperator(Outline outline)
public Outline getOutline()
public int getTreeColumnIndex()
public TreePath findNextPathElement(TreePath irParentPath, String isName, int inIndex)
irParentPath - parent path in which to searchisName - name of the node to be foundinIndex - index of the node among its siblings (in case there are
more of the same name)public TreePath findNextPathElement(TreePath irParentPath, String isName)
irParentPath - isName - public OutlineNode getRootNode(String isName)
isName - public OutlineNode getRootNode(String isName, int inIndex)
isName - inIndex - public TreePath findPath(TreePath irParentPath, String isPath)
irParentPath - parent path to start the search inisPath - node name or a list of nodes separated by "|"public TreePath findPath(String isPath)
isPath - node name or a list of nodes separated by "|"public void waitExpanded(TreePath irTP)
irTP - TreePath in questionprotected int getVisibleRootModifier()
public Point getLocationForPath(TreePath irTreePath)
irTreePath - TreePath in questionpublic int getRowForPath(TreePath irTreePath)
irTreePath - TreePath in questionprotected int getPrecedingSiblingsRowSpan(TreePath irTreePath)
irTreePath - protected int getRowSpanOfLastElement(TreePath irTreePath)
irTreePath - public void selectPath(TreePath irPath)
public void scrollToPath(TreePath irPath)
public void expandPath(TreePath irTP)
irTP - public boolean isExpanded(TreePath irTP)
irTP - Built on May 24 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.