Java Doc for MainFrame.java in  » Testing » jakarta-jmeter » org » apache » jmeter » gui » 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 » Testing » jakarta jmeter » org.apache.jmeter.gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JFrame
   org.apache.jmeter.gui.MainFrame

MainFrame
public class MainFrame extends JFrame implements TestListener,Remoteable(Code)
The main JMeter frame, containing the menu bar, test tree, and an area for JMeter component GUIs.



Constructor Summary
public  MainFrame(ActionListener actionHandler, TreeModel treeModel, JMeterTreeListener treeListener)
     Create a new JMeter frame.
public  MainFrame()
     Default constructor for the JMeter frame.

Method Summary
public  voidcloseMenu()
     Close the currently selected menu.
public  voiddrawDraggedComponent(Component dragIcon, int x, int y)
     Repaint pieces of the GUI as needed while dragging.
public  JTreegetTree()
    
public  voidsetEditAddEnabled(boolean enabled)
     Specify whether or not the Edit|Add menu item should be enabled.
public  voidsetEditAddMenu(JMenu menu)
     Set the menu that should be used for the Edit|Add menu.
public  voidsetEditEnabled(boolean enabled)
     Specify whether or not the Edit menu item should be enabled.
public  voidsetEditMenu(JPopupMenu menu)
     Set the menu that should be used for the Edit menu.
public  voidsetEditRemoveEnabled(boolean enabled)
     Specify whether or not the Edit|Remove menu item should be enabled.
public  voidsetExtendedFrameTitle(String fname)
    
public  voidsetFileLoadEnabled(boolean enabled)
     Specify whether or not the File|Load menu item should be enabled.
public  voidsetFileRevertEnabled(boolean enabled)
     Specify whether or not the File|Revert item should be enabled.
public  voidsetFileSaveEnabled(boolean enabled)
     Specify whether or not the File|Save menu item should be enabled.
public  voidsetMainPanel(JComponent comp)
    
public  voidsetProjectFileLoaded(String file)
    
public  voidshowStoppingMessage(String host)
     Show a dialog indicating that JMeter threads are stopping on a particular host.
public  voidtestEnded()
     Called when a test is ended on the local system.
public  voidtestEnded(String host)
     Called when a test is ended on the remote system.
public  voidtestIterationStart(LoopIterationEvent event)
    
public  voidtestStarted()
     Called when a test is started on the local system.
public  voidtestStarted(String host)
     Called when a test is started on a specific host.
public  voidupdateCounts()
    


Constructor Detail
MainFrame
public MainFrame(ActionListener actionHandler, TreeModel treeModel, JMeterTreeListener treeListener)(Code)
Create a new JMeter frame.
Parameters:
  actionHandler - this parameter is not used
Parameters:
  treeModel - the model for the test tree
Parameters:
  treeListener - the listener for the test tree



MainFrame
public MainFrame()(Code)
Default constructor for the JMeter frame. This constructor will not properly initialize the tree, so don't use it.




Method Detail
closeMenu
public void closeMenu()(Code)
Close the currently selected menu.



drawDraggedComponent
public void drawDraggedComponent(Component dragIcon, int x, int y)(Code)
Repaint pieces of the GUI as needed while dragging. This method should only be called from the Swing event thread.
Parameters:
  dragIcon - the component being dragged
Parameters:
  x - the current mouse x coordinate
Parameters:
  y - the current mouse y coordinate



getTree
public JTree getTree()(Code)



setEditAddEnabled
public void setEditAddEnabled(boolean enabled)(Code)
Specify whether or not the Edit|Add menu item should be enabled.
Parameters:
  enabled - true if the menu item should be enabled, false otherwise



setEditAddMenu
public void setEditAddMenu(JMenu menu)(Code)
Set the menu that should be used for the Edit|Add menu.
Parameters:
  menu - the new Edit|Add menu



setEditEnabled
public void setEditEnabled(boolean enabled)(Code)
Specify whether or not the Edit menu item should be enabled.
Parameters:
  enabled - true if the menu item should be enabled, false otherwise



setEditMenu
public void setEditMenu(JPopupMenu menu)(Code)
Set the menu that should be used for the Edit menu.
Parameters:
  menu - the new Edit menu



