Java Doc for JTreeOperator.java in  » Testing » jemmy » org » netbeans » jemmy » operators » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » jemmy » org.netbeans.jemmy.operators 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.jemmy.operators.Operator
      org.netbeans.jemmy.operators.ComponentOperator
         org.netbeans.jemmy.operators.ContainerOperator
            org.netbeans.jemmy.operators.JComponentOperator
               org.netbeans.jemmy.operators.JTreeOperator

JTreeOperator
public class JTreeOperator extends JComponentOperator implements Timeoutable,Outputable(Code)


Timeouts used:
JTreeOperator.WaitNodeExpandedTimeout - time to wait node expanded
JTreeOperator.WaitNodeCollapsedTimeout - time to wait node collapsed
JTreeOperator.WaitAfterNodeExpandedTimeout - time to to sleep after node expanded
JTreeOperator.WaitNextNodeTimeout - time to wait next node displayed
JTreeOperator.WaitNodeVisibleTimeout - time to wait node visible
JTreeOperator.BeforeEditTimeout - time to sleep before edit click
JTreeOperator.WaitEditingTimeout - time to wait node editing
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitStateTimeout - time to wait for path to be expanded, collapsed, selected, time to wait for a text in a row
WindowWaiter.WaitWindowTimeout - time to wait popup window displayed
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling
.
See Also:   org.netbeans.jemmy.Timeouts
author:
   Alexandre Iline (alexandre.iline@sun.com)

Inner Class :public interface TreeRowChooser
Inner Class :public class NoSuchPathException extends JemmyInputException
Inner Class :public interface TreePathChooser
Inner Class :class StringArrayPathChooser implements TreePathChooser
Inner Class :public static class JTreeFinder extends Finder
Inner Class :public static class JTreeByItemFinder implements ComponentChooser

Field Summary
final public static  StringNODE_PREFIX_DPROP
     Identifier for a "node" properties.
final public static  StringROOT_DPROP
     Identifier for a "root" property.
final public static  StringSELECTION_FIRST_DPROP
     Identifier for a "first selected" property.
final public static  StringSELECTION_LAST_DPROP
     Identifier for a "last selected" property.

Constructor Summary
public  JTreeOperator(JTree b)
     Constructor.
public  JTreeOperator(ContainerOperator cont, ComponentChooser chooser, int index)
     Constructs a JTreeOperator object.
public  JTreeOperator(ContainerOperator cont, ComponentChooser chooser)
     Constructs a JTreeOperator object.
public  JTreeOperator(ContainerOperator cont, String text, int row, int index)
     Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.
Parameters:
  cont - a container
Parameters:
  text - Text of a row which is currently selected.
public  JTreeOperator(ContainerOperator cont, String text, int index)
     Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.
Parameters:
  cont - a container
Parameters:
  text - Text of a row which is currently selected.
public  JTreeOperator(ContainerOperator cont, String text)
     Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.
Parameters:
  cont - a container
Parameters:
  text - Text of a row which is currently selected.
public  JTreeOperator(ContainerOperator cont, int index)
     Constructor.
public  JTreeOperator(ContainerOperator cont)
     Constructor.

Method Summary
public  voidaddSelectionInterval(int i, int i1)
    
public  voidaddSelectionPath(TreePath treePath)
    
public  voidaddSelectionPaths(TreePath[] treePath)
    
public  voidaddSelectionRow(int i)
    
public  voidaddSelectionRows(int[] i)
    
public  voidaddTreeExpansionListener(TreeExpansionListener treeExpansionListener)
    
public  voidaddTreeSelectionListener(TreeSelectionListener treeSelectionListener)
    
public  voidaddTreeWillExpandListener(TreeWillExpandListener treeWillExpandListener)
    
public  JPopupMenucallPopupOnPath(TreePath path, int mouseButton)
     Calls popup on the specified path.
Parameters:
  path - a path to invoking popup on.
Parameters:
  mouseButton - a mouse button tused to call popup.
public  JPopupMenucallPopupOnPath(TreePath path)
     Calls popup on the specified path.
Parameters:
  path - a path to invoking popup on.
public  JPopupMenucallPopupOnPaths(TreePath[] paths, int mouseButton)
     Calls popup on the specified pathes.
Parameters:
  paths - an array of paths to select before invoking popup on one of them
Parameters:
  mouseButton - a mouse button tused to call popup.
public  JPopupMenucallPopupOnPaths(TreePath[] paths)
     Calls popup on the specified pathes.
public  voidcancelEditing()
    
public  voidchangePathObject(TreePath path, Object newValue)
     Changes last path component using getCellEditor() editor.
public  voidchangePathText(TreePath path, String newNodeText)
     Changes text of last path component.
public  ObjectchooseSubnode(Object parent, String text, int index, StringComparator comparator)
    
public  ObjectchooseSubnode(Object parent, String text, StringComparator comparator)
    
public  ObjectchooseSubnode(Object parent, String text, int index)
    
public  ObjectchooseSubnode(Object parent, String text)
    
public  voidclearSelection()
    
public  voidclickForEdit(TreePath path)
     Turns path to the editing mode.
public  voidclickOnPath(TreePath path, int clickCount, int mouseButton, int modifiers)
     Clicks on the node.
public  voidclickOnPath(TreePath path, int clickCount, int mouseButton)
     Clicks on the node.
public  voidclickOnPath(TreePath path, int clickCount)
     Clicks on the node.
public  voidclickOnPath(TreePath path)
     Clicks on the node.
public  voidcollapsePath(TreePath treePath)
    
public  voidcollapseRow(int i)
    
public  StringconvertValueToText(Object object, boolean b, boolean b1, boolean b2, int i, boolean b3)
    
public  voidcopyEnvironment(Operator anotherOperator)
    
public  voiddoCollapsePath(TreePath path)
     Ensures that the node identified by the specified path is collapsed and viewable.
public  voiddoCollapseRow(int row)
     Ensures that the node in the specified row is collapsed.
public  voiddoExpandPath(TreePath path)
     Expands path.
public  voiddoExpandRow(int row)
     Expands path on row.
public  voiddoMakeVisible(TreePath path)
     Ensures that the node identified by path is currently viewable.
public  voidexpandPath(TreePath treePath)
    
public  voidexpandRow(int i)
    
public static  JTreefindJTree(Container cont, ComponentChooser chooser, int index)
     Searches JTree in container.
Parameters:
  cont - Container to search component in.
Parameters:
  chooser - org.netbeans.jemmy.ComponentChooser implementation.
Parameters:
  index - Ordinal component index.
public static  JTreefindJTree(Container cont, ComponentChooser chooser)
     Searches 0'th JTree in container.
Parameters:
  cont - Container to search component in.
Parameters:
  chooser - org.netbeans.jemmy.ComponentChooser implementation.
public static  JTreefindJTree(Container cont, String text, boolean ce, boolean ccs, int rowIndex, int index)
     Searches JTree by item.
Parameters:
  cont - Container to search component in.
Parameters:
  text - Item text.
public static  JTreefindJTree(Container cont, String text, boolean ce, boolean ccs, int rowIndex)
     Searches JTree by item.
Parameters:
  cont - Container to search component in.
Parameters:
  text - Item text.
public  TreePathfindPath(TreePathChooser chooser)
     Searches path in tree.
Parameters:
  chooser - TreePathChooser implementation.
public  TreePathfindPath(String[] names, int[] indexes, StringComparator comparator)
     Searches path in tree.
public  TreePathfindPath(String[] names, int[] indexes, boolean ce, boolean ccs)
     Searches path in tree. Can be used to find one of the nodes with the same text. Example:
 root
 +-+node
 | +--subnode
 +-+node
 | +--subnode
 | +--subnode
 ...
 String[] names = {"node", "subnode"};
int[] indexes = {1, 0};
TreePath path = findPath(names, indexes, true, true);
"path" will points to the second (from the top) "subnode" node.
Parameters:
  names - Node texts array.
Parameters:
  indexes - Nodes indexes.
Parameters:
  ce - Compare exactly.
Parameters:
  ccs - Compare case sensitively.
public  TreePathfindPath(String[] names, int[] indexes)
     Searches path in tree. Uses StringComparator assigned to this object.
Parameters:
  names - Node texts array.
Parameters:
  indexes - Nodes indexes.
public  TreePathfindPath(String[] names, StringComparator comparator)
     Searches path in tree.
public  TreePathfindPath(String[] names, boolean ce, boolean ccs)
     Searches path in tree.
Parameters:
  names - Node texts array.
Parameters:
  ce - Compare exactly.
Parameters:
  ccs - Compare case sensitively.
public  TreePathfindPath(String[] names)
     Searches path in tree. Uses StringComparator assigned to this object.
Parameters:
  names - Node texts array.
public  TreePathfindPath(String path, String indexes, String delim, StringComparator comparator)
     Searches path in tree.
public  TreePathfindPath(String path, String indexes, String delim, boolean ce, boolean ccs)
     Searches path in tree.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  indexes - String representing indexes to search path components.Indexes should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter.
Parameters:
  ce - Compare exactly.
Parameters:
  ccs - Compare case sensitively.
public  TreePathfindPath(String path, String indexes, String delim)
     Searches path in tree. Uses StringComparator assigned to this object.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  indexes - String representing indexes to search path components.Indexes should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter.
public  TreePathfindPath(String path, String delim, StringComparator comparator)
     Searches path in tree.
public  TreePathfindPath(String path, StringComparator comparator)
     Searches path in tree.
public  TreePathfindPath(String path, String delim, boolean ce, boolean ccs)
     Searches path in tree.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter.
Parameters:
  ce - Compare exactly.
Parameters:
  ccs - Compare case sensitively.
public  TreePathfindPath(String path, String delim)
     Searches path in tree. Uses StringComparator assigned to this object.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter.
