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

ReportMainFrame
public class ReportMainFrame extends JFrame implements TestListener,Remoteable(Code)
ReportMainFrame is based on MainFrame. it uses the same basic structure, but with changes for the report gui.

Inner Class :protected static class WindowHappenings extends WindowAdapter

Field Summary
protected  JScrollPanemainPanel
     The main panel where components display their GUIs.
protected  ReportMenuBarmenuBar
     The menu bar.
protected  JTreetree
     The test tree.
protected  JScrollPanetreePanel
     The panel where the test tree is shown.

Constructor Summary
public  ReportMainFrame()
    
public  ReportMainFrame(ActionListener actionHandler, TreeModel treeModel, ReportTreeListener treeListener)
     Create a new JMeter frame.

Method Summary
public  voidcloseMenu()
     Close the currently selected menu.
protected  JScrollPanecreateMainPanel()
     Create the main panel where components can display their GUIs.
protected  ComponentcreateToolBar()
     Create the JMeter tool bar pane containing the running indicator.
protected  JScrollPanecreateTreePanel()
     Create the panel where the GUI representation of the test tree is displayed.
public  voiddrawDraggedComponent(Component dragIcon, int x, int y)
    
protected  TreeCellRenderergetCellRenderer()
     Create the tree cell renderer used to draw the nodes in the test tree.
public  JTreegetTree()
    
protected  voidinit()
     Create the GUI components and layout.
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  voidsetFileSaveEnabled(boolean enabled)
     Specify whether or not the File|Save menu item should be enabled.
public  voidsetMainPanel(JComponent comp)
    
public  voidshowStoppingMessage(String host)
     Show a dialog indicating that JMeter threads are stopping on a particular host.
public  voidtestEnded()
     Not sure if this should be in the ReportMainFrame, since the report component doesn't really test, it generates reports.
public  voidtestEnded(String host)
     Not sure if this should be in the ReportMainFrame, since the report component doesn't really test, it generates reports.
public  voidtestIterationStart(LoopIterationEvent event)
    
public  voidtestStarted()
     Not sure if this should be in the ReportMainFrame, since the report component doesn't really test, it generates reports.
public  voidtestStarted(String host)
     Not sure if this should be in the ReportMainFrame, since the report component doesn't really test, it generates reports.

Field Detail
mainPanel
protected JScrollPane mainPanel(Code)
The main panel where components display their GUIs.



menuBar
protected ReportMenuBar menuBar(Code)
The menu bar.



tree
protected JTree tree(Code)
The test tree.



treePanel
protected JScrollPane treePanel(Code)
The panel where the test tree is shown.




Constructor Detail
ReportMainFrame
public ReportMainFrame()(Code)



ReportMainFrame
public ReportMainFrame(ActionListener actionHandler, TreeModel treeModel, ReportTreeListener 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




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



createMainPanel
protected JScrollPane createMainPanel()(Code)
Create the main panel where components can display their GUIs. the main scroll pane



createToolBar
protected Component createToolBar()(Code)
Create the JMeter tool bar pane containing the running indicator. a panel containing the running indicator



createTreePanel
protected JScrollPane createTreePanel()(Code)
Create the panel where the GUI representation of the test tree is displayed. The tree should already be created before calling this method. a scroll pane containing the test tree GUI



drawDraggedComponent
public void drawDraggedComponent(Component dragIcon, int x, int y)(Code)



getCellRenderer
protected TreeCellRenderer getCellRenderer()(Code)
Create the tree cell renderer used to draw the nodes in the test tree. a renderer to draw the test tree nodes



getTree
public JTree getTree()(Code)



init
protected void init()(Code)
Create the GUI components and layout.



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



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)



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)
Not sure if this should be in the ReportMainFrame, since the report component doesn't really test, it generates reports. for now, I will use it to trigger reporting. Later we can refactor MainFrame and create an abstract base class.



testEnded
public void testEnded(String host)(Code)
Not sure if this should be in the ReportMainFrame, since the report component doesn't really test, it generates reports. for now, I will use it to trigger reporting. Later we can refactor MainFrame and create an abstract base class.



testIterationStart
public void testIterationStart(LoopIterationEvent event)(Code)



testStarted
public void testStarted()(Code)
Not sure if this should be in the ReportMainFrame, since the report component doesn't really test, it generates reports. for now, I will use it to trigger reporting. Later we can refactor MainFrame and create an abstract base class.



testStarted
public void testStarted(String host)(Code)
Not sure if this should be in the ReportMainFrame, since the report component doesn't really test, it generates reports. for now, I will use it to trigger reporting. Later we can refactor MainFrame and create an abstract base class.



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.