Package org.apache.jmeter.gui.action
Class LookAndFeelCommand
java.lang.Object
org.apache.jmeter.gui.action.AbstractAction
org.apache.jmeter.gui.action.LookAndFeelCommand
- All Implemented Interfaces:
Command
Implements the Look and Feel menu item.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
activateLookAndFeel
(String command) void
doAction
(ActionEvent ev) static String
Deprecated.see #getPreferredLafCommandstatic String
Returns a command that would activate the preferred LaF.static boolean
isDark()
static boolean
Methods inherited from class org.apache.jmeter.gui.action.AbstractAction
getParentFrame, popupCheckExistingFileListener, popupShouldSave
-
Constructor Details
-
LookAndFeelCommand
public LookAndFeelCommand()
-
-
Method Details
-
getMenuItems
-
getJMeterLaf
Deprecated.see #getPreferredLafCommandGet LookAndFeel classname from the following properties:- User preferences key: "laf"
- jmeter.laf.<os.name> - lowercased; spaces replaced by '_'
- jmeter.laf.<os.family> - lowercased.
- jmeter.laf
- UIManager.getCrossPlatformLookAndFeelClassName()
- Returns:
- LAF classname
- See Also:
-
getPreferredLafCommand
Returns a command that would activate the preferred LaF.- Returns:
- command that would activate the preferred LaF
-
isDarklafTheme
public static boolean isDarklafTheme() -
isDark
public static boolean isDark() -
activateLookAndFeel
-
doAction
- Specified by:
doAction
in interfaceCommand
- Overrides:
doAction
in classAbstractAction
- See Also:
-
getActionNames
-