public class TLcyLookAndFeelAddOn extends ALcyAddOn
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.
Modifier and Type | Field and Description |
---|---|
static TLcyGroupDescriptor |
LOOK_AND_FEEL_GROUP_DESCRIPTOR |
Constructor and Description |
---|
TLcyLookAndFeelAddOn() |
Modifier and Type | Method and Description |
---|---|
void |
plugInto(ILcyLucyEnv aLucyEnv)
Plugs this addon into the given lucy environment.
|
void |
unplugFrom(ILcyLucyEnv aLucyEnv)
Unplugs this addon from the given Lucy environment.
|
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
public static final TLcyGroupDescriptor LOOK_AND_FEEL_GROUP_DESCRIPTOR
public void plugInto(ILcyLucyEnv aLucyEnv)
ALcyAddOn
plugInto
in class ALcyAddOn
aLucyEnv
- The lucy environment to plug into.ALcyAddOn.unplugFrom(com.luciad.lucy.ILcyLucyEnv)
public void unplugFrom(ILcyLucyEnv aLucyEnv)
ALcyAddOn
unplugFrom
in class ALcyAddOn
aLucyEnv
- The lucy environment to unplug from.ALcyAddOn.plugInto(com.luciad.lucy.ILcyLucyEnv)