|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
net.sf.sdedit.ui.impl.LookAndFeelManager
public class LookAndFeelManager
For dynamically changing the look and feel of whole frames and dialogs.
| Method Summary | |
|---|---|
boolean |
changeTo(String lookAndFeelName)
|
static UIManager.LookAndFeelInfo[] |
getAvailableLookAndFeels()
|
static LookAndFeelManager |
instance()
Returns the singleton LookAndFeelManager. |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
register(RootPaneContainer container)
Registers a JDialog so its subcomponents will get another look and feel when updateUserInterface() is called. |
void |
registerOrphan(JComponent orphan)
|
void |
setFont(Font font)
|
void |
updateUserInterface()
Call updateUI() on all components inside the registered frames and dialogs. |
void |
useExternalLAF(File jarFile,
String cls)
|
| Methods inherited from class java.net.URLClassLoader |
|---|
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
| Methods inherited from class java.security.SecureClassLoader |
|---|
defineClass, defineClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setFont(Font font)
public static UIManager.LookAndFeelInfo[] getAvailableLookAndFeels()
public static LookAndFeelManager instance()
public void useExternalLAF(File jarFile,
String cls)
throws MalformedURLException,
ClassNotFoundException,
InstantiationException,
IllegalAccessException,
UnsupportedLookAndFeelException
MalformedURLException
ClassNotFoundException
InstantiationException
IllegalAccessException
UnsupportedLookAndFeelExceptionpublic void register(RootPaneContainer container)
dialog - a JDialog that is to be managed by this
LookAndFeelManager, so the JDialog's subcomponents
look and feel can be changed by itpublic void updateUserInterface()
public void registerOrphan(JComponent orphan)
public boolean changeTo(String lookAndFeelName)
public void propertyChange(PropertyChangeEvent evt)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||