| 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 | |
Method Summary | |
public void | closeMenu() Close the currently selected menu. | protected JScrollPane | createMainPanel() Create the main panel where components can display their GUIs. | protected Component | createToolBar() Create the JMeter tool bar pane containing the running indicator. | protected JScrollPane | createTreePanel() Create the panel where the GUI representation of the test tree is
displayed. | public void | drawDraggedComponent(Component dragIcon, int x, int y) | protected TreeCellRenderer | getCellRenderer() Create the tree cell renderer used to draw the nodes in the test tree. | public JTree | getTree() | protected void | init() Create the GUI components and layout. | public void | setEditAddEnabled(boolean enabled) Specify whether or not the Edit|Add menu item should be enabled. | public void | setEditAddMenu(JMenu menu) Set the menu that should be used for the Edit|Add menu. | public void | setEditEnabled(boolean enabled) Specify whether or not the Edit menu item should be enabled. | public void | setEditMenu(JPopupMenu menu) Set the menu that should be used for the Edit menu. | public void | setEditRemoveEnabled(boolean enabled) Specify whether or not the Edit|Remove menu item should be enabled. | public void | setExtendedFrameTitle(String fname) | public void | setFileLoadEnabled(boolean enabled) Specify whether or not the File|Load menu item should be enabled. | public void | setFileSaveEnabled(boolean enabled) Specify whether or not the File|Save menu item should be enabled. | public void | setMainPanel(JComponent comp) | public void | showStoppingMessage(String host) Show a dialog indicating that JMeter threads are stopping on a particular
host. | public void | testEnded() Not sure if this should be in the ReportMainFrame, since the
report component doesn't really test, it generates reports. | public void | testEnded(String host) Not sure if this should be in the ReportMainFrame, since the
report component doesn't really test, it generates reports. | public void | testIterationStart(LoopIterationEvent event) | public void | testStarted() Not sure if this should be in the ReportMainFrame, since the
report component doesn't really test, it generates reports. | public void | testStarted(String host) Not sure if this should be in the ReportMainFrame, since the
report component doesn't really test, it generates reports. |
mainPanel | protected JScrollPane mainPanel(Code) | | The main panel where components display their GUIs.
|
treePanel | protected JScrollPane treePanel(Code) | | The panel where the test tree is shown.
|
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 |
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 |
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 |
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.
|
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.
|
|
|