|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.btools.gui.lookandfeel.LookAndFeelItem
Provides information about a particular swing look and feel in a way that makes it suitable for use in menus. In particular, the toString() method returns a user-friendly description of the look and feel.
The static function getInstalledLookAndFeels will produce a list of all available look and feels.
getInstalledLookAndFeels()
Constructor Summary | |
LookAndFeelItem(javax.swing.UIManager.LookAndFeelInfo info)
Create a new look and feel item based on the given information. |
Method Summary | |
java.lang.String |
getClassName()
Return the name of the Java look and feel class that this object represents. |
static LookAndFeelItem[] |
getInstalledLookAndFeels()
Returns a list of all available look and feels. |
boolean |
setLookAndFeel()
Sets the current look and feel to the look and feel represented by this object. |
java.lang.String |
toString()
Returns a user-friendly description of this look and feel. |
static void |
updateLookAndFeel(java.awt.Frame topLevelContainer)
Update the given container and all components contained therein to reflect the currently installed look and feel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LookAndFeelItem(javax.swing.UIManager.LookAndFeelInfo info)
info
- information about the look and feel which the new object
will represent.Method Detail |
public java.lang.String getClassName()
public boolean setLookAndFeel()
updateLookAndFeel(java.awt.Frame)
public static void updateLookAndFeel(java.awt.Frame topLevelContainer)
topLevelContainer
- the container to update.public java.lang.String toString()
toString
in class java.lang.Object
public static LookAndFeelItem[] getInstalledLookAndFeels()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |