org.netbeans.modules.jellytools.platform/3 3.13

org.netbeans.jellytools
Class TreeTableOperator.RenderedTreeOperator

java.lang.Object
  extended by org.netbeans.jemmy.operators.Operator
      extended by org.netbeans.jemmy.operators.ComponentOperator
          extended by org.netbeans.jemmy.operators.ContainerOperator
              extended by org.netbeans.jemmy.operators.JComponentOperator
                  extended by org.netbeans.jemmy.operators.JTreeOperator
                      extended by org.netbeans.jellytools.TreeTableOperator.RenderedTreeOperator
All Implemented Interfaces:
org.netbeans.jemmy.Outputable, org.netbeans.jemmy.Timeoutable
Enclosing class:
TreeTableOperator

public static class TreeTableOperator.RenderedTreeOperator
extends org.netbeans.jemmy.operators.JTreeOperator

Operator used to process events not on JTree but on TreeTable component which is used to handle events in real.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.JTreeOperator
org.netbeans.jemmy.operators.JTreeOperator.JTreeByItemFinder, org.netbeans.jemmy.operators.JTreeOperator.JTreeFinder, org.netbeans.jemmy.operators.JTreeOperator.NoSuchPathException, org.netbeans.jemmy.operators.JTreeOperator.TreePathChooser, org.netbeans.jemmy.operators.JTreeOperator.TreeRowChooser
 
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
 
Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.Operator
org.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.StringComparator
 
Field Summary
 
Fields inherited from class org.netbeans.jemmy.operators.JTreeOperator
NODE_PREFIX_DPROP, ROOT_DPROP, SELECTION_FIRST_DPROP, SELECTION_LAST_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
TreeTableOperator.RenderedTreeOperator(TreeTableOperator oper, JTree tree)
          Creates new instance of RenderedTreeOperator.
 
Method Summary
 JPopupMenu callPopupOnPaths(TreePath[] paths, int mouseButton)
          Calls popup menu on specified tree paths.
 void expandPath(TreePath treePath)
          Expands path and waits until all children are ready.
 org.netbeans.jemmy.operators.ComponentOperator getRealOperator()
          Returns TreeTableOperator instance which is used to handle events.
 void scrollToPath(TreePath path)
          Scrolls to a path if the tree is on a JScrollPane component.
 
Methods inherited from class org.netbeans.jemmy.operators.JTreeOperator
addSelectionInterval, addSelectionPath, addSelectionPaths, addSelectionRow, addSelectionRows, addTreeExpansionListener, addTreeSelectionListener, addTreeWillExpandListener, callPopupOnPath, callPopupOnPath, callPopupOnPaths, cancelEditing, changePathObject, changePathText, chooseSubnode, chooseSubnode, chooseSubnode, chooseSubnode, clearSelection, clickForEdit, clickOnPath, clickOnPath, clickOnPath, clickOnPath, collapsePath, collapseRow, convertValueToText, copyEnvironment, doCollapsePath, doCollapseRow, doExpandPath, doExpandRow, doMakeVisible, expandRow, findJTree, findJTree, findJTree, findJTree, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findPath, findRow, findRow, findRow, findRow, findRow, findRow, findRow, findRow, findRow, findRow, fireTreeCollapsed, fireTreeExpanded, fireTreeWillCollapse, fireTreeWillExpand, getCellEditor, getCellRenderer, getChild, getChildCount, getChildCount, getChildPath, getChildPaths, getChildren, getClosestPathForLocation, getClosestRowForLocation, getDump, getEditingPath, getExpandedDescendants, getInvokesStopCellEditing, getLastSelectedPathComponent, getLeadSelectionPath, getLeadSelectionRow, getMaxSelectionRow, getMinSelectionRow, getModel, getOutput, getPathBounds, getPathForLocation, getPathForRow, getPointToClick, getPointToClick, getPreferredScrollableViewportSize, getRenderedComponent, getRenderedComponent, getRoot, getRowBounds, getRowCount, getRowForLocation, getRowForPath, getRowHeight, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollsOnExpand, getSelectionCount, getSelectionModel, getSelectionPath, getSelectionPaths, getSelectionRows, getShowsRootHandles, getTimeouts, getUI, getVisibleRowCount, hasBeenExpanded, isCollapsed, isCollapsed, isEditable, isEditing, isExpanded, isExpanded, isFixedRowHeight, isLargeModel, isPathEditable, isPathSelected, isRootVisible, isRowSelected, isSelectionEmpty, isVisible, makeVisible, removeSelectionInterval, removeSelectionPath, removeSelectionPaths, removeSelectionRow, removeSelectionRows, removeTreeExpansionListener, removeTreeSelectionListener, removeTreeWillExpandListener, scrollPathToVisible, scrollRowToVisible, scrollToRow, selectPath, selectPaths, selectRow, setCellEditor, setCellRenderer, setEditable, setInvokesStopCellEditing, setLargeModel, setModel, setOutput, setRootVisible, setRowHeight, setScrollsOnExpand, setSelectionInterval, setSelectionModel, setSelectionPath, setSelectionPaths, setSelectionRow, setSelectionRows, setShowsRootHandles, setTimeouts, setUI, setVisibleRowCount, startEditingAtPath, stopEditing, treeDidChange, waitCollapsed, waitCollapsed, waitExpanded, waitExpanded, waitJTree, waitJTree, waitJTree, waitJTree, waitRow, waitSelected, waitSelected, waitSelected, waitSelected, waitVisible
 
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

TreeTableOperator.RenderedTreeOperator

public TreeTableOperator.RenderedTreeOperator(TreeTableOperator oper,
                                              JTree tree)
Creates new instance of RenderedTreeOperator.

Parameters:
oper - TreeTable operator to handle events
tree - JTree representing nodes
Method Detail

getRealOperator

public org.netbeans.jemmy.operators.ComponentOperator getRealOperator()
Returns TreeTableOperator instance which is used to handle events.

Returns:
TreeTableOperator instance

callPopupOnPaths

public JPopupMenu callPopupOnPaths(TreePath[] paths,
                                   int mouseButton)
Calls popup menu on specified tree paths.

Overrides:
callPopupOnPaths in class org.netbeans.jemmy.operators.JTreeOperator
Parameters:
paths - an array of TreePath instances
mouseButton - mouse button identification
Returns:
JPopupMenu instance opened by this method

scrollToPath

public void scrollToPath(TreePath path)
Scrolls to a path if the tree is on a JScrollPane component.

Overrides:
scrollToPath in class org.netbeans.jemmy.operators.JTreeOperator
Parameters:
path - TreePath where to scroll

expandPath

public void expandPath(TreePath treePath)
Expands path and waits until all children are ready. This method is used in JTreeOperator.findPathPrimitive, so we need it override here.

Overrides:
expandPath in class org.netbeans.jemmy.operators.JTreeOperator
Parameters:
treePath - tree path to be expanded

org.netbeans.modules.jellytools.platform/3 3.13

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.