Class TLcyLookAndFeelAddOn
This add-on provides the possibility to set the java Look and Feel of your preference. You can either specify in the config file which Look and Feel you want to use, or the Look and Feel can be adapted through menu items. The default Look and Feel is the System Look and Feel.
Adding your own look-and-feel to the menu-items is possible as well. Make sure the Look and Feel is
installed
before
loading this add-on, and configure your Look and Feel in the config file of this add-on. The key to use in
the configuration file should be of the form: "TLcyLookAndFeelAddOn." +
javax.swing.UIManager.LookAndFeelInfo#getName + "ActiveSettable"
This add-on does not support samples.common.gui.blacklime.BlackLimeLookAndFeel
as that look and feel does not support switching at runtime. If you want to use it, remove this
add-on and manually install it using the instructions in samples.common.gui.blacklime.BlackLimeLookAndFeel
.
Note: plugging in this add-on on a Mac will always use the Aqua look-and-feel, and for now not provide any menu options to switch to another look-and-feel. The reason is that on OS X, the only look-and-feel that is properly supported is the Aqua look-and-feel. As such, switching to another look-and-feel makes no sense.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
plugInto
(ILcyLucyEnv aLucyEnv) Plugs this addon into the given lucy environment.void
unplugFrom
(ILcyLucyEnv aLucyEnv) Unplugs this addon from the given Lucy environment.Methods inherited from class com.luciad.lucy.addons.ALcyAddOn
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
-
Field Details
-
LOOK_AND_FEEL_GROUP_DESCRIPTOR
-
-
Constructor Details
-
TLcyLookAndFeelAddOn
public TLcyLookAndFeelAddOn()
-
-
Method Details
-
plugInto
Description copied from class:ALcyAddOn
Plugs this addon into the given lucy environment. It is in the implementation of this method that the addon adds its functionality to the Lucy backend. -
unplugFrom
Description copied from class:ALcyAddOn
Unplugs this addon from the given Lucy environment. It removes the functionality previously added to the Lucy backend.- Specified by:
unplugFrom
in classALcyAddOn
- Parameters:
aLucyEnv
- The lucy environment to unplug from.- See Also:
-