Package org.apache.jmeter.gui.util
Class MenuInfo
java.lang.Object
org.apache.jmeter.gui.util.MenuInfo
- Direct Known Subclasses:
MenuSeparatorInfo
Class to hold additional information needed when building the GUI lists
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMenuInfo
(String label, JMeterGUIComponent item, String classFullName) MenuInfo
(JMeterGUIComponent item, String classFullName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getEnabled
(String actionCommand) Returns whether the menu item represented by this MenuInfo object should be enabledgetLabel()
int
-
Field Details
-
SORT_ORDER_DEFAULT
public static final int SORT_ORDER_DEFAULT- See Also:
-
-
Constructor Details
-
MenuInfo
-
MenuInfo
-
MenuInfo
-
-
Method Details
-
getLabel
-
getClassName
-
getSortOrder
public int getSortOrder() -
getEnabled
Returns whether the menu item represented by this MenuInfo object should be enabled- Parameters:
actionCommand
- the action command name for the menu item- Returns:
- true when menu item should be enabled, false otherwise.
-