Java Doc for UtilitiesTest.java in  » Apache-Harmony-Java-SE » javax-package » javax » swing » text » 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 » Apache Harmony Java SE » javax package » javax.swing.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.SwingTestCase
   javax.swing.text.UtilitiesTest

UtilitiesTest
public class UtilitiesTest extends SwingTestCase (Code)

Inner Class :class TabExp implements TabExpander

Field Summary
 booleanbWasException
    
 Documentdoc_jta
    
 Documentdoc_jtf
    
 Documentdoc_jtp
    
 JFramejf
    
 JTextAreajta
    
 JTextFieldjtf
    
 Stringmessage
    
 StringsLTR
    
 StringsRTL
    
 TabExpte
    
 JTextComponenttextComponent
    


Method Summary
 voidcheckWasException()
    
 voidcheckWasException(String s)
    
 voiddrawTabbedTextTest(JTextComponent c)
    
 intgetBreakLocation(Segment s, FontMetrics fm, int start, int end, TabExpander t, int pos)
    
 voidgetBreakLocationTest(JTextComponent c)
    
 voidgetNextWordTest(JTextComponent c)
    
 intgetPositionAbove(JTextComponent c, int p, int x)
    
 voidgetPositionAboveBelowTest(JTextComponent c)
    
 intgetPositionBelow(JTextComponent c, int p, int x)
    
 voidgetPreviousWordTest(JTextComponent c)
    
 intgetRowEnd(JTextComponent c, int pos)
    
 intgetRowStart(JTextComponent c, int pos)
    
 voidgetRowStartEndTest(JTextComponent c)
    
 intgetTabbedTextEnd(Segment s, FontMetrics fm, int x, TabExpander t, int pos)
    
 intgetTabbedTextOffset(Segment s, FontMetrics fm, int start, int end, TabExpander t, int pos)
    
 intgetTabbedTextOffsetRound(Segment s, FontMetrics fm, int start, int end, TabExpander t, int pos, boolean round)
    
 voidgetTabbedTextOffsetRoundTest(JTextComponent c)
    
 voidgetTabbedTextOffsetRoundTest_BoundaryCases(JTextComponent c)
    
 voidgetTabbedTextOffsetRoundTest_NoTabExpander(JTextComponent c)
    
 voidgetTabbedTextOffsetTest(JTextComponent c)
    
 intgetTabbedTextWidth(Segment s, FontMetrics fm, int x, TabExpander t, int pos)
    
public  voidgetTabbedTextWidthTest(JTextComponent c)
    
 voidgetWordEndTest(JTextComponent c)
    
 voidgetWordStartTest(JTextComponent c)
    
protected  voidsetContent()
    
protected  voidsetUp()
    
protected  voidtearDown()
    
public  voidtestDrawTabbedText()
    
public  voidtestGetBreakLocation()
    
public  voidtestGetNextWord()
    
public  voidtestGetNextWord02()
    
public  voidtestGetNextWord03()
    
public  voidtestGetNextWord04()
    
public  voidtestGetParagraphElement()
    
public  voidtestGetPositionAbove()
    
public  voidtestGetPositionAboveBelow()
    
public  voidtestGetPositionBelow()
    
public  voidtestGetPreviousWord()
    
public  voidtestGetRowStartEnd()
    
public  voidtestGetTabbedTextOffset()
    
public  voidtestGetTabbedTextOffsetRound()
    
public  voidtestGetTabbedTextOffsetRound_BoundaryCases()
    
public  voidtestGetTabbedTextOffsetRound_NoTabExpander()
    
public  voidtestGetTabbedTextWidth()
    
public  voidtestGetWordEnd()
    
public  voidtestGetWordStart()
    

Field Detail
bWasException
boolean bWasException(Code)



doc_jta
Document doc_jta(Code)



doc_jtf
Document doc_jtf(Code)



doc_jtp
Document doc_jtp(Code)



jf
JFrame jf(Code)



jta
JTextArea jta(Code)



jtf
JTextField jtf(Code)



message
String message(Code)



sLTR
String sLTR(Code)



sRTL
String sRTL(Code)



te
TabExp te(Code)



textComponent
JTextComponent textComponent(Code)





Method Detail
checkWasException
void checkWasException()(Code)



checkWasException
void checkWasException(String s)(Code)



drawTabbedTextTest
void drawTabbedTextTest(JTextComponent c)(Code)



getBreakLocation
int getBreakLocation(Segment s, FontMetrics fm, int start, int end, TabExpander t, int pos)(Code)



getBreakLocationTest
void getBreakLocationTest(JTextComponent c)(Code)



getNextWordTest
void getNextWordTest(JTextComponent c)(Code)



getPositionAbove
int getPositionAbove(JTextComponent c, int p, int x) throws BadLocationException(Code)



getPositionAboveBelowTest
void getPositionAboveBelowTest(JTextComponent c)(Code)



getPositionBelow
int getPositionBelow(JTextComponent c, int p, int x) throws BadLocationException(Code)



getPreviousWordTest
void getPreviousWordTest(JTextComponent c)(Code)



getRowEnd
int getRowEnd(JTextComponent c, int pos) throws BadLocationException(Code)



getRowStart
int getRowStart(JTextComponent c, int pos) throws BadLocationException(Code)



getRowStartEndTest
void getRowStartEndTest(JTextComponent c) throws Exception(Code)



getTabbedTextEnd
int getTabbedTextEnd(Segment s, FontMetrics fm, int x, TabExpander t, int pos)(Code)



getTabbedTextOffset
int getTabbedTextOffset(Segment s, FontMetrics fm, int start, int end, TabExpander t, int pos)(Code)



getTabbedTextOffsetRound
int getTabbedTextOffsetRound(Segment s, FontMetrics fm, int start, int end, TabExpander t, int pos, boolean round)(Code)



getTabbedTextOffsetRoundTest
void getTabbedTextOffsetRoundTest(JTextComponent c)(Code)



getTabbedTextOffsetRoundTest_BoundaryCases
void getTabbedTextOffsetRoundTest_BoundaryCases(JTextComponent c)(Code)



getTabbedTextOffsetRoundTest_NoTabExpander
void getTabbedTextOffsetRoundTest_NoTabExpander(JTextComponent c)(Code)



getTabbedTextOffsetTest
void getTabbedTextOffsetTest(JTextComponent c)(Code)



getTabbedTextWidth
int getTabbedTextWidth(Segment s, FontMetrics fm, int x, TabExpander t, int pos)(Code)



getTabbedTextWidthTest
public void getTabbedTextWidthTest(JTextComponent c)(Code)



getWordEndTest
void getWordEndTest(JTextComponent c)(Code)



getWordStartTest
void getWordStartTest(JTextComponent c)(Code)



setContent
protected void setContent()(Code)



setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



testDrawTabbedText
public void testDrawTabbedText()(Code)



testGetBreakLocation
public void testGetBreakLocation()(Code)



testGetNextWord
public void testGetNextWord()(Code)



testGetNextWord02
public void testGetNextWord02()(Code)



testGetNextWord03
public void testGetNextWord03()(Code)



testGetNextWord04
public void testGetNextWord04() throws Exception(Code)



testGetParagraphElement
public void testGetParagraphElement()(Code)



testGetPositionAbove
public void testGetPositionAbove() throws BadLocationException(Code)



testGetPositionAboveBelow
public void testGetPositionAboveBelow()(Code)



testGetPositionBelow
public void testGetPositionBelow() throws BadLocationException(Code)



testGetPreviousWord
public void testGetPreviousWord()(Code)



testGetRowStartEnd
public void testGetRowStartEnd() throws Exception(Code)



testGetTabbedTextOffset
public void testGetTabbedTextOffset()(Code)



testGetTabbedTextOffsetRound
public void testGetTabbedTextOffsetRound()(Code)



testGetTabbedTextOffsetRound_BoundaryCases
public void testGetTabbedTextOffsetRound_BoundaryCases()(Code)



testGetTabbedTextOffsetRound_NoTabExpander
public void testGetTabbedTextOffsetRound_NoTabExpander()(Code)



testGetTabbedTextWidth
public void testGetTabbedTextWidth()(Code)



testGetWordEnd
public void testGetWordEnd()(Code)



testGetWordStart
public void testGetWordStart()(Code)



Methods inherited from javax.swing.SwingTestCase
protected Throwable runBareImpl() throws Throwable(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.