|
ProgramixGenericLib v4.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface LookAndFeelChanger.View
Used to define a generic wrapper for a look and feel change. This is useful when only the theme of a look and feel needs to change.
| 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. |
boolean |
useWindowDecorations()
Returns true if this view is backed by a LookAndFeel that wants to decorate the windows entirely. |
| Method Detail |
|---|
void activate()
throws Exception
The 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).
Exception - 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.String getDisplayName()
boolean useWindowDecorations()
|
ProgramixGenericLib v4.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||