| 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.
|
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.
|
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 |
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 |
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 |
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) | | |
|
|