Java Doc for JTextComponentTest.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.JTextComponentTest

JTextComponentTest
public class JTextComponentTest extends SwingTestCase (Code)

Inner Class :class SimpleInputMethodListener implements InputMethodListener
Inner Class :class SimpleKeyMap implements Keymap
Inner Class :class JTextComp extends JTextComponent
Inner Class :class SimpleCaretListener implements CaretListener
Inner Class :class SimplePropertyChangeListener implements PropertyChangeListener
Inner Class :class SimpleTransferHandler extends TransferHandler

Field Summary
 booleanbWasException
    
 Colorcolor
    
 AbstractDocumentdocXXX
    
 JTextFieldjep
    
 JFramejf
    
 JTextCompjtComp
    
 JTextAreajtc
    
 NavigationFilternavFilter
    
 SimplePropertyChangeListenerpChListener
    
 Stringpattern
    
 Rectanglerect
    
 Robotrobot
    
 Strings
    
 StringsLTR
    
 StringsRTL
    
 StringstrOrderFireCaretUpdate
    
 StringstrOrderProcessInputMethodEventCaret
    
 StringstrOrderProcessInputMethodEventText
    

Constructor Summary
public  JTextComponentTest()
    

Method Summary
public  voidassertEquals(Vector<SimpleCaretListener> listeners1, CaretListener[] listeners2)
    
 voidassertEqualsPropertyChangeEvent(String name, Object oldValue, Object newValue, PropertyChangeEvent e)
    
 StringgetClipboardString(JTextComponent jtc)
    
 voidimEventTest(int id, String s1, String s2)
    
 voidisElement(Object[] a, Object b, int count)
    
 voidsetClipboardString(JTextComponent jtc, String content)
    
protected  voidsetUp()
    
protected  voidtearDown()
    
public  voidtestAddInputMethodListener()
    
public  voidtestAddRemoveKeymaps()
    
public  voidtestCaretListeners()
    
public  voidtestConstants()
    
public  voidtestCopy()
    
public  voidtestCut()
    
public  voidtestFireCaretUpdate()
    
public  voidtestFireCaretUpdateNull()
    
public  voidtestGetToolTipTextMouseEvent()
    
public  voidtestJTextComponent_KeyBinding()
    
public  voidtestKeyMap()
    
public  voidtestKeymapToString()
    
public  voidtestLoadKeymap()
    
public  voidtestMoveCaretPosition()
    
public  voidtestPaste()
    
public  voidtestProcessInputMethodEventInputMethodEvent()
    
public  voidtestReadWrite()
    
public  voidtestRemoveNotify()
    
public  voidtestReplaceSelection()
    
public  voidtestSelect()
    
public  voidtestSelectAll()
    
public  voidtestSetGetCaret()
    
public  voidtestSetGetCaretPosition()
    
public  voidtestSetGetColors()
    
public  voidtestSetGetComponentOrientation()
    
public  voidtestSetGetDocument()
    
public  voidtestSetGetDragEnabled()
    
public  voidtestSetGetFocusAccelerator()
    
public  voidtestSetGetHighlighter()
    
public  voidtestSetGetKeymap()
    
public  voidtestSetGetMargin()
    
public  voidtestSetGetNavigationFilter()
    
public  voidtestSetGetSelectionStartEnd()
    
public  voidtestSetGetText()
    
public  voidtestSetIsEditable()
    

Field Detail
bWasException
boolean bWasException(Code)



color
Color color(Code)



docXXX
AbstractDocument docXXX(Code)



jep
JTextField jep(Code)



jf
JFrame jf(Code)



jtComp
JTextComp jtComp(Code)



jtc
JTextArea jtc(Code)



navFilter
NavigationFilter navFilter(Code)



pChListener
SimplePropertyChangeListener pChListener(Code)



pattern
String pattern(Code)



rect
Rectangle rect(Code)



robot
Robot robot(Code)



s
String s(Code)



sLTR
String sLTR(Code)



sRTL
String sRTL(Code)



strOrderFireCaretUpdate
String strOrderFireCaretUpdate(Code)



strOrderProcessInputMethodEventCaret
String strOrderProcessInputMethodEventCaret(Code)



strOrderProcessInputMethodEventText
String strOrderProcessInputMethodEventText(Code)




Constructor Detail
JTextComponentTest
public JTextComponentTest()(Code)




Method Detail
assertEquals
public void assertEquals(Vector<SimpleCaretListener> listeners1, CaretListener[] listeners2)(Code)



assertEqualsPropertyChangeEvent
void assertEqualsPropertyChangeEvent(String name, Object oldValue, Object newValue, PropertyChangeEvent e)(Code)



getClipboardString
String getClipboardString(JTextComponent jtc)(Code)



imEventTest
void imEventTest(int id, String s1, String s2)(Code)



isElement
void isElement(Object[] a, Object b, int count)(Code)



setClipboardString
void setClipboardString(JTextComponent jtc, String content)(Code)



setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



testAddInputMethodListener
public void testAddInputMethodListener()(Code)



testAddRemoveKeymaps
public void testAddRemoveKeymaps() throws Exception(Code)



testCaretListeners
public void testCaretListeners()(Code)



testConstants
public void testConstants()(Code)



testCopy
public void testCopy() throws Exception(Code)



testCut
public void testCut() throws Exception(Code)



testFireCaretUpdate
public void testFireCaretUpdate() throws Exception(Code)



testFireCaretUpdateNull
public void testFireCaretUpdateNull() throws Exception(Code)



testGetToolTipTextMouseEvent
public void testGetToolTipTextMouseEvent() throws Exception(Code)



testJTextComponent_KeyBinding
public void testJTextComponent_KeyBinding()(Code)



testKeyMap
public void testKeyMap() throws Exception(Code)



testKeymapToString
public void testKeymapToString()(Code)



testLoadKeymap
public void testLoadKeymap() throws Exception(Code)



testMoveCaretPosition
public void testMoveCaretPosition() throws Exception(Code)



testPaste
public void testPaste() throws Exception(Code)



testProcessInputMethodEventInputMethodEvent
public void testProcessInputMethodEventInputMethodEvent() throws Exception(Code)



testReadWrite
public void testReadWrite() throws Exception(Code)



testRemoveNotify
public void testRemoveNotify() throws Exception(Code)



testReplaceSelection
public void testReplaceSelection() throws Exception(Code)



testSelect
public void testSelect() throws Exception(Code)



testSelectAll
public void testSelectAll() throws Exception(Code)



testSetGetCaret
public void testSetGetCaret() throws Exception(Code)



testSetGetCaretPosition
public void testSetGetCaretPosition() throws Exception(Code)



testSetGetColors
public void testSetGetColors() throws Exception(Code)



testSetGetComponentOrientation
public void testSetGetComponentOrientation() throws Exception(Code)



testSetGetDocument
public void testSetGetDocument() throws Exception(Code)



testSetGetDragEnabled
public void testSetGetDragEnabled() throws Exception(Code)



testSetGetFocusAccelerator
public void testSetGetFocusAccelerator() throws Exception(Code)



testSetGetHighlighter
public void testSetGetHighlighter() throws Exception(Code)



testSetGetKeymap
public void testSetGetKeymap() throws Exception(Code)



testSetGetMargin
public void testSetGetMargin() throws Exception(Code)



testSetGetNavigationFilter
public void testSetGetNavigationFilter() throws Exception(Code)



testSetGetSelectionStartEnd
public void testSetGetSelectionStartEnd() throws Exception(Code)



testSetGetText
public void testSetGetText() throws Exception(Code)



testSetIsEditable
public void testSetIsEditable() throws Exception(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.