|
ProgramixGenericLib v4.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.programix.gui.plaf.LookAndFeelChanger.LookAndFeelView
public static class LookAndFeelChanger.LookAndFeelView
| Constructor Summary | |
|---|---|
LookAndFeelChanger.LookAndFeelView(LookAndFeel lookAndFeel)
|
|
LookAndFeelChanger.LookAndFeelView(String lookAndFeelClassName)
|
|
| Method Summary | |
|---|---|
void |
activate()
Called when this View should become the current View. |
String |
getDisplayName()
Returns a name that describes this view in a format suitable for display to the user. |
LookAndFeel |
getLookAndFeel()
|
boolean |
useWindowDecorations()
Returns true if this view is backed by a LookAndFeel that wants to decorate the windows entirely. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LookAndFeelChanger.LookAndFeelView(LookAndFeel lookAndFeel)
public LookAndFeelChanger.LookAndFeelView(String lookAndFeelClassName)
throws UnsupportedLookAndFeelException
UnsupportedLookAndFeelException| Method Detail |
|---|
public void activate()
throws Exception
LookAndFeelChanger.ViewThe implementation of this method should call:
UIManager.setLookAndFeelas appropriate. However, after activate returns (without throwing an exception) the
LookAndFeelChanger will
automatically call SwingUtilities.updateComponentTreeUI
for all of the frames and windows. If will also
validate each frame and window to
have components re-layout with the new look.
NOTE: This method must be called by the event handling thread (or else an IllegalStateException is thrown).
activate in interface LookAndFeelChanger.ViewException - if this View can not be activated.
The stack trace will generally be sent to System.err and
the look and feel changer will attempt to activate the next view.public String getDisplayName()
LookAndFeelChanger.View
getDisplayName in interface LookAndFeelChanger.Viewpublic boolean useWindowDecorations()
LookAndFeelChanger.View
useWindowDecorations in interface LookAndFeelChanger.Viewpublic LookAndFeel getLookAndFeel()
|
ProgramixGenericLib v4.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||