Java Doc for OutputTabOperator.java in  » IDE-Netbeans » jellytools » org » netbeans » jellytools » 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 » jellytools » org.netbeans.jellytools 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.jellytools.OutputTabOperator

OutputTabOperator
public class OutputTabOperator extends JComponentOperator (Code)
Operator for Output tab. It resides in output top component.

Usage:

 // find output tab with given name
 OutputTabOperator oto = new OutputTabOperator("compile-single");
 // wait for a message appears in output
 oto.waitText("my message");
 // get the text
 String wholeOutput = oto.getText();
 // close this output
 oto.close();
 

author:
   Jiri.Skrivanek@sun.com
See Also:   OutputOperator

Inner Class :final protected static class OutputTabSubchooser implements ComponentChooser

Field Summary
 ComponentOperatoroutputPaneOperator
    

Constructor Summary
public  OutputTabOperator(JComponent source)
     Create new instance of OutputTabOperator from given component.
public  OutputTabOperator(String name)
     Waits for output tab with given name.
public  OutputTabOperator(String name, int index)
     Waits for index-th output tab with given name.

Method Summary
public  voidclear()
     Performs clear action.
public  voidclose()
     Performs close action.
public  voidcopy()
     Performs copy action.
public  voidfind()
     Performs find action.
public  intfindLine(String lineText)
     Finds a line number by text.
public  voidfindNext()
     Performs find next action.
public  intgetLength()
     Returns length of written text.
public  StringgetLine(int line)
     Returns text from specified line.
public  intgetLineCount()
     Returns count of filled lines of this output tab.
public  StringgetText()
     Returns text from this output tab.
public  StringgetText(int startLine, int endLine)
     Get text between startLine and endLine from this output tab.
public  voidmakeComponentVisible()
     Activates this output tab.
public  voidnextError()
     Performs next error action.
public  ComponentOperatoroutputPaneOperator()
     Returns operator for OutputPane component.
public  voidpreviousError()
     Performs next error action.
public  voidsaveAs()
     Performs save as action.
public  voidselectAll()
     Performs select all action.
public  voidverify()
    
public  voidwaitText(String text)
     Waits for text to be displayed in this output tab.
public  voidwrapText()
     Performs wrap text action.

Field Detail
outputPaneOperator
ComponentOperator outputPaneOperator(Code)




Constructor Detail
OutputTabOperator
public OutputTabOperator(JComponent source)(Code)
Create new instance of OutputTabOperator from given component.
Parameters:
  source - JComponent source



OutputTabOperator
public OutputTabOperator(String name)(Code)
Waits for output tab with given name. It is activated by defalt.
Parameters:
  name - name of output tab to look for



OutputTabOperator
public OutputTabOperator(String name, int index)(Code)
Waits for index-th output tab with given name. It is activated by defalt.
Parameters:
  name - name of output tab to look for
Parameters:
  index - index of requested output tab with given name




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



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



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



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



findLine
public int findLine(String lineText)(Code)
Finds a line number by text.
Parameters:
  lineText - String line text line number of specified text starting at 0; -1 if text not found



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



getLength
public int getLength()(Code)
Returns length of written text. It is a number of written characters. length of already written text



getLine
public String getLine(int line)(Code)
Returns text from specified line.
Parameters:
  line - line number to get text from text from the specified line (starting at 0)



getLineCount
public int getLineCount()(Code)
Returns count of filled lines of this output tab. count of filled lines of this output tab.



getText
public String getText()(Code)
Returns text from this output tab. text from this output tab.



getText
public String getText(int startLine, int endLine)(Code)
Get text between startLine and endLine from this output tab. Both startLine and endLine are included.
Parameters:
  startLine - first line to be included (starting at 0)
Parameters:
  endLine - last line to be included text between startLine and endLine from this output tab



makeComponentVisible
public void makeComponentVisible()(Code)
Activates this output tab. If this output tab is in tabbed pane, it is selected. If it is only tab in the Output top component, the Output top component is activated.



nextError
public void nextError()(Code)
Performs next error action.



outputPaneOperator
public ComponentOperator outputPaneOperator()(Code)
Returns operator for OutputPane component. All events should be dispatched to this component. operator for OutputPane component



previousError
public void previousError()(Code)
Performs next error action.



saveAs
public void saveAs()(Code)
Performs save as action.



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



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 this output tab.
Parameters:
  text - text to wait for



wrapText
public void wrapText()(Code)
Performs wrap text action.



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