public  TreePathfindPath(String path)
     Searches path in tree. Uses StringComparator assigned to this object. Uses PathParser assigned to this object.
Parameters:
  path - String representing tree path.
public  intfindRow(TreeRowChooser chooser, int index)
     Searches index'th row by row chooser.
Parameters:
  chooser - a path searching criteria.
Parameters:
  index - a child index.
public  intfindRow(TreeRowChooser chooser)
     Searches a row by row chooser.
Parameters:
  chooser - a path searching criteria.
public  intfindRow(String item, StringComparator comparator, int index)
     Searches index'th row by substring.
public  intfindRow(String item, boolean ce, boolean cc, int index)
     Searches index'th row by substring.
public  intfindRow(String item, int index)
     Searches index'th row by substring.
public  intfindRow(String item, StringComparator comparator)
     Searches a row by substring.
public  intfindRow(String item, boolean ce, boolean cc)
     Searches a row by substring.
Parameters:
  item - Substring.
Parameters:
  ce - Compare exactly
Parameters:
  cc - Compare case sensitivelly.
public  intfindRow(String item)
     Searches a row by substring. Uses StringComparator assigned to this object.
Parameters:
  item - Substring.
public  intfindRow(ComponentChooser chooser, int index)
     Searches index'th row by rendered component.
public  intfindRow(ComponentChooser chooser)
     Searches a row by rendered component.
Parameters:
  chooser - Component checking object.
public  voidfireTreeCollapsed(TreePath treePath)
    
public  voidfireTreeExpanded(TreePath treePath)
    
public  voidfireTreeWillCollapse(TreePath treePath)
    
public  voidfireTreeWillExpand(TreePath treePath)
    
public  TreeCellEditorgetCellEditor()
    
public  TreeCellRenderergetCellRenderer()
    
public  ObjectgetChild(Object node, int index)
     Returns node child.
Parameters:
  node - a node to get a child of.
Parameters:
  index - a child index.
public  intgetChildCount(Object node)
     Returns number of child.
Parameters:
  node - a node to count children of.
public  intgetChildCount(TreePath path)
     Returns number of child.
Parameters:
  path - a path indicating a node to count children of.
public  TreePathgetChildPath(TreePath path, int index)
     Constructs new path from a path and index's subnode of it last node.
Parameters:
  path - a path indicating a node to get a child of.
Parameters:
  index - a child node index.
public  TreePath[]getChildPaths(TreePath path)
     Constructs new paths from a path and all subnodes of it last node.
Parameters:
  path - a path indicating a node to get children of.
public  Object[]getChildren(Object node)
     Returns node children.
Parameters:
  node - a node to get children of.
public  TreePathgetClosestPathForLocation(int i, int i1)
    
public  intgetClosestRowForLocation(int i, int i1)
    
public  HashtablegetDump()
     Returns information about component.
public  TreePathgetEditingPath()
    
public  EnumerationgetExpandedDescendants(TreePath treePath)
    
public  booleangetInvokesStopCellEditing()
    
public  ObjectgetLastSelectedPathComponent()
    
public  TreePathgetLeadSelectionPath()
    
public  intgetLeadSelectionRow()
    
public  intgetMaxSelectionRow()
    
public  intgetMinSelectionRow()
    
public  TreeModelgetModel()
    
public  TestOutgetOutput()
    
public  RectanglegetPathBounds(TreePath treePath)
    
public  TreePathgetPathForLocation(int i, int i1)
    
public  TreePathgetPathForRow(int i)
    
public  PointgetPointToClick(TreePath path)
     Retuns points which can be used to click on path.
Parameters:
  path - a tree path to click on.
public  PointgetPointToClick(int row)
     Retuns points which can be used to click on path.
Parameters:
  row - a row index to click on.
public  DimensiongetPreferredScrollableViewportSize()
    
public  ComponentgetRenderedComponent(TreePath path, boolean isSelected, boolean isExpanded, boolean cellHasFocus)
     Ask renderer for component to be displayed.
Parameters:
  path - a path indicating the rendered node.
Parameters:
  isSelected - True if the specified cell is selected.
Parameters:
  isExpanded - True if the specified cell is expanded.
Parameters:
  cellHasFocus - True if the specified cell has the focus.
public  ComponentgetRenderedComponent(TreePath path)
     Ask renderer for component to be displayed. Uses isPathSelected(TreePath) to determine whether path is selected. Uses isExpanded(TreePath) to determine whether path is expanded.
Parameters:
  path - a path indicating the rendered node.
public  ObjectgetRoot()
     Returns the root of the tree.
public  RectanglegetRowBounds(int i)
    
public  intgetRowCount()
    
public  intgetRowForLocation(int i, int i1)
    
public  intgetRowForPath(TreePath treePath)
    
public  intgetRowHeight()
    
public  intgetScrollableBlockIncrement(Rectangle rectangle, int i, int i1)
    
public  booleangetScrollableTracksViewportHeight()
    
public  booleangetScrollableTracksViewportWidth()
    
public  intgetScrollableUnitIncrement(Rectangle rectangle, int i, int i1)
    
public  booleangetScrollsOnExpand()
    
public  intgetSelectionCount()
    
public  TreeSelectionModelgetSelectionModel()
    
public  TreePathgetSelectionPath()
    
public  TreePath[]getSelectionPaths()
    
public  int[]getSelectionRows()
    
public  booleangetShowsRootHandles()
    
public  TimeoutsgetTimeouts()
    
public  TreeUIgetUI()
    
public  intgetVisibleRowCount()
    
public  booleanhasBeenExpanded(TreePath treePath)
    
public  booleanisCollapsed(int i)
    
public  booleanisCollapsed(TreePath treePath)
    
public  booleanisEditable()
    
public  booleanisEditing()
    
public  booleanisExpanded(int i)
    
public  booleanisExpanded(TreePath treePath)
    
public  booleanisFixedRowHeight()
    
public  booleanisLargeModel()
    
public  booleanisPathEditable(TreePath treePath)
    
public  booleanisPathSelected(TreePath treePath)
    
public  booleanisRootVisible()
    
public  booleanisRowSelected(int i)
    
public  booleanisSelectionEmpty()
    
public  booleanisVisible(TreePath treePath)
    
public  voidmakeVisible(TreePath treePath)
    
public  voidremoveSelectionInterval(int i, int i1)
    
public  voidremoveSelectionPath(TreePath treePath)
    
public  voidremoveSelectionPaths(TreePath[] treePath)
    
public  voidremoveSelectionRow(int i)
    
public  voidremoveSelectionRows(int[] i)
    
public  voidremoveTreeExpansionListener(TreeExpansionListener treeExpansionListener)
    
public  voidremoveTreeSelectionListener(TreeSelectionListener treeSelectionListener)
    
public  voidremoveTreeWillExpandListener(TreeWillExpandListener treeWillExpandListener)
    
public  voidscrollPathToVisible(TreePath treePath)
    
public  voidscrollRowToVisible(int i)
    
public  voidscrollToPath(TreePath path)
     Scrolls to a path if the tree is on a JScrollPane component.
public  voidscrollToRow(int row)
     Scrolls to a row if the tree is on a JScrollPane component.
public  voidselectPath(TreePath path)
     Selects the path.
public  voidselectPaths(TreePath[] paths)
     Selects some pathes.
public  voidselectRow(int row)
     Selects the node in the specified row.
public  voidsetCellEditor(TreeCellEditor treeCellEditor)
    
public  voidsetCellRenderer(TreeCellRenderer treeCellRenderer)
    
public  voidsetEditable(boolean b)
    
public  voidsetInvokesStopCellEditing(boolean b)
    
public  voidsetLargeModel(boolean b)
    
public  voidsetModel(TreeModel treeModel)
    
public  voidsetOutput(TestOut out)
    
public  voidsetRootVisible(boolean b)
    
public  voidsetRowHeight(int i)
    
public  voidsetScrollsOnExpand(boolean b)
    
public  voidsetSelectionInterval(int i, int i1)
    
public  voidsetSelectionModel(TreeSelectionModel treeSelectionModel)
    
public  voidsetSelectionPath(TreePath treePath)
    
public  voidsetSelectionPaths(TreePath[] treePath)
    
public  voidsetSelectionRow(int i)
    
public  voidsetSelectionRows(int[] i)
    
public  voidsetShowsRootHandles(boolean b)
    
public  voidsetTimeouts(Timeouts times)
    
public  voidsetUI(TreeUI treeUI)
    
public  voidsetVisibleRowCount(int i)
    
public  voidstartEditingAtPath(TreePath treePath)
    
public  booleanstopEditing()
    
public  voidtreeDidChange()
    
public  voidwaitCollapsed(TreePath path)
     Waits path to be collapsed.
public  voidwaitCollapsed(int row)
     Waits row to be collapsed.
public  voidwaitExpanded(TreePath path)
     Waits path to be expanded.
public  voidwaitExpanded(int row)
     Waits row to be expanded.
public static  JTreewaitJTree(Container cont, ComponentChooser chooser, int index)
     Waits JTree in container.
Parameters:
  cont - Container to search component in.
Parameters:
  chooser - org.netbeans.jemmy.ComponentChooser implementation.
Parameters:
  index - Ordinal component index.
public static  JTreewaitJTree(Container cont, ComponentChooser chooser)
     Waits 0'th JTree in container.
Parameters:
  cont - Container to search component in.
Parameters:
  chooser - org.netbeans.jemmy.ComponentChooser implementation.
public static  JTreewaitJTree(Container cont, String text, boolean ce, boolean ccs, int rowIndex, int index)
     Waits JTree by item.
Parameters:
  cont - Container to search component in.
Parameters:
  text - Item text.
public static  JTreewaitJTree(Container cont, String text, boolean ce, boolean ccs, int rowIndex)
     Waits JTree by item.
