Java Doc for TermOperator.java in  » IDE-Netbeans » visualweb.api.designer » org » netbeans » modules » visualweb » gravy » debugger » 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 » IDE Netbeans » visualweb.api.designer » org.netbeans.modules.visualweb.gravy.debugger 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.visualweb.gravy.debugger.TermOperator

TermOperator
public class TermOperator extends ComponentOperator (Code)
Operator for Output pane containing one (normal output) or more (for example JavaDoc output) output terminals (org.netbeans.lib.terminalemulator.Term component).

Usage:

 // find term with given name
 TermOperator to = new TermOperator("MyClass - I/O");
 // wait for a message appears in output
 to.waitText("my message");
 // get the text
 String wholeOutput = to.getText();
 to.clearOutput();
 to.waitText("your message");
 // close this output either way
 to.close(); // or to.discard();
 

Inner Class :static class ScreenFinder implements ComponentChooser
Inner Class :static class TermFinder implements ComponentChooser

Field Summary
 ComponentOperator[]_screen
    
 JComponent[]_term
    

Constructor Summary
public  TermOperator(JComponent source)
     Create new instance of TermOperator from given component.
public  TermOperator(ContainerOperator contOper, String name)
     Waits for output term with given name in specified container.
public  TermOperator(ContainerOperator contOper, int index)
    
public  TermOperator(ContainerOperator contOper, String name, int index)
    
public  TermOperator(ContainerOperator contOper)
    

Method Summary
public  voidclearOutput()
     Performs clear output action.
public  voidclose()
     Closes output teby by API.
public  voidcopy()
     Performs copy action.
public  voiddiscard()
     Performs discard action.
public  voiddiscardAll()
     Performs discard all action.
public  voidfind()
     Performs find action.
public  voidfindNext()
     Performs find next action.
public  intfindRow(String rowText)
     Finds a row by text in the first Term.
public  intfindRow(String rowText, int termIndex)
     Finds a row by text.
public  voidflush()
     Flushes buffer.
public  voidflush(int termIndex)
     Flushes buffer.
public  intgetCursorRow()
     Returns row where the cursor stands.
public  intgetCursorRow(int termIndex)
     Returns row where the cursor stands.
public  intgetLineCount()
     Returns count of filled lines of the first Term.
public  intgetLineCount(int termIndex)
     Returns count of filled lines.
public  StringgetRowText(int row)
     Returns text from specified row.
public  StringgetRowText(int row, int termIndex)
     Returns text from specified row of termIndex-th term.
public  JComponentgetTermSource()
    
public  JComponentgetTermSource(int termIndex)
    
public  StringgetText()
     Invokes flush and returns text from the first Term.
public  StringgetText(int termIndex)
     Invokes flush and returns text.
public  StringgetText(int startRow, int endRow)
    
public  StringgetText(int startRow, int endRow, int termIndex)
    
public  ComponentOperatorscreen()
     Returns the topmost component lying on the first Term.
public  ComponentOperatorscreen(int termIndex)
     Returns the topmost component lying on the term.
public  voidselectAll()
     Performs select all action.
public  voidstartRedirection()
     Performs start redirection action.
public  voidstopRedirection()
     Performs stop redirection action.
public  StringtextWithin(int beginRow, int beginCol, int endRow, int endCol)
     Returns text within given coordinates.
public  StringtextWithin(int beginRow, int beginCol, int endRow, int endCol, int termIndex)
     Returns text within given coordinates of termIndex-th term.
public  voidverify()
    
public  voidwaitText(String text)
     Waits for text to be displayed in output term.
public  voidwaitText(String text, int termIndex)
     Waits for text to be displayed in termIndex-th term.

Field Detail
_screen
ComponentOperator[] _screen(Code)



_term
JComponent[] _term(Code)




Constructor Detail
TermOperator
public TermOperator(JComponent source)(Code)
Create new instance of TermOperator from given component.
Parameters:
  source - TopComponent instance with Term



TermOperator
public TermOperator(ContainerOperator contOper, String name)(Code)
Waits for output term with given name in specified container. It is activated by defalt.
Parameters:
  contOper - container where to search
Parameters:
  name - name of output term to look forTermOperator.TermOperator(String)TermOperator.TermOperator(String,int)



TermOperator
public TermOperator(ContainerOperator contOper, int index)(Code)
Creates TermOperator instance
Parameters:
  contOper - container where to search
Parameters:
  index - int index of requested output term with given nameTermOperator.TermOperator(String)TermOperator.TermOperator(String,int)



TermOperator
public TermOperator(ContainerOperator contOper, String name, int index)(Code)
Creates TermOperator instance
Parameters:
  contOper - container where to search
Parameters:
  name - String name of output term to look for
Parameters:
  index - int index of requested output term with given nameTermOperator.TermOperator(String)TermOperator.TermOperator(String,int)



TermOperator
public TermOperator(ContainerOperator contOper)(Code)
Creates TermOperator instance
Parameters:
  contOper - container where to searchTermOperator.TermOperator(String)TermOperator.TermOperator(String,int)




