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

All known Subclasses:   javax.swing.JButtonTest,  javax.swing.JMenuItemTest,
AbstractButtonTest
public class AbstractButtonTest extends SwingTestCase (Code)

Inner Class :class TestButtonModel extends DefaultButtonModel
Inner Class :class ConcreteActionListener implements ActionListener
Inner Class :class ConcreteItemListener implements ItemListener
Inner Class :class ConcreteChangeListener implements ChangeListener
Inner Class :class ConcreteAction extends AbstractAction

Field Summary
protected  AbstractActionaction1
    
protected  AbstractActionaction2
    
protected  AbstractButtonbutton
    
final protected  Iconicon1
    
final protected  Iconicon2
    
final protected  Stringtext1
    
final protected  Stringtext2
    
final protected  Stringtext3
    
final protected  Stringtext4
    

Constructor Summary
public  AbstractButtonTest()
    

Method Summary
protected  voidcheckFiringEvents()
    
protected  ImageIconcreateNewIcon()
    
protected  intfind(Object[] array, Object value)
    
public  voidsetActionGetToolTipText()
    
protected  voidsetUp()
    
protected  voidtearDown()
    
public  voidtestAbstractButton()
    
public  voidtestAddActionListener()
    
public  voidtestAddChangeListener()
    
public  voidtestAddItemListener()
    
public  voidtestCheckHorizontalKey()
    
public  voidtestCheckVerticalKey()
    
public  voidtestConfigurePropertiesFromAction()
    
public  voidtestConfigurePropertiesFromAction_ShortDescription()
    
public  voidtestCreateActionListener()
    
public  voidtestCreateActionPropertyChangeListener()
    
public  voidtestCreateChangeListener()
    
public  voidtestCreateItemListener()
    
public  voidtestDoClick()
    
public  voidtestFireActionPerformed()
    
public  voidtestFireItemStateChanged()
    
public  voidtestFireStateChanged()
    
public  voidtestGetAction()
    
public  voidtestGetActionCommand()
    
public  voidtestGetActionListeners()
    
public  voidtestGetAlignmentXY()
    
public  voidtestGetChangeListeners()
    
public  voidtestGetDisabledIcon()
    
public  voidtestGetDisabledSelectedIcon()
    
public  voidtestGetDisplayedMnemonicIndex()
    
public  voidtestGetHorizontalAlignment()
    
public  voidtestGetHorizontalTextPosition()
    
public  voidtestGetIcon()
    
public  voidtestGetIconTextGap()
    
public  voidtestGetItemListeners()
    
public  voidtestGetLabel()
    
public  voidtestGetMargin()
    
public  voidtestGetMnemonic()
    
public  voidtestGetModel()
    
public  voidtestGetMultiClickThreshhold()
    
public  voidtestGetPressedIcon()
    
public  voidtestGetRolloverIcon()
    
public  voidtestGetRolloverSelectedIcon()
    
public  voidtestGetSelectedIcon()
    
public  voidtestGetSelectedObjects()
    
public  voidtestGetText()
    
public  voidtestGetUI()
    
public  voidtestGetVerticalAlignment()
    
public  voidtestGetVerticalTextPosition()
    
public  voidtestH4655()
    
public  voidtestImageUpdate()
    
public  voidtestInit()
    
public  voidtestIsBorderPainted()
    
public  voidtestIsContentAreaFilled()
    
public  voidtestIsFocusPainted()
    
public  voidtestIsRolloverEnabled()
    
public  voidtestIsSelected()
    
public  voidtestNumberOfModelListeners()
    
public  voidtestPaintBorder()
    
public  voidtestParamString()
    
public  voidtestRemoveActionListener()
    
public  voidtestRemoveChangeListener()
    
public  voidtestRemoveItemListener()
    
public  voidtestSetAction1()
    
public  voidtestSetAction2()
    
public  voidtestSetAction3()
    
public  voidtestSetAction4()
    
public  voidtestSetAction5()
    
public  voidtestSetActionCommand()
    
public  voidtestSetBorderPainted()
    
public  voidtestSetContentAreaFilled()
    
public  voidtestSetDisabledIcon()
    
public  voidtestSetDisabledSelectedIcon()
    
public  voidtestSetDisplayedMnemonicIndex()
    
public  voidtestSetEnabled()
    
public  voidtestSetFocusPainted()
    
