|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.infonode.docking.theme.DockingWindowsTheme net.infonode.docking.theme.LookAndFeelDockingTheme
public class LookAndFeelDockingTheme
An experimental theme that tries to replicate the look of the active look and feel. This may or may not work depending on the look and feel used.
This is a theme that tries to replicate the look using the active look and
feel. The tab windows will resemble the JTabbedPane look and the view title
bars will resemble the JInternalFrame's title bar. Note that vertical title
bars might not look very nice. The theme uses heavyweight AWT components
internally so the dispose()
method must be called when the theme is
no longer needed, otherwise the native resources will not be disposed.
The theme uses the hover mechanism so that tab hover effects can be replicated. Only title bars above or below the view's content are supported.
This theme is considered to be experimental and is not guaranteed to be an exact replica of the active look and feel. It is also not guaranteed to work together with the active look and feel. The theme may be changed, removed etc in future versions. No support is given for the theme. This theme doesn't work well with Aqua Look and Feel on Macintosh.
LookAndFeelTheme
Field Summary | |
---|---|
private boolean |
disposed
|
private static RootWindowProperties |
rootProps
|
private static int |
themeCounter
|
private RootWindowProperties |
themeRootProps
|
private static TitleBarUI |
titleBarUI
|
private static LookAndFeelTheme |
tpTheme
|
Constructor Summary | |
---|---|
LookAndFeelDockingTheme()
|
Method Summary | |
---|---|
void |
dispose()
Disposes this theme. |
java.lang.String |
getName()
Gets the theme name |
RootWindowProperties |
getRootWindowProperties()
Gets the theme RootWindowProperties |
private void |
initTheme(boolean initial)
|
private void |
updateBackgroundColor(ComponentProperties props,
java.awt.Color color)
|
Methods inherited from class net.infonode.docking.theme.DockingWindowsTheme |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static LookAndFeelTheme tpTheme
private static RootWindowProperties rootProps
private RootWindowProperties themeRootProps
private static TitleBarUI titleBarUI
private static int themeCounter
private boolean disposed
Constructor Detail |
---|
public LookAndFeelDockingTheme()
Method Detail |
---|
public java.lang.String getName()
getName
in class DockingWindowsTheme
public RootWindowProperties getRootWindowProperties()
getRootWindowProperties
in class DockingWindowsTheme
public void dispose()
Disposes this theme.
This method must be called in order to dispose the heavyweight AWT components used internally.
private void initTheme(boolean initial)
private void updateBackgroundColor(ComponentProperties props, java.awt.Color color)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |