|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.vity.freerapid.swing.LookAndFeels
public final class LookAndFeels
Nacita definovany look&feel
Method Summary | |
---|---|
List<LaF> |
getAvailableLookAndFeels()
Vraci seznam vsech dostupnych lookfeelu v aplikaci - parsovani lookandfeels.properties |
static LookAndFeels |
getInstance()
Vraci instanci tridy LookAndFeel (singleton) |
LaF |
getSelectedLaF()
Vraci aktualne vybrany lookandfeel |
boolean |
loadLookAndFeel(LaF laf,
boolean updateTree)
Provadi vlastni nacitani lookandfeelu v aplikace (pro zobrazeni) |
void |
loadLookAndFeelSettings()
Z uzivatelskych nastaveni nacte aktualne zvoleny lookandfeel a nacte ho do aplikace jako aktualni |
void |
storeSelectedLaF(LaF laf)
Uklada do uzivatelskych properties aktualne zvoleny lookandfeel |
static void |
updateComponentTreeUI(Component c)
A simple minded look and feel change: ask each node in the tree to updateUI() -- that is, to
initialize its UI property with the current look and feel. |
static void |
updateWindowUI(Window window)
Method to attempt a dynamic update for all components of the given Window . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LookAndFeels getInstance()
public final List<LaF> getAvailableLookAndFeels()
public final LaF getSelectedLaF()
public final void storeSelectedLaF(LaF laf)
laf
- public final void loadLookAndFeelSettings()
public final boolean loadLookAndFeel(LaF laf, boolean updateTree)
laf
- definice lookandfeeluupdateTree
- true - updatne komponentovy strom
public static void updateWindowUI(Window window)
Window
.
window
- The Window
for which the look and feel update has to be performed against.public static void updateComponentTreeUI(Component c)
updateUI()
-- that is, to
initialize its UI property with the current look and feel.
Based on the Sun SwingUtilities.updateComponentTreeUI, but ensures that the update happens on the components of a
JToolbar before the JToolbar itself.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |