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


javax.swing.BasicSwingTestCase

All known Subclasses:   javax.swing.PopupFactoryTest,  javax.swing.text.html.StyleSheet_ConvertAttr_BackgroundPositionAdvancedTest,  javax.swing.SortingFocusTraversalPolicyRTest,  javax.swing.AbstractSpinnerModelTest,  javax.swing.JColorChooserTest,  javax.swing.JTableTest,  javax.swing.tree.DefaultTreeCellRendererTest,  javax.swing.text.html.StyleSheet_ConvertAttr_BorderPartTestCase,  javax.swing.text.html.StyleSheet_ConvertAttr_TextAlignTest,  javax.swing.SpinnerDateModelTest,  javax.swing.ToolTipManagerRTest,  javax.swing.RepaintManagerTest,  javax.swing.text.AbstractDocument_BranchElementTest,  javax.swing.text.html.CSSTest,  javax.swing.text.GapContent_InternalTest,  javax.swing.JProgressBarTest,  javax.swing.PopupTest,  javax.swing.text.DefaultEditorKit_Actions_MultithreadedTest,  javax.swing.JSpinnerTest,  javax.swing.text.BoxViewRTest,  javax.swing.text.html.HTMLFrameHyperlinkEventTest,  javax.swing.SortingFocusTraversalPolicyTest,  javax.swing.AccessibleJComponent_MultithreadedTest,  javax.swing.text.BoxView_WithChildrenTest,  javax.swing.text.CompositeViewTest,  javax.swing.text.html.StyleSheet_ConvertAttr_ColorTest,  javax.swing.text.html.HTMLDocumentTestCase,  javax.swing.SpinnerNumberModelTest,  javax.swing.text.html.StyleSheet_Large_Test,  javax.swing.AccessibleJButtonTest,  javax.swing.text.LabelViewTest,  javax.swing.SwingTestCase,  javax.swing.text.DefaultCaret_MultithreadedTest,  javax.swing.event.DocumentEventTest,  javax.swing.text.ParagraphViewTest,  javax.swing.SpinnerListModelTest,  javax.swing.text.html.StyleSheet_ConvertAttr_FontSizeTest,  javax.swing.text.GapContent_PositionTest,  javax.swing.text.html.StyleSheet_RulesTest,  javax.swing.colorchooser.AbstractColorChooserPanelTest,  javax.swing.text.PlainDocumentRTest,  javax.swing.text.html.StyleSheetTest,  javax.swing.JComponent_AddRemoveNotifyTest,  javax.swing.JFileChooserRTest,  javax.swing.text.html.StyleSheet_ConvertAttr_FontTest,  javax.swing.event.AncestorEventTest,  javax.swing.text.GlyphViewTest,  javax.swing.plaf.basic.BasicTreeUITest,  javax.swing.text.html.StyleSheet_ConvertAttr_MarginTestCase,  javax.swing.text.html.StyleSheet_BoxPainterTest,  javax.swing.text.html.ListViewTest,  javax.swing.plaf.basic.BasicTableUITest,  javax.swing.text.html.StyleSheet_ViewAttributesTest,  javax.swing.text.BoxViewTest,  javax.swing.text.html.ImageViewTest,  javax.swing.text.html.StyleSheet_ConvertAttr_BorderTest,  javax.swing.JLabelRTest,  javax.swing.table.DefaultTableColumnModelTest,  javax.swing.text.html.StyleSheet_ConvertAttr_TextDecorationTest,  javax.swing.event.TreeExpansionEventTest,  javax.swing.table.JTableHeaderTest,  javax.swing.text.ElementIteratorTest,  javax.swing.text.ViewRTest,  javax.swing.table.BasicSwingTableTestCase,  javax.swing.plaf.basic.BasicProgressBarUITest,  javax.swing.text.DefaultEditorKitRTest,  javax.swing.text.PlainView_ChangesRTest,  javax.swing.text.html.HTML_UnknownTagTest,  javax.swing.text.html.StyleSheet_ConvertAttr_BackgroundTest,  javax.swing.event.TableModelEventTest,  javax.swing.JComponent_MultithreadedTest,  javax.swing.text.DefaultStyledDocumentRTest,  javax.swing.text.html.OptionTest,  javax.swing.text.html.ParagraphView_RequirementsTest,  javax.swing.event.TableColumnModelEventTest,  javax.swing.ProgressMonitorInputStreamTest,  javax.swing.plaf.basic.BasicMenuUI_MultithreadedTest,  javax.swing.tree.DefaultTreeCellEditorTest,  javax.swing.plaf.basic.BasicScrollBarUITest,  javax.swing.text.LabelViewRTest,  javax.swing.SizeSequenceTest,  javax.swing.text.html.HTMLTest,  javax.swing.text.html.StyleSheet_Small_Test,  javax.swing.JTree_DynamicUtilTreeNodeTest,  javax.swing.text.html.StyleSheet_ConvertAttr_BorderColorTest,  javax.swing.colorchooser.DefaultColorSelectionModelTest,  javax.swing.table.DefaultTableCellRendererTest,  javax.swing.colorchooser.ColorChooserComponentFactoryTest,  javax.swing.JTree_EmptySelectionModelTest,  javax.swing.PopupFactoryRTest,  javax.swing.plaf.metal.MetalProgressBarUITest,  javax.swing.text.html.StyleSheet_ResolvedRulesClassTest,  javax.swing.text.PlainView_ChangesTest,  javax.swing.event.PopupMenuEventTest,  javax.swing.DebugGraphicsTest,  javax.swing.JInternalFrame_MultithreadedTest,  javax.swing.tree.DefaultMutableTreeNodeTest,  javax.swing.plaf.basic.BasicTableHeaderUITest,  javax.swing.plaf.basic.BasicSpinnerUITest,  javax.swing.SwingWaitTestCase,  javax.swing.ProgressMonitorTest,  javax.swing.text.html.StyleSheet_ResolvedRulesTest,  javax.swing.JTextField_NotifyActionRTest,  javax.swing.text.AbstractDocument_ContentTest,  javax.swing.text.html.ParagraphViewTest,  javax.swing.text.html.BlockViewTest,  javax.swing.JTableRTest,  javax.swing.LayoutFocusTraversalPolicyTest,  javax.swing.plaf.basic.BasicColorChooserUITest,  javax.swing.text.html.StyleSheet_ConvertAttr_BoldTest,  javax.swing.JLabelTest,  javax.swing.text.DefaultStyledDocumentTest,  javax.swing.text.html.StyleSheet_TranslateHTMLToCSS,  javax.swing.text.html.StyleSheet_ConvertAttr_FontFamilyTest,  javax.swing.text.GlyphViewRTest,  javax.swing.text.GlyphView_GlyphPainterTest,  javax.swing.table.TableColumnTest,  javax.swing.text.html.InlineViewTest,  javax.swing.text.AbstractDocument_LeafElementTest,  javax.swing.text.FlowViewTest,
BasicSwingTestCase
abstract public class BasicSwingTestCase extends TestCase (Code)

Inner Class :protected static class Marker
Inner Class :abstract protected class ExceptionalCase
Inner Class :abstract protected class BadLocationCase extends ExceptionalCase
Inner Class :abstract protected class ClassCastCase extends ExceptionalCase
Inner Class :abstract protected class IllegalArgumentCase extends ExceptionalCase
Inner Class :abstract protected class NullPointerCase extends ExceptionalCase
Inner Class :abstract protected class StringIndexOutOfBoundsCase extends ExceptionalCase
Inner Class :protected static class EventsController implements Serializable
Inner Class :protected class PropertyChangeController extends EventsController implements PropertyChangeListener
Inner Class :protected class ChangeController extends EventsController implements ChangeListener
Inner Class :protected interface TraverseAction

Field Summary
final public static  longDEFAULT_TIMEOUT_DELAY
    
protected  PropertyChangeControllerpropertyChangeController
    
protected static  longtimeoutDelay
    

Constructor Summary
public  BasicSwingTestCase()
    
public  BasicSwingTestCase(String name)
    

Method Summary
public static  voidassertEquals(Object[] expected, Object[] actual)
    
protected  GraphicscreateTestGraphics()
    
protected  ComponentfindComponent(Container root, Class findClass, boolean exactClassMatch)
    
protected  FontMetricsgetFontMetrics(Font fnt)
    