Method Detail
clearOutput
public void clearOutput()(Code)
Performs clear output action.



close
public void close()(Code)
Closes output teby by API.



copy
public void copy()(Code)
Performs copy action.



discard
public void discard()(Code)
Performs discard action.



discardAll
public void discardAll()(Code)
Performs discard all action.



find
public void find()(Code)
Performs find action.



findNext
public void findNext()(Code)
Performs find next action.



findRow
public int findRow(String rowText)(Code)
Finds a row by text in the first Term.
Parameters:
  rowText - String row text row number of specified text; -1 if text not found



findRow
public int findRow(String rowText, int termIndex)(Code)
Finds a row by text.
Parameters:
  rowText - String row text
Parameters:
  termIndex - int Term index row number of specified text; -1 if text not found



flush
public void flush()(Code)
Flushes buffer. Maps Term.flush() through queue for the first Term



flush
public void flush(int termIndex)(Code)
Flushes buffer. Maps Term.flush() through queue
Parameters:
  termIndex - int Term index



getCursorRow
public int getCursorRow()(Code)
Returns row where the cursor stands. Maps Term.getCursorRow() through queue for the first Term int cursor row



getCursorRow
public int getCursorRow(int termIndex)(Code)
Returns row where the cursor stands. Maps Term.getCursorRow() through queue
Parameters:
  termIndex - int Term index int cursor row



getLineCount
public int getLineCount()(Code)
Returns count of filled lines of the first Term. count of filled lines of the first Term.



getLineCount
public int getLineCount(int termIndex)(Code)
Returns count of filled lines.
Parameters:
  termIndex - int Term index count of filled lines.



getRowText
public String getRowText(int row)(Code)
Returns text from specified row. Maps Term.getRowText(int) through queue for the first Term.
Parameters:
  row - row number to get text from text from the specified row



getRowText
public String getRowText(int row, int termIndex)(Code)
Returns text from specified row of termIndex-th term. Maps Term.getRowText(int) through queue
Parameters:
  row - row number to get text from
Parameters:
  termIndex - int Term index text from the specified row



getTermSource
public JComponent getTermSource()(Code)
Getter for Term object instance of Term



getTermSource
public JComponent getTermSource(int termIndex)(Code)
Getter for Term object instance of Term
Parameters:
  termIndex - index of Term inside (usualy 0, Javadoc Output has two Terms: 0 and 1).



getText
public String getText()(Code)
Invokes flush and returns text from the first Term. text from the first Term.



getText
public String getText(int termIndex)(Code)
Invokes flush and returns text.
Parameters:
  termIndex - int Term index text from termIndex-th Term



getText
public String getText(int startRow, int endRow)(Code)
Get text between startRow and endRow from the first Term
Parameters:
  startRow - first row to be included
Parameters:
  endRow - last row to be included text between startRow and endRow from the first Term



getText
public String getText(int startRow, int endRow, int termIndex)(Code)
Get text between startRow and endRow
Parameters:
  startRow - first row to be included
Parameters:
  endRow - last row to be included
Parameters:
  termIndex - int Term index text between startRow and endRow



screen
public ComponentOperator screen()(Code)
Returns the topmost component lying on the first Term. All events should be dispatched to this component. the topmost component lying on the first Term.



screen
public ComponentOperator screen(int termIndex)(Code)
Returns the topmost component lying on the term. All events should be dispatched to this component.
Parameters:
  termIndex - int Term index the topmost component lying on the termIndex-throws Term.



selectAll
public void selectAll()(Code)
Performs select all action.



startRedirection
public void startRedirection()(Code)
Performs start redirection action.



stopRedirection
public void stopRedirection()(Code)
Performs stop redirection action.



textWithin
public String textWithin(int beginRow, int beginCol, int endRow, int endCol)(Code)
Returns text within given coordinates. Maps Term.textWithin(...) through queue for the first Term.
Parameters:
  beginRow - starting row
Parameters:
  beginCol - starting column
Parameters:
  endRow - ending row
Parameters:
  endCol - ending column text within begin and end coordinates



textWithin
public String textWithin(int beginRow, int beginCol, int endRow, int endCol, int termIndex)(Code)
Returns text within given coordinates of termIndex-th term. Maps Term.textWithin(...) through queue
Parameters:
  beginRow - starting row
Parameters:
  beginCol - starting column
Parameters:
  endRow - ending row
Parameters:
  endCol - ending column
Parameters:
  termIndex - int Term index text within begin and end coordinates



verify
public void verify()(Code)
Performs verification by accessing all sub-components



waitText
public void waitText(String text)(Code)
Waits for text to be displayed in output term.
Parameters:
  text - text to wait for



waitText
public void waitText(String text, int termIndex)(Code)
Waits for text to be displayed in termIndex-th term.
Parameters:
  text - text to wait for
Parameters:
  termIndex - Term index



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