|
org.netbeans.modules.jellytools.platform/3 3.13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.jemmy.operators.Operator
org.netbeans.jemmy.operators.ComponentOperator
org.netbeans.jemmy.operators.ContainerOperator
org.netbeans.jemmy.operators.JComponentOperator
org.netbeans.jemmy.operators.JTableOperator
org.netbeans.jellytools.OutlineOperator
public class OutlineOperator
An operator to handle org.netbeans.swing.outline.Outline component used e.g. in debugger views. Warning: Do not use yet unless really neccessary!! Incomplete, under development and most probably still buggy!
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.JTableOperator |
|---|
org.netbeans.jemmy.operators.JTableOperator.JTableByCellFinder, org.netbeans.jemmy.operators.JTableOperator.JTableFinder, org.netbeans.jemmy.operators.JTableOperator.TableCellChooser |
| Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.JComponentOperator |
|---|
org.netbeans.jemmy.operators.JComponentOperator.JComponentByTipFinder, org.netbeans.jemmy.operators.JComponentOperator.JComponentFinder |
| Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.ContainerOperator |
|---|
org.netbeans.jemmy.operators.ContainerOperator.ContainerFinder |
| Field Summary |
|---|
| Fields inherited from class org.netbeans.jemmy.operators.JTableOperator |
|---|
CELL_PREFIX_DPROP, COLUMN_COUNT_DPROP, COLUMN_PREFIX_DPROP, ROW_COUNT_DPROP, SELECTED_COLUMN_PREFIX_DPROP, SELECTED_ROW_PREFIX_DPROP |
| Fields inherited from class org.netbeans.jemmy.operators.JComponentOperator |
|---|
A11Y_DATA, A11Y_DESCRIPTION_DPROP, A11Y_NAME_DPROP, TOOLTIP_TEXT_DPROP |
| Fields inherited from class org.netbeans.jemmy.operators.ComponentOperator |
|---|
HEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROP |
| Fields inherited from class org.netbeans.jemmy.operators.Operator |
|---|
CLASS_DPROP, TO_STRING_DPROP |
| Constructor Summary | |
|---|---|
OutlineOperator(org.netbeans.jemmy.operators.ContainerOperator cont)
|
|
OutlineOperator(org.netbeans.jemmy.operators.ContainerOperator cont,
int index)
|
|
OutlineOperator(Outline outline)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.netbeans.jemmy.operators.JTableOperator |
|---|
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, waitJTable |
| Methods inherited from class org.netbeans.jemmy.operators.JComponentOperator |
|---|
addAncestorListener, 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, waitToolTip |
| Methods inherited from class org.netbeans.jemmy.operators.ContainerOperator |
|---|
add, 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, waitSubComponent |
| Methods inherited from class org.netbeans.jemmy.operators.ComponentOperator |
|---|
activateWindow, 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, 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, typeKey, typeKey, typeKey, update, validate, waitComponent, waitComponent, waitComponent, waitComponent, waitComponentEnabled, waitComponentShowing, waitComponentVisible, waitHasFocus, wtComponentEnabled |
| Methods inherited from class org.netbeans.jemmy.operators.Operator |
|---|
addOperatorPackage, 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, waitState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutlineOperator(org.netbeans.jemmy.operators.ContainerOperator cont)
public OutlineOperator(org.netbeans.jemmy.operators.ContainerOperator cont,
int index)
public OutlineOperator(Outline outline)
| Method Detail |
|---|
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 question
public int getRowForPath(TreePath irTreePath)
irTreePath - TreePath in question
protected 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 -
|
org.netbeans.modules.jellytools.platform/3 3.13 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||