public  voidtestSetHorizontalAlignment()
    
public  voidtestSetHorizontalTextPosition()
    
public  voidtestSetIcon()
    
public  voidtestSetIconTextGap()
    
public  voidtestSetLabel()
    
public  voidtestSetMargin()
    
public  voidtestSetMnemonicchar()
    
public  voidtestSetMnemonicint1()
    
public  voidtestSetMnemonicint2()
    
public  voidtestSetModel()
    
public  voidtestSetMultiClickThreshhold()
    
public  voidtestSetPressedIcon()
    
public  voidtestSetRolloverEnabled()
    
public  voidtestSetRolloverIcon()
    
public  voidtestSetRolloverSelectedIcon()
    
public  voidtestSetSelected()
    
public  voidtestSetSelectedIcon()
    
public  voidtestSetText1()
    
public  voidtestSetText2()
    
public  voidtestSetText3()
    
public  voidtestSetUIButtonUI()
    
public  voidtestSetVerticalAlignment()
    
public  voidtestSetVerticalTextPosition()
    
public  voidtestUpdateUI()
    

Field Detail
action1
protected AbstractAction action1(Code)



action2
protected AbstractAction action2(Code)



button
protected AbstractButton button(Code)



icon1
final protected Icon icon1(Code)



icon2
final protected Icon icon2(Code)



text1
final protected String text1(Code)



text2
final protected String text2(Code)



text3
final protected String text3(Code)



text4
final protected String text4(Code)




Constructor Detail
AbstractButtonTest
public AbstractButtonTest()(Code)




Method Detail
checkFiringEvents
protected void checkFiringEvents()(Code)



createNewIcon
protected ImageIcon createNewIcon()(Code)



find
protected int find(Object[] array, Object value)(Code)



setActionGetToolTipText
public void setActionGetToolTipText()(Code)



setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



testAbstractButton
public void testAbstractButton()(Code)



testAddActionListener
public void testAddActionListener()(Code)



testAddChangeListener
public void testAddChangeListener()(Code)



testAddItemListener
public void testAddItemListener()(Code)



testCheckHorizontalKey
public void testCheckHorizontalKey()(Code)



testCheckVerticalKey
public void testCheckVerticalKey()(Code)



testConfigurePropertiesFromAction
public void testConfigurePropertiesFromAction()(Code)



testConfigurePropertiesFromAction_ShortDescription
public void testConfigurePropertiesFromAction_ShortDescription()(Code)



testCreateActionListener
public void testCreateActionListener() throws Exception(Code)



testCreateActionPropertyChangeListener
public void testCreateActionPropertyChangeListener()(Code)



testCreateChangeListener
public void testCreateChangeListener()(Code)



testCreateItemListener
public void testCreateItemListener()(Code)



testDoClick
public void testDoClick()(Code)



testFireActionPerformed
public void testFireActionPerformed()(Code)



testFireItemStateChanged
public void testFireItemStateChanged()(Code)



testFireStateChanged
public void testFireStateChanged()(Code)



testGetAction
public void testGetAction()(Code)



testGetActionCommand
public void testGetActionCommand()(Code)



testGetActionListeners
public void testGetActionListeners()(Code)
this method is being tested mostly with testAddActionListener() and testRemoveActionListener()



testGetAlignmentXY
public void testGetAlignmentXY()(Code)



testGetChangeListeners
public void testGetChangeListeners()(Code)
this method is being tested mostly with testAddChangeListener() and testRemoveChangeListener()



testGetDisabledIcon
public void testGetDisabledIcon()(Code)



testGetDisabledSelectedIcon
public void testGetDisabledSelectedIcon()(Code)



testGetDisplayedMnemonicIndex
public void testGetDisplayedMnemonicIndex()(Code)



testGetHorizontalAlignment
public void testGetHorizontalAlignment()(Code)



testGetHorizontalTextPosition
public void testGetHorizontalTextPosition()(Code)



testGetIcon
public void testGetIcon()(Code)



testGetIconTextGap
public void testGetIconTextGap()(Code)



testGetItemListeners
public void testGetItemListeners()(Code)
this method is being tested mostly with testAddItemListener() and testRemoveItemListener()



testGetLabel
public void testGetLabel()(Code)



testGetMargin
public void testGetMargin()(Code)



testGetMnemonic
public void testGetMnemonic()(Code)



testGetModel
public void testGetModel()(Code)



