Class JaxoLookAndFeelPanel
java.lang.Object
net.sf.jaxodraw.gui.panel.JaxoLookAndFeelPanel
Wrapper for a panel that displays the currently installed LookAndFeels
and allows to choose supported ones.
- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal JComponentgetRoot()Root component (constant).Current LookAndFeel class name.getValue()Chosen LookAndFeel class name.voidSet chosen LookAndFeel to the current UIManager one.voidSet chosen LookAndFeel to the one with matching 'name'.
-
Constructor Details
-
JaxoLookAndFeelPanel
public JaxoLookAndFeelPanel()Constructor.
-
-
Method Details
-
getRoot
-
getValue
-
setValue
Set chosen LookAndFeel to the one with matching 'name'. If not found, reset to the current LookAndFeel.- Parameters:
value- The LAF to set.
-
getUIManagerValue
Current LookAndFeel class name. This is the LookAndFeel name that would be selected (possibly added to the list) if setToUIManagerValue() or setValue(.) with unknown argument were called.- Returns:
- The current LAF class name.
-
setToUIManagerValue
public void setToUIManagerValue()Set chosen LookAndFeel to the current UIManager one.
-