protected  FontMetricsgetFontMetrics(Font fnt, int charWidth)
    
protected  FontMetricsgetFontMetrics(Font fnt, int charWidth, int charHeight)
    
protected  EventListenergetListener(EventListener[] listeners, Class listenerClass)
    
protected  booleanhasListener(EventListener[] listeners, Class listenerClass)
    
public static  booleanisHarmony()
    
protected  booleanisSystemWindow(Frame f)
    
protected  voidrethrow(Throwable exception)
    
public  voidrunBare()
    
protected  ThrowablerunBareImpl()
    
protected  voidrunBareSuper()
    
public static  ObjectserializeObject(Object objectToWrite)
     Serializes an object and returns the deserialized version of this object.
public  voidsetIgnoreNotImplemented(boolean b)
    
protected  voidsetUp()
    
protected  voidtearDown()
    
protected  voidtestExceptionalCase(ExceptionalCase ec)
    
protected  voidtraverseComponentTree(Component root, TraverseAction action)
    
protected  booleanwaitForFocus(Component c)
    
protected  voidwaitForIdle()
    

Field Detail
DEFAULT_TIMEOUT_DELAY
final public static long DEFAULT_TIMEOUT_DELAY(Code)



propertyChangeController
protected PropertyChangeController propertyChangeController(Code)
PropertyChangeListener for test purposes to easily check that some property was changed



timeoutDelay
protected static long timeoutDelay(Code)




Constructor Detail
BasicSwingTestCase
public BasicSwingTestCase()(Code)



BasicSwingTestCase
public BasicSwingTestCase(String name)(Code)




Method Detail
assertEquals
public static void assertEquals(Object[] expected, Object[] actual)(Code)



createTestGraphics
protected Graphics createTestGraphics()(Code)



findComponent
protected Component findComponent(Container root, Class findClass, boolean exactClassMatch)(Code)



getFontMetrics
protected FontMetrics getFontMetrics(Font fnt)(Code)



getFontMetrics
protected FontMetrics getFontMetrics(Font fnt, int charWidth)(Code)



getFontMetrics
protected FontMetrics getFontMetrics(Font fnt, int charWidth, int charHeight)(Code)



getListener
protected EventListener getListener(EventListener[] listeners, Class listenerClass)(Code)



hasListener
protected boolean hasListener(EventListener[] listeners, Class listenerClass)(Code)



isHarmony
public static boolean isHarmony()(Code)



isSystemWindow
protected boolean isSystemWindow(Frame f)(Code)



rethrow
protected void rethrow(Throwable exception) throws Throwable(Code)



runBare
public void runBare() throws Throwable(Code)



runBareImpl
protected Throwable runBareImpl() throws Throwable(Code)



runBareSuper
protected void runBareSuper() throws Throwable(Code)



serializeObject
public static Object serializeObject(Object objectToWrite) throws IOException, ClassNotFoundException(Code)
Serializes an object and returns the deserialized version of this object.
Parameters:
  objectToWrite - object to serialize the deserialized object if successful
throws:
  IOException - if write or read operation throws this exception.
throws:
  ClassNotFoundException - if object cannot be readfrom an input stream



setIgnoreNotImplemented
public void setIgnoreNotImplemented(boolean b)(Code)



setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



testExceptionalCase
protected void testExceptionalCase(ExceptionalCase ec)(Code)



traverseComponentTree
protected void traverseComponentTree(Component root, TraverseAction action)(Code)



waitForFocus
protected boolean waitForFocus(Component c) throws Exception(Code)



waitForIdle
protected void waitForIdle() throws Exception(Code)



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