Parameters:
  cont - Container to search component in.
Parameters:
  text - Item text.
public  voidwaitRow(String rowText, int row)
     Wat for text in certain row.
Parameters:
  rowText - Text to be compared with row text be getComparator() comparator.
Parameters:
  row - Row index.
public  voidwaitSelected(TreePath[] paths)
     Waits some paths to be selected.
public  voidwaitSelected(TreePath path)
     Waits path to be selected.
public  voidwaitSelected(int[] rows)
     Waits rows to be selected.
public  voidwaitSelected(int row)
     Waits row to be selected.
public  voidwaitVisible(TreePath path)
     Waits path to be visible.

Field Detail
NODE_PREFIX_DPROP
final public static String NODE_PREFIX_DPROP(Code)
Identifier for a "node" properties.
See Also:   JTreeOperator.getDump



ROOT_DPROP
final public static String ROOT_DPROP(Code)
Identifier for a "root" property.
See Also:   JTreeOperator.getDump



SELECTION_FIRST_DPROP
final public static String SELECTION_FIRST_DPROP(Code)
Identifier for a "first selected" property.
See Also:   JTreeOperator.getDump



SELECTION_LAST_DPROP
final public static String SELECTION_LAST_DPROP(Code)
Identifier for a "last selected" property.
See Also:   JTreeOperator.getDump




Constructor Detail
JTreeOperator
public JTreeOperator(JTree b)(Code)
Constructor.
Parameters:
  b - a component



JTreeOperator
public JTreeOperator(ContainerOperator cont, ComponentChooser chooser, int index)(Code)
Constructs a JTreeOperator object.
Parameters:
  cont - a container
Parameters:
  chooser - a component chooser specifying searching criteria.
Parameters:
  index - an index between appropriate ones.



JTreeOperator
public JTreeOperator(ContainerOperator cont, ComponentChooser chooser)(Code)
Constructs a JTreeOperator object.
Parameters:
  cont - a container
Parameters:
  chooser - a component chooser specifying searching criteria.



JTreeOperator
public JTreeOperator(ContainerOperator cont, String text, int row, int index)(Code)
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.
Parameters:
  cont - a container
Parameters:
  text - Text of a row which is currently selected.
Parameters:
  row - a row index to check text in. If equals to -1, selected row is checked.
Parameters:
  index - Ordinal component index.
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
throws:
  TimeoutExpiredException -



JTreeOperator
public JTreeOperator(ContainerOperator cont, String text, int index)(Code)
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.
Parameters:
  cont - a container
Parameters:
  text - Text of a row which is currently selected.
Parameters:
  index - Ordinal component index.
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
throws:
  TimeoutExpiredException -



JTreeOperator
public JTreeOperator(ContainerOperator cont, String text)(Code)
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.
Parameters:
  cont - a container
Parameters:
  text - Text of a row which is currently selected.
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
throws:
  TimeoutExpiredException -



JTreeOperator
public JTreeOperator(ContainerOperator cont, int index)(Code)
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.
Parameters:
  cont - a container
Parameters:
  index - Ordinal component index.
throws:
  TimeoutExpiredException -



JTreeOperator
public JTreeOperator(ContainerOperator cont)(Code)
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.
Parameters:
  cont - a container
throws:
  TimeoutExpiredException -




Method Detail
addSelectionInterval
public void addSelectionInterval(int i, int i1)(Code)
Maps JTree.addSelectionInterval(int, int) through queue



addSelectionPath
public void addSelectionPath(TreePath treePath)(Code)
Maps JTree.addSelectionPath(TreePath) through queue



addSelectionPaths
public void addSelectionPaths(TreePath[] treePath)(Code)
Maps JTree.addSelectionPaths(TreePath[]) through queue



addSelectionRow
public void addSelectionRow(int i)(Code)
Maps JTree.addSelectionRow(int) through queue



addSelectionRows
public void addSelectionRows(int[] i)(Code)
Maps JTree.addSelectionRows(int[]) through queue



addTreeExpansionListener
public void addTreeExpansionListener(TreeExpansionListener treeExpansionListener)(Code)
Maps JTree.addTreeExpansionListener(TreeExpansionListener) through queue



addTreeSelectionListener
public void addTreeSelectionListener(TreeSelectionListener treeSelectionListener)(Code)
Maps JTree.addTreeSelectionListener(TreeSelectionListener) through queue



addTreeWillExpandListener
public void addTreeWillExpandListener(TreeWillExpandListener treeWillExpandListener)(Code)
Maps JTree.addTreeWillExpandListener(TreeWillExpandListener) through queue



callPopupOnPath
public JPopupMenu callPopupOnPath(TreePath path, int mouseButton)(Code)
Calls popup on the specified path.
Parameters:
  path - a path to invoking popup on.
Parameters:
  mouseButton - a mouse button tused to call popup. an opened popup menu.
throws:
  TimeoutExpiredException -



callPopupOnPath
public JPopupMenu callPopupOnPath(TreePath path)(Code)
Calls popup on the specified path.
Parameters:
  path - a path to invoking popup on. an opened popup menu.
throws:
  TimeoutExpiredException -



callPopupOnPaths
public JPopupMenu callPopupOnPaths(TreePath[] paths, int mouseButton)(Code)
Calls popup on the specified pathes.
Parameters:
  paths - an array of paths to select before invoking popup on one of them
Parameters:
  mouseButton - a mouse button tused to call popup. an opened popup menu.
throws:
  TimeoutExpiredException -



callPopupOnPaths
public JPopupMenu callPopupOnPaths(TreePath[] paths)(Code)
Calls popup on the specified pathes.
Parameters:
  paths - an array of paths to select before invoking popup on one of them an opened popup menu.
throws:
  TimeoutExpiredException -



cancelEditing
public void cancelEditing()(Code)
Maps JTree.cancelEditing() through queue



changePathObject
public void changePathObject(TreePath path, Object newValue)(Code)
Changes last path component using getCellEditor() editor.
Parameters:
  path - a path indicating the node to change value for.
Parameters:
  newValue - a new node value
throws:
  TimeoutExpiredException -



changePathText
public void changePathText(TreePath path, String newNodeText)(Code)
Changes text of last path component.
Parameters:
  path - a path indicating the node to change value for.
Parameters:
  newNodeText - a new node value
See Also:   JTreeOperator.changePathObject(TreePath,Object)
throws:
  TimeoutExpiredException -



chooseSubnode
public Object chooseSubnode(Object parent, String text, int index, StringComparator comparator)(Code)



chooseSubnode
public Object chooseSubnode(Object parent, String text, StringComparator comparator)(Code)



chooseSubnode
public Object chooseSubnode(Object parent, String text, int index)(Code)



chooseSubnode
public Object chooseSubnode(Object parent, String text)(Code)



clearSelection
public void clearSelection()(Code)
Maps JTree.clearSelection() through queue



clickForEdit
public void clickForEdit(TreePath path)(Code)
Turns path to the editing mode.
Parameters:
  path - a tree path to click on.
throws:
  TimeoutExpiredException -



clickOnPath
public void clickOnPath(TreePath path, int clickCount, int mouseButton, int modifiers)(Code)
Clicks on the node.
Parameters:
  path - a path to click on.
Parameters:
  clickCount - a number of clicks
Parameters:
  mouseButton - InputEvent.BUTTON1/2/3_MASK value
Parameters:
  modifiers - Combination of InputEvent.*_MASK values
throws:
  TimeoutExpiredException -



clickOnPath
public void clickOnPath(TreePath path, int clickCount, int mouseButton)(Code)
Clicks on the node.
Parameters:
  path - a path to click on.
Parameters:
  clickCount - a number of clicks
Parameters:
  mouseButton - InputEvent.BUTTON1/2/3_MASK value
throws:
  TimeoutExpiredException -



clickOnPath
public void clickOnPath(TreePath path, int clickCount)(Code)
Clicks on the node.
Parameters:
  path - a path to click on.
Parameters:
  clickCount - a number of clicks
throws:
  TimeoutExpiredException -



clickOnPath
public void clickOnPath(TreePath path)(Code)
Clicks on the node.
Parameters:
  path - a path to click on.
throws:
  TimeoutExpiredException -



collapsePath
public void collapsePath(TreePath treePath)(Code)
Maps JTree.collapsePath(TreePath) through queue



collapseRow
public void collapseRow(int i)(Code)
Maps JTree.collapseRow(int) through queue



convertValueToText
public String convertValueToText(Object object, boolean b, boolean b1, boolean b2, int i, boolean b3)(Code)
Maps JTree.convertValueToText(Object, boolean, boolean, boolean, int, boolean) through queue



copyEnvironment
public void copyEnvironment(Operator anotherOperator)(Code)



doCollapsePath
public void doCollapsePath(TreePath path)(Code)
Ensures that the node identified by the specified path is collapsed and viewable.
Parameters:
  path - a path to collapse.
throws:
  TimeoutExpiredException -



doCollapseRow
public void doCollapseRow(int row)(Code)
Ensures that the node in the specified row is collapsed.
Parameters:
  row - a row index to collapse.
throws:
  TimeoutExpiredException -



doExpandPath
public void doExpandPath(TreePath path)(Code)
Expands path.
Parameters:
  path - a path to be expanded.
throws:
  TimeoutExpiredException -



doExpandRow
public void doExpandRow(int row)(Code)
Expands path on row.
Parameters:
  row - a row index to be expanded.
throws:
  TimeoutExpiredException -



doMakeVisible
public void doMakeVisible(TreePath path)(Code)
Ensures that the node identified by path is currently viewable.
Parameters:
  path - a path to be made visible.
throws:
  TimeoutExpiredException -



expandPath
public void expandPath(TreePath treePath)(Code)
Maps JTree.expandPath(TreePath) through queue



expandRow
public void expandRow(int i)(Code)
Maps JTree.expandRow(int) through queue



findJTree
public static JTree findJTree(Container cont, ComponentChooser chooser, int index)(Code)
Searches JTree in container.
Parameters:
  cont - Container to search component in.
Parameters:
  chooser - org.netbeans.jemmy.ComponentChooser implementation.
Parameters:
  index - Ordinal component index. JTree instance or null if component was not found.



findJTree
public static JTree findJTree(Container cont, ComponentChooser chooser)(Code)
Searches 0'th JTree in container.
Parameters:
  cont - Container to search component in.
Parameters:
  chooser - org.netbeans.jemmy.ComponentChooser implementation. JTree instance or null if component was not found.



findJTree
public static JTree findJTree(Container cont, String text, boolean ce, boolean ccs, int rowIndex, int index)(Code)
Searches JTree by item.
Parameters:
  cont - Container to search component in.
Parameters:
  text - Item text. If null, contents is not checked.
Parameters:
  ce - Compare text exactly.
Parameters:
  ccs - Compare text case sensitively.
Parameters:
  rowIndex - Index of row to compare text. If -1, selected row is checked.
Parameters:
  index - Ordinal component index. JTree instance or null if component was not found.
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)



findJTree
public static JTree findJTree(Container cont, String text, boolean ce, boolean ccs, int rowIndex)(Code)
Searches JTree by item.
Parameters:
  cont - Container to search component in.
Parameters:
  text - Item text. If null, contents is not checked.
Parameters:
  ce - Compare text exactly.
Parameters:
  ccs - Compare text case sensitively.
Parameters:
  rowIndex - Index of row to compare text. If -1, selected row is checked. JTree instance or null if component was not found.
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)



findPath
public TreePath findPath(TreePathChooser chooser)(Code)
Searches path in tree.
Parameters:
  chooser - TreePathChooser implementation. a path fitting the criteria.
See Also:   TreePathChooser
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String[] names, int[] indexes, StringComparator comparator)(Code)
Searches path in tree. Can be used to find one of the nodes with the same text. Example:
 root
 +-+node
 | +--subnode
 +-+node
 | +--subnode
 | +--subnode
 ...
 String[] names = {"node", "subnode"};
int[] indexes = {1, 0};
TreePath path = findPath(names, indexes, true, true);
"path" will points to the second (from the top) "subnode" node.
Parameters:
  names - Node texts array.
Parameters:
  indexes - Nodes indexes.
Parameters:
  comparator - a string comparision algorithm a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String[] names, int[] indexes, boolean ce, boolean ccs)(Code)
Searches path in tree. Can be used to find one of the nodes with the same text. Example:
 root
 +-+node
 | +--subnode
 +-+node
 | +--subnode
 | +--subnode
 ...
 String[] names = {"node", "subnode"};
int[] indexes = {1, 0};
TreePath path = findPath(names, indexes, true, true);
"path" will points to the second (from the top) "subnode" node.
Parameters:
  names - Node texts array.
Parameters:
  indexes - Nodes indexes.
Parameters:
  ce - Compare exactly.
Parameters:
  ccs - Compare case sensitively. a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String[] names, int[] indexes)(Code)
Searches path in tree. Uses StringComparator assigned to this object.
Parameters:
  names - Node texts array.
Parameters:
  indexes - Nodes indexes. a tree path matching the criteria
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String[] names, StringComparator comparator)(Code)
Searches path in tree.
Parameters:
  names - Node texts array.
Parameters:
  comparator - a string comparision algorithm a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String[] names, boolean ce, boolean ccs)(Code)
Searches path in tree.
Parameters:
  names - Node texts array.
Parameters:
  ce - Compare exactly.
Parameters:
  ccs - Compare case sensitively. a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String[] names)(Code)
Searches path in tree. Uses StringComparator assigned to this object.
Parameters:
  names - Node texts array. a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String path, String indexes, String delim, StringComparator comparator)(Code)
Searches path in tree.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  indexes - String representing indexes to search path components.Indexes should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter.
Parameters:
  comparator - a string comparision algorithm a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String path, String indexes, String delim, boolean ce, boolean ccs)(Code)
Searches path in tree.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  indexes - String representing indexes to search path components.Indexes should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter.
Parameters:
  ce - Compare exactly.
Parameters:
  ccs - Compare case sensitively. a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String path, String indexes, String delim)(Code)
Searches path in tree. Uses StringComparator assigned to this object.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  indexes - String representing indexes to search path components.Indexes should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter. a tree path matching the criteria
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String path, String delim, StringComparator comparator)(Code)
Searches path in tree.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter.
Parameters:
  comparator - a string comparision algorithm a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String path, StringComparator comparator)(Code)
Searches path in tree.
Parameters:
  path - String representing tree path.
Parameters:
  comparator - a string comparision algorithm a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String path, String delim, boolean ce, boolean ccs)(Code)
Searches path in tree.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter.
Parameters:
  ce - Compare exactly.
Parameters:
  ccs - Compare case sensitively. a tree path matching the criteria
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String path, String delim)(Code)
Searches path in tree. Uses StringComparator assigned to this object.
Parameters:
  path - String representing tree path.Path components should be devided by "delim" parameter.
Parameters:
  delim - Path components delimiter. a tree path matching the criteria
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findPath
public TreePath findPath(String path)(Code)
Searches path in tree. Uses StringComparator assigned to this object. Uses PathParser assigned to this object.
Parameters:
  path - String representing tree path. a tree path matching the criteria
See Also:   JTreeOperator.findPath
throws:
  TimeoutExpiredException -



findRow
public int findRow(TreeRowChooser chooser, int index)(Code)
Searches index'th row by row chooser.
Parameters:
  chooser - a path searching criteria.
Parameters:
  index - a child index. Row index or -1 if search was insuccessful.
See Also:   JTreeOperator.TreeRowChooser



findRow
public int findRow(TreeRowChooser chooser)(Code)
Searches a row by row chooser.
Parameters:
  chooser - a path searching criteria. Row index or -1 if search was insuccessful.
See Also:   JTreeOperator.TreeRowChooser



findRow
public int findRow(String item, StringComparator comparator, int index)(Code)
Searches index'th row by substring.
Parameters:
  item - Substring.
Parameters:
  comparator - a string comparision algorithm
Parameters:
  index - an ordinal row index between ones matching the criteria Row index or -1 if search was insuccessful.



findRow
public int findRow(String item, boolean ce, boolean cc, int index)(Code)
Searches index'th row by substring.
Parameters:
  item - Substring.
Parameters:
  ce - Compare exactly
Parameters:
  cc - Compare case sensitivelly.
Parameters:
  index - an ordinal row index between ones matching the criteria Row index or -1 if search was insuccessful.



findRow
public int findRow(String item, int index)(Code)
Searches index'th row by substring. Uses StringComparator assigned to this object.
Parameters:
  item - Substring.
Parameters:
  index - an ordinal row index between ones matching the criteria Row index or -1 if search was insuccessful.



findRow
public int findRow(String item, StringComparator comparator)(Code)
Searches a row by substring.
Parameters:
  item - Substring.
Parameters:
  comparator - a string comparision algorithm Row index or -1 if search was insuccessful.



findRow
public int findRow(String item, boolean ce, boolean cc)(Code)
Searches a row by substring.
Parameters:
  item - Substring.
Parameters:
  ce - Compare exactly
Parameters:
  cc - Compare case sensitivelly. Row index or -1 if search was insuccessful.



findRow
public int findRow(String item)(Code)
Searches a row by substring. Uses StringComparator assigned to this object.
Parameters:
  item - Substring. Row index or -1 if search was insuccessful.



findRow
public int findRow(ComponentChooser chooser, int index)(Code)
Searches index'th row by rendered component.
Parameters:
  chooser - Component checking object.
Parameters:
  index - an ordinal row index between ones matching the criteria Row index or -1 if search was insuccessful.



findRow
public int findRow(ComponentChooser chooser)(Code)
Searches a row by rendered component.
Parameters:
  chooser - Component checking object. Row index or -1 if search was insuccessful.



fireTreeCollapsed
public void fireTreeCollapsed(TreePath treePath)(Code)
Maps JTree.fireTreeCollapsed(TreePath) through queue



fireTreeExpanded
public void fireTreeExpanded(TreePath treePath)(Code)
Maps JTree.fireTreeExpanded(TreePath) through queue



fireTreeWillCollapse
public void fireTreeWillCollapse(TreePath treePath)(Code)
Maps JTree.fireTreeWillCollapse(TreePath) through queue



fireTreeWillExpand
public void fireTreeWillExpand(TreePath treePath)(Code)
Maps JTree.fireTreeWillExpand(TreePath) through queue



getCellEditor
public TreeCellEditor getCellEditor()(Code)
Maps JTree.getCellEditor() through queue



getCellRenderer
public TreeCellRenderer getCellRenderer()(Code)
Maps JTree.getCellRenderer() through queue



getChild
public Object getChild(Object node, int index)(Code)
Returns node child.
Parameters:
  node - a node to get a child of.
Parameters:
  index - a child index. a node child.



getChildCount
public int getChildCount(Object node)(Code)
Returns number of child.
Parameters:
  node - a node to count children of. a number of children.



getChildCount
public int getChildCount(TreePath path)(Code)
Returns number of child.
Parameters:
  path - a path indicating a node to count children of. a number of children.



getChildPath
public TreePath getChildPath(TreePath path, int index)(Code)
Constructs new path from a path and index's subnode of it last node.
Parameters:
  path - a path indicating a node to get a child of.
Parameters:
  index - a child node index. a number of children.



getChildPaths
public TreePath[] getChildPaths(TreePath path)(Code)
Constructs new paths from a path and all subnodes of it last node.
Parameters:
  path - a path indicating a node to get children of. a number of children.



getChildren
public Object[] getChildren(Object node)(Code)
Returns node children.
Parameters:
  node - a node to get children of. an array of node children.



getClosestPathForLocation
public TreePath getClosestPathForLocation(int i, int i1)(Code)
Maps JTree.getClosestPathForLocation(int, int) through queue



getClosestRowForLocation
public int getClosestRowForLocation(int i, int i1)(Code)
Maps JTree.getClosestRowForLocation(int, int) through queue



getDump
public Hashtable getDump()(Code)
Returns information about component.



getEditingPath
public TreePath getEditingPath()(Code)
Maps JTree.getEditingPath() through queue



getExpandedDescendants
public Enumeration getExpandedDescendants(TreePath treePath)(Code)
Maps JTree.getExpandedDescendants(TreePath) through queue



getInvokesStopCellEditing
public boolean getInvokesStopCellEditing()(Code)
Maps JTree.getInvokesStopCellEditing() through queue



getLastSelectedPathComponent
public Object getLastSelectedPathComponent()(Code)
Maps JTree.getLastSelectedPathComponent() through queue



getLeadSelectionPath
public TreePath getLeadSelectionPath()(Code)
Maps JTree.getLeadSelectionPath() through queue



getLeadSelectionRow
public int getLeadSelectionRow()(Code)
Maps JTree.getLeadSelectionRow() through queue



getMaxSelectionRow
public int getMaxSelectionRow()(Code)
Maps JTree.getMaxSelectionRow() through queue



getMinSelectionRow
public int getMinSelectionRow()(Code)
Maps JTree.getMinSelectionRow() through queue



getModel
public TreeModel getModel()(Code)
Maps JTree.getModel() through queue



getOutput
public TestOut getOutput()(Code)



getPathBounds
public Rectangle getPathBounds(TreePath treePath)(Code)
Maps JTree.getPathBounds(TreePath) through queue



getPathForLocation
public TreePath getPathForLocation(int i, int i1)(Code)
Maps JTree.getPathForLocation(int, int) through queue



getPathForRow
public TreePath getPathForRow(int i)(Code)
Maps JTree.getPathForRow(int) through queue



getPointToClick
public Point getPointToClick(TreePath path)(Code)
Retuns points which can be used to click on path.
Parameters:
  path - a tree path to click on. a Point in component's coordinate system.



getPointToClick
public Point getPointToClick(int row)(Code)
Retuns points which can be used to click on path.
Parameters:
  row - a row index to click on. a Point in component's coordinate system.



getPreferredScrollableViewportSize
public Dimension getPreferredScrollableViewportSize()(Code)
Maps JTree.getPreferredScrollableViewportSize() through queue



getRenderedComponent
public Component getRenderedComponent(TreePath path, boolean isSelected, boolean isExpanded, boolean cellHasFocus)(Code)
Ask renderer for component to be displayed.
Parameters:
  path - a path indicating the rendered node.
Parameters:
  isSelected - True if the specified cell is selected.
Parameters:
  isExpanded - True if the specified cell is expanded.
Parameters:
  cellHasFocus - True if the specified cell has the focus. Component to be displayed.



getRenderedComponent
public Component getRenderedComponent(TreePath path)(Code)
Ask renderer for component to be displayed. Uses isPathSelected(TreePath) to determine whether path is selected. Uses isExpanded(TreePath) to determine whether path is expanded.
Parameters:
  path - a path indicating the rendered node. Component to be displayed.



getRoot
public Object getRoot()(Code)
Returns the root of the tree. tree root.
throws:
  TimeoutExpiredException -



getRowBounds
public Rectangle getRowBounds(int i)(Code)
Maps JTree.getRowBounds(int) through queue



getRowCount
public int getRowCount()(Code)
Maps JTree.getRowCount() through queue



getRowForLocation
public int getRowForLocation(int i, int i1)(Code)
Maps JTree.getRowForLocation(int, int) through queue



getRowForPath
public int getRowForPath(TreePath treePath)(Code)
Maps JTree.getRowForPath(TreePath) through queue



getRowHeight
public int getRowHeight()(Code)
Maps JTree.getRowHeight() through queue



getScrollableBlockIncrement
public int getScrollableBlockIncrement(Rectangle rectangle, int i, int i1)(Code)
Maps JTree.getScrollableBlockIncrement(Rectangle, int, int) through queue



getScrollableTracksViewportHeight
public boolean getScrollableTracksViewportHeight()(Code)
Maps JTree.getScrollableTracksViewportHeight() through queue



getScrollableTracksViewportWidth
public boolean getScrollableTracksViewportWidth()(Code)
Maps JTree.getScrollableTracksViewportWidth() through queue



getScrollableUnitIncrement
public int getScrollableUnitIncrement(Rectangle rectangle, int i, int i1)(Code)
Maps JTree.getScrollableUnitIncrement(Rectangle, int, int) through queue



getScrollsOnExpand
public boolean getScrollsOnExpand()(Code)
Maps JTree.getScrollsOnExpand() through queue



getSelectionCount
public int getSelectionCount()(Code)
Maps JTree.getSelectionCount() through queue



getSelectionModel
public TreeSelectionModel getSelectionModel()(Code)
Maps JTree.getSelectionModel() through queue



getSelectionPath
public TreePath getSelectionPath()(Code)
Maps JTree.getSelectionPath() through queue



getSelectionPaths
public TreePath[] getSelectionPaths()(Code)
Maps JTree.getSelectionPaths() through queue



getSelectionRows
public int[] getSelectionRows()(Code)
Maps JTree.getSelectionRows() through queue



getShowsRootHandles
public boolean getShowsRootHandles()(Code)
Maps JTree.getShowsRootHandles() through queue



getTimeouts
public Timeouts getTimeouts()(Code)



getUI
public TreeUI getUI()(Code)
Maps JTree.getUI() through queue



getVisibleRowCount
public int getVisibleRowCount()(Code)
Maps JTree.getVisibleRowCount() through queue



hasBeenExpanded
public boolean hasBeenExpanded(TreePath treePath)(Code)
Maps JTree.hasBeenExpanded(TreePath) through queue



isCollapsed
public boolean isCollapsed(int i)(Code)
Maps JTree.isCollapsed(int) through queue



isCollapsed
public boolean isCollapsed(TreePath treePath)(Code)
Maps JTree.isCollapsed(TreePath) through queue



isEditable
public boolean isEditable()(Code)
Maps JTree.isEditable() through queue



isEditing
public boolean isEditing()(Code)
Maps JTree.isEditing() through queue



isExpanded
public boolean isExpanded(int i)(Code)
Maps JTree.isExpanded(int) through queue



isExpanded
public boolean isExpanded(TreePath treePath)(Code)
Maps JTree.isExpanded(TreePath) through queue



isFixedRowHeight
public boolean isFixedRowHeight()(Code)
Maps JTree.isFixedRowHeight() through queue



isLargeModel
public boolean isLargeModel()(Code)
Maps JTree.isLargeModel() through queue



isPathEditable
public boolean isPathEditable(TreePath treePath)(Code)
Maps JTree.isPathEditable(TreePath) through queue



isPathSelected
public boolean isPathSelected(TreePath treePath)(Code)
Maps JTree.isPathSelected(TreePath) through queue



isRootVisible
public boolean isRootVisible()(Code)
Maps JTree.isRootVisible() through queue



isRowSelected
public boolean isRowSelected(int i)(Code)
Maps JTree.isRowSelected(int) through queue



isSelectionEmpty
public boolean isSelectionEmpty()(Code)
Maps JTree.isSelectionEmpty() through queue



isVisible
public boolean isVisible(TreePath treePath)(Code)
Maps JTree.isVisible(TreePath) through queue



makeVisible
public void makeVisible(TreePath treePath)(Code)
Maps JTree.makeVisible(TreePath) through queue



removeSelectionInterval
public void removeSelectionInterval(int i, int i1)(Code)
Maps JTree.removeSelectionInterval(int, int) through queue



removeSelectionPath
public void removeSelectionPath(TreePath treePath)(Code)
Maps JTree.removeSelectionPath(TreePath) through queue



removeSelectionPaths
public void removeSelectionPaths(TreePath[] treePath)(Code)
Maps JTree.removeSelectionPaths(TreePath[]) through queue



removeSelectionRow
public void removeSelectionRow(int i)(Code)
Maps JTree.removeSelectionRow(int) through queue



removeSelectionRows
public void removeSelectionRows(int[] i)(Code)
Maps JTree.removeSelectionRows(int[]) through queue



removeTreeExpansionListener
public void removeTreeExpansionListener(TreeExpansionListener treeExpansionListener)(Code)
Maps JTree.removeTreeExpansionListener(TreeExpansionListener) through queue



removeTreeSelectionListener
public void removeTreeSelectionListener(TreeSelectionListener treeSelectionListener)(Code)
Maps JTree.removeTreeSelectionListener(TreeSelectionListener) through queue



removeTreeWillExpandListener
public void removeTreeWillExpandListener(TreeWillExpandListener treeWillExpandListener)(Code)
Maps JTree.removeTreeWillExpandListener(TreeWillExpandListener) through queue



scrollPathToVisible
public void scrollPathToVisible(TreePath treePath)(Code)
Maps JTree.scrollPathToVisible(TreePath) through queue



scrollRowToVisible
public void scrollRowToVisible(int i)(Code)
Maps JTree.scrollRowToVisible(int) through queue



scrollToPath
public void scrollToPath(TreePath path)(Code)
Scrolls to a path if the tree is on a JScrollPane component.
Parameters:
  path - a tree path to scroll to.



scrollToRow
public void scrollToRow(int row)(Code)
Scrolls to a row if the tree is on a JScrollPane component.
Parameters:
  row - a row index to scroll to.



selectPath
public void selectPath(TreePath path)(Code)
Selects the path.
Parameters:
  path - a path to select.



selectPaths
public void selectPaths(TreePath[] paths)(Code)
Selects some pathes. If verification mode is on, checks that right paths have been selected.
Parameters:
  paths - a paths to select.



selectRow
public void selectRow(int row)(Code)
Selects the node in the specified row.
Parameters:
  row - an index of row to select.



setCellEditor
public void setCellEditor(TreeCellEditor treeCellEditor)(Code)
Maps JTree.setCellEditor(TreeCellEditor) through queue



setCellRenderer
public void setCellRenderer(TreeCellRenderer treeCellRenderer)(Code)
Maps JTree.setCellRenderer(TreeCellRenderer) through queue



setEditable
public void setEditable(boolean b)(Code)
Maps JTree.setEditable(boolean) through queue



setInvokesStopCellEditing
public void setInvokesStopCellEditing(boolean b)(Code)
Maps JTree.setInvokesStopCellEditing(boolean) through queue



setLargeModel
public void setLargeModel(boolean b)(Code)
Maps JTree.setLargeModel(boolean) through queue



setModel
public void setModel(TreeModel treeModel)(Code)
Maps JTree.setModel(TreeModel) through queue



setOutput
public void setOutput(TestOut out)(Code)



setRootVisible
public void setRootVisible(boolean b)(Code)
Maps JTree.setRootVisible(boolean) through queue



setRowHeight
public void setRowHeight(int i)(Code)
Maps JTree.setRowHeight(int) through queue



setScrollsOnExpand
public void setScrollsOnExpand(boolean b)(Code)
Maps JTree.setScrollsOnExpand(boolean) through queue



setSelectionInterval
public void setSelectionInterval(int i, int i1)(Code)
Maps JTree.setSelectionInterval(int, int) through queue



setSelectionModel
public void setSelectionModel(TreeSelectionModel treeSelectionModel)(Code)
Maps JTree.setSelectionModel(TreeSelectionModel) through queue



setSelectionPath
public void setSelectionPath(TreePath treePath)(Code)
Maps JTree.setSelectionPath(TreePath) through queue



setSelectionPaths
public void setSelectionPaths(TreePath[] treePath)(Code)
Maps JTree.setSelectionPaths(TreePath[]) through queue



setSelectionRow
public void setSelectionRow(int i)(Code)
Maps JTree.setSelectionRow(int) through queue



setSelectionRows
public void setSelectionRows(int[] i)(Code)
Maps JTree.setSelectionRows(int[]) through queue



setShowsRootHandles
public void setShowsRootHandles(boolean b)(Code)
Maps JTree.setShowsRootHandles(boolean) through queue



setTimeouts
public void setTimeouts(Timeouts times)(Code)



setUI
public void setUI(TreeUI treeUI)(Code)
Maps JTree.setUI(TreeUI) through queue



setVisibleRowCount
public void setVisibleRowCount(int i)(Code)
Maps JTree.setVisibleRowCount(int) through queue



startEditingAtPath
public void startEditingAtPath(TreePath treePath)(Code)
Maps JTree.startEditingAtPath(TreePath) through queue



stopEditing
public boolean stopEditing()(Code)
Maps JTree.stopEditing() through queue



treeDidChange
public void treeDidChange()(Code)
Maps JTree.treeDidChange() through queue



waitCollapsed
public void waitCollapsed(TreePath path)(Code)
Waits path to be collapsed.
Parameters:
  path - a path to wait collapsed.



waitCollapsed
public void waitCollapsed(int row)(Code)
Waits row to be collapsed.
Parameters:
  row - a row index to wait collapsed.



waitExpanded
public void waitExpanded(TreePath path)(Code)
Waits path to be expanded.
Parameters:
  path - a path to wait expanded.



waitExpanded
public void waitExpanded(int row)(Code)
Waits row to be expanded.
Parameters:
  row - a row index to wait expanded.



waitJTree
public static JTree waitJTree(Container cont, ComponentChooser chooser, int index)(Code)
Waits JTree in container.
Parameters:
  cont - Container to search component in.
Parameters:
  chooser - org.netbeans.jemmy.ComponentChooser implementation.
Parameters:
  index - Ordinal component index. JTree instance or null if component was not found.
throws:
  TimeoutExpiredException -



waitJTree
public static JTree waitJTree(Container cont, ComponentChooser chooser)(Code)
Waits 0'th JTree in container.
Parameters:
  cont - Container to search component in.
Parameters:
  chooser - org.netbeans.jemmy.ComponentChooser implementation. JTree instance or null if component was not found.
throws:
  TimeoutExpiredException -



waitJTree
public static JTree waitJTree(Container cont, String text, boolean ce, boolean ccs, int rowIndex, int index)(Code)
Waits JTree by item.
Parameters:
  cont - Container to search component in.
Parameters:
  text - Item text. If null, contents is not checked.
Parameters:
  ce - Compare text exactly.
Parameters:
  ccs - Compare text case sensitively.
Parameters:
  rowIndex - Index of row to compare text. If -1, selected row is checked.
Parameters:
  index - Ordinal component index. JTree instance or null if component was not found.
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
throws:
  TimeoutExpiredException -



waitJTree
public static JTree waitJTree(Container cont, String text, boolean ce, boolean ccs, int rowIndex)(Code)
Waits JTree by item.
Parameters:
  cont - Container to search component in.
Parameters:
  text - Item text. If null, contents is not checked.
Parameters:
  ce - Compare text exactly.
Parameters:
  ccs - Compare text case sensitively.
Parameters:
  rowIndex - Index of row to compare text. If -1, selected row is checked. JTree instance or null if component was not found.
See Also:   ComponentOperator.isCaptionEqual(StringStringbooleanboolean)
throws:
  TimeoutExpiredException -



waitRow
public void waitRow(String rowText, int row)(Code)
Wat for text in certain row.
Parameters:
  rowText - Text to be compared with row text be getComparator() comparator.
Parameters:
  row - Row index. If -1, selected one is checked.



waitSelected
public void waitSelected(TreePath[] paths)(Code)
Waits some paths to be selected.
Parameters:
  paths - an array of paths to be selected.



waitSelected
public void waitSelected(TreePath path)(Code)
Waits path to be selected.
Parameters:
  path - a tree path to be selected.



waitSelected
public void waitSelected(int[] rows)(Code)
Waits rows to be selected.
Parameters:
  rows - an indices of rows to be selected.



waitSelected
public void waitSelected(int row)(Code)
Waits row to be selected.
Parameters:
  row - an index of a row to be selected.



waitVisible
public void waitVisible(TreePath path)(Code)
Waits path to be visible.
Parameters:
  path - a path to wait visible.



Fields inherited from org.netbeans.jemmy.operators.JComponentOperator
final public static String A11Y_DATA(Code)(Java Doc)
final public static String A11Y_DESCRIPTION_DPROP(Code)(Java Doc)
final public static String A11Y_NAME_DPROP(Code)(Java Doc)
final public static String TOOLTIP_TEXT_DPROP(Code)(Java Doc)

Methods inherited from org.netbeans.jemmy.operators.JComponentOperator
public void addAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc)
public void addVetoableChangeListener(VetoableChangeListener vetoableChangeListener)(Code)(Java Doc)
public void computeVisibleRect(Rectangle rectangle)(Code)(Java Doc)
public JToolTip createToolTip()(Code)(Java Doc)
public static JComponent findJComponent(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc)
public static JComponent findJComponent(Container cont, ComponentChooser chooser)(Code)(Java Doc)
public static JComponent findJComponent(Container cont, String toolTipText, boolean ce, boolean ccs, int index)(Code)(Java Doc)
public static JComponent findJComponent(Container cont, String toolTipText, boolean ce, boolean ccs)(Code)(Java Doc)
public void firePropertyChange(String string, byte b, byte b1)(Code)(Java Doc)
public void firePropertyChange(String string, char c, char c1)(Code)(Java Doc)
public void firePropertyChange(String string, double d, double d1)(Code)(Java Doc)
public void firePropertyChange(String string, float f, float f1)(Code)(Java Doc)
public void firePropertyChange(String string, int i, int i1)(Code)(Java Doc)
public void firePropertyChange(String string, long l, long l1)(Code)(Java Doc)
public void firePropertyChange(String string, short s, short s1)(Code)(Java Doc)
public void firePropertyChange(String string, boolean b, boolean b1)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public ActionListener getActionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc)
public boolean getAutoscrolls()(Code)(Java Doc)
public Border getBorder()(Code)(Java Doc)
public int getCenterXForClick()(Code)(Java Doc)
public int getCenterYForClick()(Code)(Java Doc)
public Object getClientProperty(Object object)(Code)(Java Doc)
public int getConditionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc)
public int getDebugGraphicsOptions()(Code)(Java Doc)
public Hashtable getDump()(Code)(Java Doc)
public Insets getInsets(Insets insets)(Code)(Java Doc)
public Component getNextFocusableComponent()(Code)(Java Doc)
public TestOut getOutput()(Code)(Java Doc)
public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public Timeouts getTimeouts()(Code)(Java Doc)
public Point getToolTipLocation(MouseEvent mouseEvent)(Code)(Java Doc)
public String getToolTipText()(Code)(Java Doc)
public String getToolTipText(MouseEvent mouseEvent)(Code)(Java Doc)
public Container getTopLevelAncestor()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
public Rectangle getVisibleRect()(Code)(Java Doc)
public ContainerOperator getWindowContainerOperator()(Code)(Java Doc)
public void grabFocus()(Code)(Java Doc)
public boolean isFocusCycleRoot()(Code)(Java Doc)
public boolean isManagingFocus()(Code)(Java Doc)
public boolean isOptimizedDrawingEnabled()(Code)(Java Doc)
public boolean isPaintingTile()(Code)(Java Doc)
public boolean isRequestFocusEnabled()(Code)(Java Doc)
public boolean isValidateRoot()(Code)(Java Doc)
public void paintImmediately(int i, int i1, int i2, int i3)(Code)(Java Doc)
public void paintImmediately(Rectangle rectangle)(Code)(Java Doc)
public void putClientProperty(Object object, Object object1)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener actionListener, String string, KeyStroke keyStroke, int i)(Code)(Java Doc)
public void registerKeyboardAction(ActionListener actionListener, KeyStroke keyStroke, int i)(Code)(Java Doc)
public void removeAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc)
public void removeVetoableChangeListener(VetoableChangeListener vetoableChangeListener)(Code)(Java Doc)
public void repaint(Rectangle rectangle)(Code)(Java Doc)
public boolean requestDefaultFocus()(Code)(Java Doc)
public void resetKeyboardActions()(Code)(Java Doc)
public void revalidate()(Code)(Java Doc)
public void scrollRectToVisible(Rectangle rectangle)(Code)(Java Doc)
public void setAlignmentX(float f)(Code)(Java Doc)
public void setAlignmentY(float f)(Code)(Java Doc)
public void setAutoscrolls(boolean b)(Code)(Java Doc)
public void setBorder(Border border)(Code)(Java Doc)
public void setDebugGraphicsOptions(int i)(Code)(Java Doc)
public void setDoubleBuffered(boolean b)(Code)(Java Doc)
public void setMaximumSize(Dimension dimension)(Code)(Java Doc)
public void setMinimumSize(Dimension dimension)(Code)(Java Doc)
public void setNextFocusableComponent(Component component)(Code)(Java Doc)
public void setOpaque(boolean b)(Code)(Java Doc)
public void setOutput(TestOut out)(Code)(Java Doc)
public void setPreferredSize(Dimension dimension)(Code)(Java Doc)
public void setRequestFocusEnabled(boolean b)(Code)(Java Doc)
public void setTimeouts(Timeouts timeouts)(Code)(Java Doc)
public void setToolTipText(String string)(Code)(Java Doc)
public JToolTip showToolTip()(Code)(Java Doc)
public void unregisterKeyboardAction(KeyStroke keyStroke)(Code)(Java Doc)
public void updateUI()(Code)(Java Doc)
public static JComponent waitJComponent(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc)
public static JComponent waitJComponent(Container cont, ComponentChooser chooser)(Code)(Java Doc)
public static JComponent waitJComponent(Container cont, String toolTipText, boolean ce, boolean ccs, int index)(Code)(Java Doc)
public static JComponent waitJComponent(Container cont, String toolTipText, boolean ce, boolean ccs)(Code)(Java Doc)
public JToolTip waitToolTip()(Code)(Java Doc)

