Java Doc for JComponentTest.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
javax.swing
.SwingTestCase
javax.swing
.JComponentTest
JComponentTest
public
class JComponentTest extends
SwingTestCase
(Code)
Inner Class :class ActionListenerDummy implements
ActionListener
Field Summary
protected
JComponent
panel
Constructor Summary
public
JComponentTest
(
String
str)
Constructor for JComponentTest.
Method Summary
protected
int
find
(
Object
[] array,
Object
value)
protected
void
setUp
()
protected
void
tearDown
()
public
void
testAddAncestorListener
()
public
void
testAddPropertyChangeListenerPropertyChangeListener
()
public
void
testAddPropertyChangeListenerStringPropertyChangeListener
()
public
void
testAddVetoableChangeListener
()
public
void
testComputeVisibleRect
()
public
void
testContainsintint
()
public
void
testCreateToolTip
()
public
void
testDisable
()
public
void
testEnable
()
public
void
testFirePropertyChangeStringbytebyte
()
public
void
testFirePropertyChangeStringcharchar
()
public
void
testFirePropertyChangeStringdoubledouble
()
public
void
testFirePropertyChangeStringfloatfloat
()
public
void
testFirePropertyChangeStringintint
()
public
void
testFirePropertyChangeStringlonglong
()
public
void
testFirePropertyChangeStringshortshort
()
public
void
testFireVetoableChange
()
public
void
testGetActionForKeyStroke
()
public
void
testGetActionMap
()
public
void
testGetActionMapboolean
()
public
void
testGetAlignmentX
()
public
void
testGetAlignmentY
()
public
void
testGetAncestorListeners
()
public
void
testGetAutoscrolls
()
public
void
testGetBorder
()
public
void
testGetBoundsRectangle
()
public
void
testGetComponentGraphics
()
public
void
testGetComponentPopupMenu
()
public
void
testGetConditionForKeyStroke
()
public
void
testGetDebugGraphicsOptions
()
public
void
testGetDefaultLocale
()
public
void
testGetGraphics
()
public
void
testGetHeight
()
public
void
testGetInheritsPopupMenu
()
public
void
testGetInputMap
()
public
void
testGetInputMapint
()
public
void
testGetInputMapintboolean
()
public
void
testGetInputVerifier
()
public
void
testGetInsets
()
public
void
testGetInsetsInsets
()
public
void
testGetListenersClass1
()
public
void
testGetListenersClass2
()
public
void
testGetLocationPoint
()
public
void
testGetMaximumSize
()
public
void
testGetMinimumSize
()
public
void
testGetNextFocusableComponent
()
public
void
testGetPopupLocation
()
public
void
testGetPreferredSize
()
public
void
testGetPropertyChangeListeners
()
public
void
testGetPropertyChangeListenersString
()
public
void
testGetRegisteredKeyStrokes
()
public
void
testGetRootPane
()
public
void
testGetSizeDimension
()
public
void
testGetToolTipLocation
()
public
void
testGetToolTipText
()
public
void
testGetToolTipTextMouseEvent
()
public
void
testGetTopLevelAncestor
()
public
void
testGetTransferHandler
()
public
void
testGetUIClassID
()
public
void
testGetVerifyInputWhenFocusTarget
()
public
void
testGetVetoableChangeListeners
()
public
void
testGetVisibleRect
()
public
void
testGetWidth
()
public
void
testGetX
()
public
void
testGetY
()
public
void
testIsDoubleBuffered
()
public
void
testIsLightweightComponent
()
public
void
testIsManagingFocus
()
public
void
testIsMaximumSizeSet
()
public
void
testIsMinimumSizeSet
()
public
void
testIsOpaque
()
public
void
testIsOptimizedDrawingEnabled
()
public
void
testIsPaintingTile
()
public
void
testIsPreferredSizeSet
()
public
void
testIsRequestFocusEnabled
()
public
void
testIsValidateRoot
()
public
void
testPaintBorder
()
public
void
testPaintChildren
()
public
void
testPaintComponent
()
public
void
testPaintGraphics
()
public
void
testPaintImmediatelyRectangle
()
public
void
testPaintImmediatelyintintintint
()
public
void
testParamString
()
public
void
testPrintAllGraphics
()
public
void
testPrintBorder
()
public
void
testPrintChildren
()
public
void
testPrintComponent
()
public
void
testPrintGraphics
()
public
void
testProcessKeyBinding
()
public
void
testProcessKeyEvent2
()
public
void
testProcessKeyEventKeyEvent
()
public
void
testPutClientProperty
()
public
void
testRegisterKeyboardActionActionListenerKeyStrokeint
()
public
void
testRegisterKeyboardActionActionListenerStringKeyStrokeint
()
public
void
testRemoveAncestorListener
()
public
void
testRemovePropertyChangeListenerPropertyChangeListener
()
public
void
testRemovePropertyChangeListenerStringPropertyChangeListener
()
public
void
testRemoveVetoableChangeListener
()
public
void
testRepaintRectangle
()
public
void
testRepaintlongintintintint
()
public
void
testResetKeyboardActions
()
public
void
testReshape
()
public
void
testRevalidate
()
public
void
testScrollRectToVisible
()
public
void
testSetActionMap
()
public
void
testSetAlignmentX
()
public
void
testSetAlignmentY
()
public
void
testSetAutoscrolls
()
public
void
testSetBackgroundColor
()
public
void
testSetBorder
()
public
void
testSetComponentPopupMenu
()
public
void
testSetDebugGraphicsOptions
()
public
void
testSetDefaultLocale
()
public
void
testSetDoubleBuffered
()
public
void
testSetEnabled
()
public
void
testSetFontFont
()
public
void
testSetForegroundColor
()
public
void
testSetInheritsPopupMenu
()
public
void
testSetInputMap
()
public
void
testSetInputVerifier
()
public
void
testSetMaximumSizeDimension
()
public
void
testSetMinimumSizeDimension
()
public
void
testSetNextFocusableComponent
()
public
void
testSetOpaque
()
public
void
testSetPreferredSizeDimension
()
public
void
testSetRequestFocusEnabled
()
public
void
testSetToolTipText
()
public
void
testSetTransferHandler
()
public
void
testSetUI
()
public
void
testSetVerifyInputWhenFocusTarget
()
public
void
testSetVisible
()
public
void
testUnregisterKeyboardAction
()
public
void
testUpdateGraphics
()
public
void
testUpdateUI
()
Field Detail
panel
protected
JComponent
panel
(Code)
Constructor Detail
JComponentTest
public
JComponentTest(
String
str)
(Code)
Constructor for JComponentTest.
Method Detail
find
protected
int find(
Object
[] array,
Object
value)
(Code)
setUp
protected
void setUp() throws
Exception
(Code)
tearDown
protected
void tearDown() throws
Exception
(Code)
testAddAncestorListener
public
void testAddAncestorListener()
(Code)
testAddPropertyChangeListenerPropertyChangeListener
public
void testAddPropertyChangeListenerPropertyChangeListener()
(Code)
testAddPropertyChangeListenerStringPropertyChangeListener
public
void testAddPropertyChangeListenerStringPropertyChangeListener() throws
SecurityException
,
NoSuchMethodException
,
IllegalArgumentException
,
IllegalAccessException
,
InvocationTargetException
(Code)
testAddVetoableChangeListener
public
void testAddVetoableChangeListener()
(Code)
testComputeVisibleRect
public
void testComputeVisibleRect()
(Code)
testContainsintint
public
void testContainsintint()
(Code)
testCreateToolTip
public
void testCreateToolTip()
(Code)
testDisable
public
void testDisable()
(Code)
testEnable
public
void testEnable()
(Code)
testFirePropertyChangeStringbytebyte
public
void testFirePropertyChangeStringbytebyte()
(Code)
testFirePropertyChangeStringcharchar
public
void testFirePropertyChangeStringcharchar()
(Code)
testFirePropertyChangeStringdoubledouble
public
void testFirePropertyChangeStringdoubledouble()
(Code)
testFirePropertyChangeStringfloatfloat
public
void testFirePropertyChangeStringfloatfloat()
(Code)
testFirePropertyChangeStringintint
public
void testFirePropertyChangeStringintint()
(Code)
testFirePropertyChangeStringlonglong
public
void testFirePropertyChangeStringlonglong()
(Code)
testFirePropertyChangeStringshortshort
public
void testFirePropertyChangeStringshortshort()
(Code)
testFireVetoableChange
public
void testFireVetoableChange() throws
PropertyVetoException
(Code)
testGetActionForKeyStroke
public
void testGetActionForKeyStroke()
(Code)
testGetActionMap
public
void testGetActionMap()
(Code)
testGetActionMapboolean
public
void testGetActionMapboolean()
(Code)
testGetAlignmentX
public
void testGetAlignmentX()
(Code)
testGetAlignmentY
public
void testGetAlignmentY()
(Code)
testGetAncestorListeners
public
void testGetAncestorListeners()
(Code)
testGetAutoscrolls
public
void testGetAutoscrolls()
(Code)
testGetBorder
public
void testGetBorder()
(Code)
testGetBoundsRectangle
public
void testGetBoundsRectangle()
(Code)
testGetComponentGraphics
public
void testGetComponentGraphics()
(Code)
testGetComponentPopupMenu
public
void testGetComponentPopupMenu()
(Code)
testGetConditionForKeyStroke
public
void testGetConditionForKeyStroke()
(Code)
testGetDebugGraphicsOptions
public
void testGetDebugGraphicsOptions()
(Code)
testGetDefaultLocale
public
void testGetDefaultLocale()
(Code)
testGetGraphics
public
void testGetGraphics()
(Code)
testGetHeight
public
void testGetHeight()
(Code)
testGetInheritsPopupMenu
public
void testGetInheritsPopupMenu()
(Code)
testGetInputMap
public
void testGetInputMap()
(Code)
testGetInputMapint
public
void testGetInputMapint()
(Code)
testGetInputMapintboolean
public
void testGetInputMapintboolean()
(Code)
testGetInputVerifier
public
void testGetInputVerifier()
(Code)
testGetInsets
public
void testGetInsets()
(Code)
testGetInsetsInsets
public
void testGetInsetsInsets()
(Code)
testGetListenersClass1
public
void testGetListenersClass1()
(Code)
testGetListenersClass2
public
void testGetListenersClass2()
(Code)
testGetLocationPoint
public
void testGetLocationPoint()
(Code)
testGetMaximumSize
public
void testGetMaximumSize()
(Code)
testGetMinimumSize
public
void testGetMinimumSize()
(Code)
testGetNextFocusableComponent
public
void testGetNextFocusableComponent()
(Code)
testGetPopupLocation
public
void testGetPopupLocation()
(Code)
testGetPreferredSize
public
void testGetPreferredSize()
(Code)
testGetPropertyChangeListeners
public
void testGetPropertyChangeListeners()
(Code)
testGetPropertyChangeListenersString
public
void testGetPropertyChangeListenersString()
(Code)
testGetRegisteredKeyStrokes
public
void testGetRegisteredKeyStrokes()
(Code)
testGetRootPane
public
void testGetRootPane()
(Code)
testGetSizeDimension
public
void testGetSizeDimension()
(Code)
testGetToolTipLocation
public
void testGetToolTipLocation()
(Code)
testGetToolTipText
public
void testGetToolTipText()
(Code)
testGetToolTipTextMouseEvent
public
void testGetToolTipTextMouseEvent()
(Code)
testGetTopLevelAncestor
public
void testGetTopLevelAncestor()
(Code)
testGetTransferHandler
public
void testGetTransferHandler()
(Code)
testGetUIClassID
public
void testGetUIClassID()
(Code)
testGetVerifyInputWhenFocusTarget
public
void testGetVerifyInputWhenFocusTarget()
(Code)
testGetVetoableChangeListeners
public
void testGetVetoableChangeListeners()
(Code)
testGetVisibleRect
public
void testGetVisibleRect()
(Code)
testGetWidth
public
void testGetWidth()
(Code)
testGetX
public
void testGetX()
(Code)
testGetY
public
void testGetY()
(Code)
testIsDoubleBuffered
public
void testIsDoubleBuffered()
(Code)
testIsLightweightComponent
public
void testIsLightweightComponent()
(Code)
testIsManagingFocus
public
void testIsManagingFocus()
(Code)
testIsMaximumSizeSet
public
void testIsMaximumSizeSet()
(Code)
testIsMinimumSizeSet
public
void testIsMinimumSizeSet()
(Code)
testIsOpaque
public
void testIsOpaque()
(Code)
testIsOptimizedDrawingEnabled
public
void testIsOptimizedDrawingEnabled()
(Code)
testIsPaintingTile
public
void testIsPaintingTile()
(Code)
testIsPreferredSizeSet
public
void testIsPreferredSizeSet()
(Code)
testIsRequestFocusEnabled
public
void testIsRequestFocusEnabled()
(Code)
testIsValidateRoot
public
void testIsValidateRoot()
(Code)
testPaintBorder
public
void testPaintBorder()
(Code)
testPaintChildren
public
void testPaintChildren()
(Code)
testPaintComponent
public
void testPaintComponent()
(Code)
testPaintGraphics
public
void testPaintGraphics()
(Code)
testPaintImmediatelyRectangle
public
void testPaintImmediatelyRectangle()
(Code)
testPaintImmediatelyintintintint
public
void testPaintImmediatelyintintintint()
(Code)
testParamString
public
void testParamString()
(Code)
testPrintAllGraphics
public
void testPrintAllGraphics()
(Code)
testPrintBorder
public
void testPrintBorder()
(Code)
testPrintChildren
public
void testPrintChildren()
(Code)
testPrintComponent
public
void testPrintComponent()
(Code)
testPrintGraphics
public
void testPrintGraphics()
(Code)
testProcessKeyBinding
public
void testProcessKeyBinding() throws
IllegalArgumentException
,
IllegalAccessException
,
InvocationTargetException
(Code)
testProcessKeyEvent2
public
void testProcessKeyEvent2()
(Code)
testProcessKeyEventKeyEvent
public
void testProcessKeyEventKeyEvent()
(Code)
testPutClientProperty
public
void testPutClientProperty()
(Code)
testRegisterKeyboardActionActionListenerKeyStrokeint
public
void testRegisterKeyboardActionActionListenerKeyStrokeint()
(Code)
testRegisterKeyboardActionActionListenerStringKeyStrokeint
public
void testRegisterKeyboardActionActionListenerStringKeyStrokeint()
(Code)
testRemoveAncestorListener
public
void testRemoveAncestorListener()
(Code)
testRemovePropertyChangeListenerPropertyChangeListener
public
void testRemovePropertyChangeListenerPropertyChangeListener()
(Code)
testRemovePropertyChangeListenerStringPropertyChangeListener
public
void testRemovePropertyChangeListenerStringPropertyChangeListener()
(Code)
testRemoveVetoableChangeListener
public
void testRemoveVetoableChangeListener()
(Code)
testRepaintRectangle
public
void testRepaintRectangle()
(Code)
testRepaintlongintintintint
public
void testRepaintlongintintintint()
(Code)
testResetKeyboardActions
public
void testResetKeyboardActions()
(Code)
testReshape
public
void testReshape()
(Code)
testRevalidate
public
void testRevalidate()
(Code)
testScrollRectToVisible
public
void testScrollRectToVisible()
(Code)
testSetActionMap
public
void testSetActionMap()
(Code)
testSetAlignmentX
public
void testSetAlignmentX()
(Code)
testSetAlignmentY
public
void testSetAlignmentY()
(Code)
testSetAutoscrolls
public
void testSetAutoscrolls()
(Code)
testSetBackgroundColor
public
void testSetBackgroundColor()
(Code)
testSetBorder
public
void testSetBorder()
(Code)
testSetComponentPopupMenu
public
void testSetComponentPopupMenu()
(Code)
testSetDebugGraphicsOptions
public
void testSetDebugGraphicsOptions()
(Code)
testSetDefaultLocale
public
void testSetDefaultLocale()
(Code)
testSetDoubleBuffered
public
void testSetDoubleBuffered()
(Code)
testSetEnabled
public
void testSetEnabled()
(Code)
testSetFontFont
public
void testSetFontFont()
(Code)
testSetForegroundColor
public
void testSetForegroundColor()
(Code)
testSetInheritsPopupMenu
public
void testSetInheritsPopupMenu()
(Code)
testSetInputMap
public
void testSetInputMap()
(Code)
testSetInputVerifier
public
void testSetInputVerifier()
(Code)
testSetMaximumSizeDimension
public
void testSetMaximumSizeDimension()
(Code)
testSetMinimumSizeDimension
public
void testSetMinimumSizeDimension()
(Code)
testSetNextFocusableComponent
public
void testSetNextFocusableComponent()
(Code)
testSetOpaque
public
void testSetOpaque()
(Code)
testSetPreferredSizeDimension
public
void testSetPreferredSizeDimension()
(Code)
testSetRequestFocusEnabled
public
void testSetRequestFocusEnabled()
(Code)
testSetToolTipText
public
void testSetToolTipText()
(Code)
testSetTransferHandler
public
void testSetTransferHandler()
(Code)
testSetUI
public
void testSetUI()
(Code)
testSetVerifyInputWhenFocusTarget
public
void testSetVerifyInputWhenFocusTarget()
(Code)
testSetVisible
public
void testSetVisible()
(Code)
testUnregisterKeyboardAction
public
void testUnregisterKeyboardAction()
(Code)
testUpdateGraphics
public
void testUpdateGraphics()
(Code)
testUpdateUI
public
void testUpdateUI()
(Code)
Methods inherited from
javax.swing.SwingTestCase
protected
Throwable
runBareImpl() throws
Throwable
(Code)
(Java Doc)
Fields inherited from
javax.swing.BasicSwingTestCase
final
public
static long DEFAULT_TIMEOUT_DELAY
(Code)
(Java Doc)
protected
PropertyChangeController propertyChangeController
(Code)
(Java Doc)
protected
static long timeoutDelay
(Code)
(Java Doc)
Methods inherited from
javax.swing.BasicSwingTestCase
public
static void assertEquals(
Object
[] expected,
Object
[] actual)
(Code)
(Java Doc)
protected
Graphics
createTestGraphics()
(Code)
(Java Doc)
protected
Component
findComponent(
Container
root,
Class
> findClass, boolean exactClassMatch)
(Code)
(Java Doc)
protected
FontMetrics
getFontMetrics(
Font
fnt)
(Code)
(Java Doc)
protected
FontMetrics
getFontMetrics(
Font
fnt, int charWidth)
(Code)
(Java Doc)
protected
FontMetrics
getFontMetrics(
Font
fnt, int charWidth, int charHeight)
(Code)
(Java Doc)
protected
EventListener
getListener(
EventListener
[] listeners,
Class
> listenerClass)
(Code)
(Java Doc)
protected
boolean hasListener(
EventListener
[] listeners,
Class
> listenerClass)
(Code)
(Java Doc)
public
static boolean isHarmony()
(Code)
(Java Doc)
protected
boolean isSystemWindow(
Frame
f)
(Code)
(Java Doc)
protected
void rethrow(
Throwable
exception) throws
Throwable
(Code)
(Java Doc)
public
void runBare() throws
Throwable
(Code)
(Java Doc)
protected
Throwable
runBareImpl() throws
Throwable
(Code)
(Java Doc)
protected
void runBareSuper() throws
Throwable
(Code)
(Java Doc)
public
static
Object
serializeObject(
Object
objectToWrite) throws
IOException
,
ClassNotFoundException
(Code)
(Java Doc)
public
void setIgnoreNotImplemented(boolean b)
(Code)
(Java Doc)
protected
void setUp() throws
Exception
(Code)
(Java Doc)
protected
void tearDown() throws
Exception
(Code)
(Java Doc)
protected
void testExceptionalCase(ExceptionalCase ec)
(Code)
(Java Doc)
protected
void traverseComponentTree(
Component
root, TraverseAction action)
(Code)
(Java Doc)
protected
boolean waitForFocus(
Component
c) throws
Exception
(Code)
(Java Doc)
protected
void waitForIdle() throws
Exception
(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.