| java.lang.Object org.apache.jmeter.gui.util.MenuFactory
MenuFactory | final public class MenuFactory (Code) | | |
Method Summary | |
public static void | addEditMenu(JPopupMenu menu, boolean removable) | public static void | addFileMenu(JPopupMenu menu) | public static void | addPasteResetMenu(JPopupMenu menu) | static int | assertions_size() | public static boolean | canAddTo(JMeterTreeNode parentNode, TestElement element) Determine whether or not nodes can be added to this parent. | public static boolean | canAddTo(JMeterTreeNode parentNode, JMeterTreeNode nodes) Determine whether or not nodes can be added to this parent. | static int | configElements_size() | static int | controllers_size() | static int | elementsToSkip_size() | public static JPopupMenu | getDefaultAssertionMenu() | public static JPopupMenu | getDefaultConfigElementMenu() | public static JPopupMenu | getDefaultControllerMenu() | public static JPopupMenu | getDefaultExtractorMenu() | public static JPopupMenu | getDefaultSamplerMenu() | public static JPopupMenu | getDefaultTimerMenu() | public static JPopupMenu | getDefaultVisualizerMenu() | static int | listeners_size() | public static JMenu | makeMenu(String category, String actionCommand) Create a menu from a menu category.
Parameters: category - - predefined string (used as key for menuMap HashMap and messages.properties lookup) Parameters: actionCommand - - predefined string, e.g. | public static JMenu | makeMenu(Collection menuInfo, String actionCommand, String menuName) Create a menu from a collection of items.
Parameters: menuInfo - - collection of MenuInfo items Parameters: actionCommand - - predefined string, e.g. | public static JMenuItem | makeMenuItem(String label, String name, String actionCommand) Create a single menu item
Parameters: label - for the MenuItem Parameters: name - for the MenuItem Parameters: actionCommand - - predefined string, e.g. | public static JMenuItem | makeMenuItem(String label, String name, String actionCommand, KeyStroke accel) | public static JMenu | makeMenus(String[] categories, String label, String actionCommand) | static int | menuMap_size() | static int | nonTestElements_size() | static int | postProcessors_size() | static int | preProcessors_size() | static int | samplers_size() | public static void | setEnabled(JMenu menu) | static int | timers_size() |
CONFIG_ELEMENTS | final public static String CONFIG_ELEMENTS(Code) | | |
NON_TEST_ELEMENTS | final public static String NON_TEST_ELEMENTS(Code) | | |
POST_PROCESSORS | final public static String POST_PROCESSORS(Code) | | |
PRE_PROCESSORS | final public static String PRE_PROCESSORS(Code) | | |
addEditMenu | public static void addEditMenu(JPopupMenu menu, boolean removable)(Code) | | |
assertions_size | static int assertions_size()(Code) | | |
canAddTo | public static boolean canAddTo(JMeterTreeNode parentNode, TestElement element)(Code) | | Determine whether or not nodes can be added to this parent.
Used by Merge
Parameters: parentNode - Parameters: element - - top-level test element to be added whether it is OK to add the element to this parent |
canAddTo | public static boolean canAddTo(JMeterTreeNode parentNode, JMeterTreeNode nodes)(Code) | | Determine whether or not nodes can be added to this parent.
Used by DragNDrop and Paste.
Parameters: parentNode - Parameters: nodes - - array of nodes that are to be added whether it is OK to add the dragged nodes to this parent |
configElements_size | static int configElements_size()(Code) | | |
controllers_size | static int controllers_size()(Code) | | |
elementsToSkip_size | static int elementsToSkip_size()(Code) | | |
getDefaultConfigElementMenu | public static JPopupMenu getDefaultConfigElementMenu()(Code) | | |
getDefaultControllerMenu | public static JPopupMenu getDefaultControllerMenu()(Code) | | |
getDefaultVisualizerMenu | public static JPopupMenu getDefaultVisualizerMenu()(Code) | | |
listeners_size | static int listeners_size()(Code) | | |
makeMenu | public static JMenu makeMenu(String category, String actionCommand)(Code) | | Create a menu from a menu category.
Parameters: category - - predefined string (used as key for menuMap HashMap and messages.properties lookup) Parameters: actionCommand - - predefined string, e.g. ActionNames.ADD See Also: org.apache.jmeter.gui.action.ActionNames the menu |
menuMap_size | static int menuMap_size()(Code) | | |
nonTestElements_size | static int nonTestElements_size()(Code) | | |
postProcessors_size | static int postProcessors_size()(Code) | | |
preProcessors_size | static int preProcessors_size()(Code) | | |
samplers_size | static int samplers_size()(Code) | | |
setEnabled | public static void setEnabled(JMenu menu)(Code) | | |
timers_size | static int timers_size()(Code) | | |
|
|