Methods inherited from org.netbeans.jemmy.operators.ContainerOperator
public Component add(Component component)(Code)(Java Doc)
public Component add(Component component, int i)(Code)(Java Doc)
public void add(Component component, Object object)(Code)(Java Doc)
public void add(Component component, Object object, int i)(Code)(Java Doc)
public Component add(String string, Component component)(Code)(Java Doc)
public void addContainerListener(ContainerListener containerListener)(Code)(Java Doc)
public ComponentOperator createSubOperator(ComponentChooser chooser, int index)(Code)(Java Doc)
public ComponentOperator createSubOperator(ComponentChooser chooser)(Code)(Java Doc)
public Component findComponentAt(int i, int i1)(Code)(Java Doc)
public Component findComponentAt(Point point)(Code)(Java Doc)
public static Container findContainer(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc)
public static Container findContainer(Container cont, ComponentChooser chooser)(Code)(Java Doc)
public static Container findContainer(Container cont, int index)(Code)(Java Doc)
public static Container findContainer(Container cont)(Code)(Java Doc)
public static Container findContainerUnder(Component comp, ComponentChooser chooser)(Code)(Java Doc)
public static Container findContainerUnder(Component comp)(Code)(Java Doc)
public Component findSubComponent(ComponentChooser chooser, int index)(Code)(Java Doc)
public Component findSubComponent(ComponentChooser chooser)(Code)(Java Doc)
public Component getComponent(int i)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public TestOut getOutput()(Code)(Java Doc)
public Timeouts getTimeouts()(Code)(Java Doc)
public boolean isAncestorOf(Component component)(Code)(Java Doc)
public void paintComponents(Graphics graphics)(Code)(Java Doc)
public void printComponents(Graphics graphics)(Code)(Java Doc)
public void remove(int i)(Code)(Java Doc)
public void remove(Component component)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public void removeContainerListener(ContainerListener containerListener)(Code)(Java Doc)
public void setLayout(LayoutManager layoutManager)(Code)(Java Doc)
public void setOutput(TestOut out)(Code)(Java Doc)
public void setTimeouts(Timeouts timeouts)(Code)(Java Doc)
public static Container waitContainer(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc)
public static Container waitContainer(Container cont, ComponentChooser chooser)(Code)(Java Doc)
public static Container waitContainer(Container cont, int index)(Code)(Java Doc)
public static Container waitContainer(Container cont)(Code)(Java Doc)
public Component waitSubComponent(ComponentChooser chooser, int index)(Code)(Java Doc)
public Component waitSubComponent(ComponentChooser chooser)(Code)(Java Doc)

Fields inherited from org.netbeans.jemmy.operators.ComponentOperator
final public static String HEIGHT_DPROP(Code)(Java Doc)
final public static String IS_SHOWING_DPROP(Code)(Java Doc)
final public static String IS_VISIBLE_DPROP(Code)(Java Doc)
final public static String NAME_DPROP(Code)(Java Doc)
final public static String WIDTH_DPROP(Code)(Java Doc)
final public static String X_DPROP(Code)(Java Doc)
final public static String Y_DPROP(Code)(Java Doc)