setEditRemoveEnabled
public void setEditRemoveEnabled(boolean enabled)(Code)
Specify whether or not the Edit|Remove menu item should be enabled.
Parameters:
  enabled - true if the menu item should be enabled, false otherwise



setExtendedFrameTitle
public void setExtendedFrameTitle(String fname)(Code)



setFileLoadEnabled
public void setFileLoadEnabled(boolean enabled)(Code)
Specify whether or not the File|Load menu item should be enabled.
Parameters:
  enabled - true if the menu item should be enabled, false otherwise



setFileRevertEnabled
public void setFileRevertEnabled(boolean enabled)(Code)
Specify whether or not the File|Revert item should be enabled.
Parameters:
  enabled - true if the menu item should be enabled, false otherwise



setFileSaveEnabled
public void setFileSaveEnabled(boolean enabled)(Code)
Specify whether or not the File|Save menu item should be enabled.
Parameters:
  enabled - true if the menu item should be enabled, false otherwise



setMainPanel
public void setMainPanel(JComponent comp)(Code)



setProjectFileLoaded
public void setProjectFileLoaded(String file)(Code)
Specify the project file that was just loaded
Parameters:
  file - - the full path to the file that was loaded



showStoppingMessage
public void showStoppingMessage(String host)(Code)
Show a dialog indicating that JMeter threads are stopping on a particular host.
Parameters:
  host - the host where JMeter threads are stopping



testEnded
public void testEnded()(Code)
Called when a test is ended on the local system. This implementation disables the menubar, stops the running indicator, and closes the stopping message dialog.



testEnded
public void testEnded(String host)(Code)
Called when a test is ended on the remote system. This implementation stops the running indicator and closes the stopping message dialog.
Parameters:
  host - the host where the test is ending



testIterationStart
public void testIterationStart(LoopIterationEvent event)(Code)



testStarted
public void testStarted()(Code)
Called when a test is started on the local system. This implementation sets the running indicator and ensures that the menubar is enabled and in the running state.



testStarted
public void testStarted(String host)(Code)
Called when a test is started on a specific host. This implementation sets the running indicator and ensures that the menubar is in the running state.
Parameters:
  host - the host where the test is starting



updateCounts
public void updateCounts()(Code)



Fields inherited from javax.swing.JFrame
final public static int EXIT_ON_CLOSE(Code)(Java Doc)
protected AccessibleContext accessibleContext(Code)(Java Doc)
protected JRootPane rootPane(Code)(Java Doc)
protected boolean rootPaneCheckingEnabled(Code)(Java Doc)

Methods inherited from javax.swing.JFrame
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
protected JRootPane createRootPane()(Code)(Java Doc)
protected void frameInit()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public Container getContentPane()(Code)(Java Doc)
public int getDefaultCloseOperation()(Code)(Java Doc)
public Component getGlassPane()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public JMenuBar getJMenuBar()(Code)(Java Doc)
public JLayeredPane getLayeredPane()(Code)(Java Doc)
public JRootPane getRootPane()(Code)(Java Doc)
public TransferHandler getTransferHandler()(Code)(Java Doc)
public static boolean isDefaultLookAndFeelDecorated()(Code)(Java Doc)
protected boolean isRootPaneCheckingEnabled()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
protected void processWindowEvent(WindowEvent e)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void repaint(long time, int x, int y, int width, int height)(Code)(Java Doc)
public void setContentPane(Container contentPane)(Code)(Java Doc)
public void setDefaultCloseOperation(int operation)(Code)(Java Doc)
public static void setDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)(Code)(Java Doc)
public void setGlassPane(Component glassPane)(Code)(Java Doc)
public void setIconImage(Image image)(Code)(Java Doc)
public void setJMenuBar(JMenuBar menubar)(Code)(Java Doc)
public void setLayeredPane(JLayeredPane layeredPane)(Code)(Java Doc)
public void setLayout(LayoutManager manager)(Code)(Java Doc)
protected void setRootPane(JRootPane root)(Code)(Java Doc)
protected void setRootPaneCheckingEnabled(boolean enabled)(Code)(Java Doc)
public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc)
public void update(Graphics g)(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.