testGetMultiClickThreshhold
public void testGetMultiClickThreshhold()(Code)



testGetPressedIcon
public void testGetPressedIcon()(Code)



testGetRolloverIcon
public void testGetRolloverIcon()(Code)



testGetRolloverSelectedIcon
public void testGetRolloverSelectedIcon()(Code)



testGetSelectedIcon
public void testGetSelectedIcon()(Code)



testGetSelectedObjects
public void testGetSelectedObjects()(Code)



testGetText
public void testGetText()(Code)



testGetUI
public void testGetUI()(Code)



testGetVerticalAlignment
public void testGetVerticalAlignment()(Code)



testGetVerticalTextPosition
public void testGetVerticalTextPosition()(Code)



testH4655
public void testH4655()(Code)
Regression test for H4655: setMargin(null) causes to default margin



testImageUpdate
public void testImageUpdate()(Code)



testInit
public void testInit()(Code)



testIsBorderPainted
public void testIsBorderPainted()(Code)



testIsContentAreaFilled
public void testIsContentAreaFilled()(Code)



testIsFocusPainted
public void testIsFocusPainted()(Code)



testIsRolloverEnabled
public void testIsRolloverEnabled()(Code)



testIsSelected
public void testIsSelected()(Code)



testNumberOfModelListeners
public void testNumberOfModelListeners()(Code)



testPaintBorder
public void testPaintBorder()(Code)



testParamString
public void testParamString()(Code)



testRemoveActionListener
public void testRemoveActionListener()(Code)



testRemoveChangeListener
public void testRemoveChangeListener()(Code)



testRemoveItemListener
public void testRemoveItemListener()(Code)



testSetAction1
public void testSetAction1()(Code)



testSetAction2
public void testSetAction2()(Code)



testSetAction3
public void testSetAction3()(Code)



testSetAction4
public void testSetAction4()(Code)



testSetAction5
public void testSetAction5()(Code)



testSetActionCommand
public void testSetActionCommand()(Code)



testSetBorderPainted
public void testSetBorderPainted()(Code)



testSetContentAreaFilled
public void testSetContentAreaFilled()(Code)



testSetDisabledIcon
public void testSetDisabledIcon()(Code)



testSetDisabledSelectedIcon
public void testSetDisabledSelectedIcon()(Code)



testSetDisplayedMnemonicIndex
public void testSetDisplayedMnemonicIndex()(Code)



testSetEnabled
public void testSetEnabled()(Code)



testSetFocusPainted
public void testSetFocusPainted()(Code)



testSetHorizontalAlignment
public void testSetHorizontalAlignment()(Code)



testSetHorizontalTextPosition
public void testSetHorizontalTextPosition()(Code)



testSetIcon
public void testSetIcon()(Code)



testSetIconTextGap
public void testSetIconTextGap()(Code)



testSetLabel
public void testSetLabel()(Code)



testSetMargin
public void testSetMargin()(Code)



testSetMnemonicchar
public void testSetMnemonicchar()(Code)



testSetMnemonicint1
public void testSetMnemonicint1()(Code)



testSetMnemonicint2
public void testSetMnemonicint2()(Code)



testSetModel
public void testSetModel()(Code)



testSetMultiClickThreshhold
public void testSetMultiClickThreshhold()(Code)



testSetPressedIcon
public void testSetPressedIcon()(Code)



testSetRolloverEnabled
public void testSetRolloverEnabled()(Code)



testSetRolloverIcon
public void testSetRolloverIcon()(Code)



testSetRolloverSelectedIcon
public void testSetRolloverSelectedIcon()(Code)



testSetSelected
public void testSetSelected()(Code)



testSetSelectedIcon
public void testSetSelectedIcon()(Code)



testSetText1
public void testSetText1()(Code)



testSetText2
public void testSetText2()(Code)



testSetText3
public void testSetText3()(Code)



testSetUIButtonUI
public void testSetUIButtonUI()(Code)
as method setUI() just calls super.setUI(), it is being tested by JCompomentTest.setUI() nevertheless it is also beeeing tested by testInit()



testSetVerticalAlignment
public void testSetVerticalAlignment()(Code)



testSetVerticalTextPosition
public void testSetVerticalTextPosition()(Code)



testUpdateUI
public void testUpdateUI()(Code)
since this method has empty implementation, there's no need to test it



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.