Methods inherited from org.netbeans.jemmy.operators.ComponentOperator
public void activateWindow()(Code)(Java Doc)
public void add(PopupMenu popupMenu)(Code)(Java Doc)
public void addComponentListener(ComponentListener componentListener)(Code)(Java Doc)
public void addFocusListener(FocusListener focusListener)(Code)(Java Doc)
public void addInputMethodListener(InputMethodListener inputMethodListener)(Code)(Java Doc)
public void addKeyListener(KeyListener keyListener)(Code)(Java Doc)
public void addMouseListener(MouseListener mouseListener)(Code)(Java Doc)
public void addMouseMotionListener(MouseMotionListener mouseMotionListener)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)(Code)(Java Doc)
public void addPropertyChangeListener(String string, PropertyChangeListener propertyChangeListener)(Code)(Java Doc)
public int checkImage(Image image, int i, int i1, ImageObserver imageObserver)(Code)(Java Doc)
public int checkImage(Image image, ImageObserver imageObserver)(Code)(Java Doc)
public void clickForPopup(int x, int y, int mouseButton)(Code)(Java Doc)
public void clickForPopup(int x, int y)(Code)(Java Doc)
public void clickForPopup(int mouseButton)(Code)(Java Doc)
public void clickForPopup()(Code)(Java Doc)
public void clickMouse(int x, int y, int clickCount, int mouseButton, int modifiers, boolean forPopup)(Code)(Java Doc)
public void clickMouse(int x, int y, int clickCount, int mouseButton, int modifiers)(Code)(Java Doc)
public void clickMouse(int x, int y, int clickCount, int mouseButton)(Code)(Java Doc)
public void clickMouse(int x, int y, int clickCount)(Code)(Java Doc)
public void clickMouse(int clickCount, int mouseButton)(Code)(Java Doc)
public void clickMouse(int clickCount)(Code)(Java Doc)
public void clickMouse()(Code)(Java Doc)
public boolean contains(int i, int i1)(Code)(Java Doc)
public boolean contains(Point point)(Code)(Java Doc)
public void copyEnvironment(Operator anotherOperator)(Code)(Java Doc)
public Image createImage(int i, int i1)(Code)(Java Doc)
public Image createImage(ImageProducer imageProducer)(Code)(Java Doc)
public void dispatchEvent(AWTEvent aWTEvent)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public void dragMouse(int x, int y, int mouseButton, int modifiers)(Code)(Java Doc)
public void dragMouse(int x, int y, int mouseButton)(Code)(Java Doc)
public void dragMouse(int x, int y)(Code)(Java Doc)
public void dragNDrop(int start_x, int start_y, int end_x, int end_y, int mouseButton, int modifiers)(Code)(Java Doc)
public void dragNDrop(int start_x, int start_y, int end_x, int end_y, int mouseButton)(Code)(Java Doc)
public void dragNDrop(int start_x, int start_y, int end_x, int end_y)(Code)(Java Doc)
public void enableInputMethods(boolean b)(Code)(Java Doc)
public void enterMouse()(Code)(Java Doc)
public void exitMouse()(Code)(Java Doc)
public static Component findComponent(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc)
public static Component findComponent(Container cont, ComponentChooser chooser)(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rectangle)(Code)(Java Doc)
public int getCenterX()(Code)(Java Doc)
public int getCenterXForClick()(Code)(Java Doc)
public int getCenterY()(Code)(Java Doc)
public int getCenterYForClick()(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getComponentAt(int i, int i1)(Code)(Java Doc)
public Component getComponentAt(Point point)(Code)(Java Doc)
public ComponentOrientation getComponentOrientation()(Code)(Java Doc)
public Container getContainer(ComponentChooser chooser)(Code)(Java Doc)
public Container[] getContainers()(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
public DropTarget getDropTarget()(Code)(Java Doc)
public Hashtable getDump()(Code)(Java Doc)
public EventDispatcher getEventDispatcher()(Code)(Java Doc)
public void getFocus()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public InputContext getInputContext()(Code)(Java Doc)
public InputMethodRequests getInputMethodRequests()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Point getLocation(Point point)(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public TestOut getOutput()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public Dimension getSize(Dimension dimension)(Code)(Java Doc)
public Component getSource()(Code)(Java Doc)
public Timeouts getTimeouts()(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
public Object getTreeLock()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public Window getWindow()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public boolean hasFocus()(Code)(Java Doc)
public boolean imageUpdate(Image image, int i, int i1, int i2, int i3, int i4)(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isDisplayable()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
public boolean isLightweight()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public void list()(Code)(Java Doc)
public void list(PrintStream printStream)(Code)(Java Doc)
public void list(PrintStream printStream, int i)(Code)(Java Doc)
public void list(PrintWriter printWriter)(Code)(Java Doc)
public void list(PrintWriter printWriter, int i)(Code)(Java Doc)
public void makeComponentVisible()(Code)(Java Doc)
public void moveMouse(int x, int y)(Code)(Java Doc)
public void paint(Graphics graphics)(Code)(Java Doc)
public void paintAll(Graphics graphics)(Code)(Java Doc)
public boolean prepareImage(Image image, int i, int i1, ImageObserver imageObserver)(Code)(Java Doc)
public boolean prepareImage(Image image, ImageObserver imageObserver)(Code)(Java Doc)
public void pressKey(int keyCode, int modifiers)(Code)(Java Doc)
public void pressKey(int keyCode)(Code)(Java Doc)
public void pressMouse(int x, int y)(Code)(Java Doc)
public void pressMouse()(Code)(Java Doc)
public void print(Graphics graphics)(Code)(Java Doc)
public void printAll(Graphics graphics)(Code)(Java Doc)
public void pushKey(int keyCode, int modifiers)(Code)(Java Doc)
public void pushKey(int keyCode)(Code)(Java Doc)
public void releaseKey(int keyCode, int modifiers)(Code)(Java Doc)
public void releaseKey(int keyCode)(Code)(Java Doc)
public void releaseMouse(int x, int y)(Code)(Java Doc)
public void releaseMouse()(Code)(Java Doc)
public void remove(MenuComponent menuComponent)(Code)(Java Doc)
public void removeComponentListener(ComponentListener componentListener)(Code)(Java Doc)
public void removeFocusListener(FocusListener focusListener)(Code)(Java Doc)
public void removeInputMethodListener(InputMethodListener inputMethodListener)(Code)(Java Doc)
public void removeKeyListener(KeyListener keyListener)(Code)(Java Doc)
public void removeMouseListener(MouseListener mouseListener)(Code)(Java Doc)
public void removeMouseMotionListener(MouseMotionListener mouseMotionListener)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)(Code)(Java Doc)
public void removePropertyChangeListener(String string, PropertyChangeListener propertyChangeListener)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void repaint(int i, int i1, int i2, int i3)(Code)(Java Doc)
public void repaint(long l)(Code)(Java Doc)
public void repaint(long l, int i, int i1, int i2, int i3)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
public void setBackground(Color color)(Code)(Java Doc)
public void setBounds(int i, int i1, int i2, int i3)(Code)(Java Doc)
public void setBounds(Rectangle rectangle)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation componentOrientation)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
public void setDropTarget(DropTarget dropTarget)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
public void setForeground(Color color)(Code)(Java Doc)
public void setLocale(Locale locale)(Code)(Java Doc)
public void setLocation(int i, int i1)(Code)(Java Doc)
public void setLocation(Point point)(Code)(Java Doc)
public void setName(String string)(Code)(Java Doc)
public void setOutput(TestOut out)(Code)(Java Doc)
public void setSize(int i, int i1)(Code)(Java Doc)
public void setSize(Dimension dimension)(Code)(Java Doc)
public void setTimeouts(Timeouts timeouts)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void transferFocus()(Code)(Java Doc)
public void typeKey(int keyCode, char keyChar, int modifiers)(Code)(Java Doc)
public void typeKey(char keyChar, int modifiers)(Code)(Java Doc)
public void typeKey(char keyChar)(Code)(Java Doc)
public void update(Graphics graphics)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
public static Component waitComponent(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc)
public static Component waitComponent(Container cont, ComponentChooser chooser)(Code)(Java Doc)
protected static Component waitComponent(ContainerOperator contOper, ComponentChooser chooser, int index)(Code)(Java Doc)
protected static Component waitComponent(Container cont, ComponentChooser chooser, int index, Timeouts timeouts, TestOut output)(Code)(Java Doc)
public void waitComponentEnabled() throws InterruptedException(Code)(Java Doc)
public void waitComponentShowing(boolean visibility)(Code)(Java Doc)
public void waitComponentVisible(boolean visibility)(Code)(Java Doc)
public void waitHasFocus()(Code)(Java Doc)
public void wtComponentEnabled()(Code)(Java Doc)

Fields inherited from org.netbeans.jemmy.operators.Operator
final public static String CLASS_DPROP(Code)(Java Doc)
final public static String TO_STRING_DPROP(Code)(Java Doc)

Methods inherited from org.netbeans.jemmy.operators.Operator
public static void addOperatorPackage(String pkgName)(Code)(Java Doc)
protected String[] addToDump(Hashtable table, String title, Object[] items)(Code)(Java Doc)
protected String[] addToDump(Hashtable table, String title, Object[][] items)(Code)(Java Doc)
public void copyEnvironment(Operator anotherOperator)(Code)(Java Doc)
public static ComponentOperator createOperator(Component comp)(Code)(Java Doc)
public CharBindingMap getCharBindingMap()(Code)(Java Doc)
public int getCharKey(char c)(Code)(Java Doc)
public int getCharModifiers(char c)(Code)(Java Doc)
public int[] getCharsKeys(char[] c)(Code)(Java Doc)
public int[] getCharsKeys(String s)(Code)(Java Doc)
public int[] getCharsModifiers(char[] c)(Code)(Java Doc)
public int[] getCharsModifiers(String s)(Code)(Java Doc)
public StringComparator getComparator()(Code)(Java Doc)
public static ComponentVisualizer getDefaultComponentVisualizer()(Code)(Java Doc)
public static int getDefaultMouseButton()(Code)(Java Doc)
public static PathParser getDefaultPathParser()(Code)(Java Doc)
public static StringComparator getDefaultStringComparator()(Code)(Java Doc)
public static boolean getDefaultVerification()(Code)(Java Doc)
public Hashtable getDump()(Code)(Java Doc)
public static Operator getEnvironmentOperator()(Code)(Java Doc)
public TestOut getOutput()(Code)(Java Doc)
public String[] getParentPath(String path)(Code)(Java Doc)
public ComponentChooser[] getParentPath(ComponentChooser path)(Code)(Java Doc)
public PathParser getPathParser()(Code)(Java Doc)
public static int getPopupMouseButton()(Code)(Java Doc)
public JemmyProperties getProperties()(Code)(Java Doc)
public QueueTool getQueueTool()(Code)(Java Doc)
abstract public Component getSource()(Code)(Java Doc)
public Timeouts getTimeouts()(Code)(Java Doc)
public boolean getVerification()(Code)(Java Doc)
public ComponentVisualizer getVisualizer()(Code)(Java Doc)
public static boolean isCaptionEqual(String caption, String match, boolean ce, boolean ccs)(Code)(Java Doc)
public static boolean isCaptionEqual(String caption, String match, StringComparator comparator)(Code)(Java Doc)
public boolean isCaptionEqual(String caption, String match)(Code)(Java Doc)
protected void lockQueue()(Code)(Java Doc)
public String[] parseString(String path)(Code)(Java Doc)
public String[] parseString(String path, String delim)(Code)(Java Doc)
public void printDump()(Code)(Java Doc)
protected void produceNoBlocking(NoBlockingAction action, Object param)(Code)(Java Doc)
protected void produceNoBlocking(NoBlockingAction action)(Code)(Java Doc)
protected Object produceTimeRestricted(Action action, Object param, long wholeTime)(Code)(Java Doc)
protected Object produceTimeRestricted(Action action, long wholeTime)(Code)(Java Doc)
protected Object runMapping(MapAction action)(Code)(Java Doc)
protected char runMapping(MapCharacterAction action)(Code)(Java Doc)
protected byte runMapping(MapByteAction action)(Code)(Java Doc)
protected int runMapping(MapIntegerAction action)(Code)(Java Doc)
protected long runMapping(MapLongAction action)(Code)(Java Doc)
protected float runMapping(MapFloatAction action)(Code)(Java Doc)
protected double runMapping(MapDoubleAction action)(Code)(Java Doc)
protected boolean runMapping(MapBooleanAction action)(Code)(Java Doc)
protected void runMapping(MapVoidAction action)(Code)(Java Doc)
public void setCharBindingMap(CharBindingMap map)(Code)(Java Doc)
public void setComparator(StringComparator comparator)(Code)(Java Doc)
public static ComponentVisualizer setDefaultComponentVisualizer(ComponentVisualizer visualizer)(Code)(Java Doc)
public static PathParser setDefaultPathParser(PathParser parser)(Code)(Java Doc)
public static StringComparator setDefaultStringComparator(StringComparator comparator)(Code)(Java Doc)
public static boolean setDefaultVerification(boolean verification)(Code)(Java Doc)
public void setOutput(TestOut out)(Code)(Java Doc)
public void setPathParser(PathParser parser)(Code)(Java Doc)
public JemmyProperties setProperties(JemmyProperties properties)(Code)(Java Doc)
public void setTimeouts(Timeouts timeouts)(Code)(Java Doc)
public boolean setVerification(boolean verification)(Code)(Java Doc)
public void setVisualizer(ComponentVisualizer vo)(Code)(Java Doc)
public String toStringSource()(Code)(Java Doc)
protected void unlockAndThrow(Exception e)(Code)(Java Doc)
protected void unlockQueue()(Code)(Java Doc)
public void waitState(ComponentChooser state)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.