Class LookAndFeelDockingTheme
- java.lang.Object
-
- net.infonode.docking.theme.DockingWindowsTheme
-
- net.infonode.docking.theme.LookAndFeelDockingTheme
-
public class LookAndFeelDockingTheme extends DockingWindowsTheme
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.
- Since:
- IDW 1.4.0
- Version:
- $Revision: 1.21 $
- See Also:
LookAndFeelTheme
-
-
Field Summary
Fields Modifier and Type Field Description private booleandisposedprivate static RootWindowPropertiesrootPropsprivate static intthemeCounterprivate RootWindowPropertiesthemeRootPropsprivate static TitleBarUItitleBarUIprivate static LookAndFeelThemetpTheme
-
Constructor Summary
Constructors Constructor Description LookAndFeelDockingTheme()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Disposes this theme.java.lang.StringgetName()Gets the theme nameRootWindowPropertiesgetRootWindowProperties()Gets the theme RootWindowPropertiesprivate voidinitTheme(boolean initial)private voidupdateBackgroundColor(ComponentProperties props, java.awt.Color color)-
Methods inherited from class net.infonode.docking.theme.DockingWindowsTheme
toString
-
-
-
-
Field Detail
-
tpTheme
private static LookAndFeelTheme tpTheme
-
rootProps
private static RootWindowProperties rootProps
-
themeRootProps
private RootWindowProperties themeRootProps
-
titleBarUI
private static TitleBarUI titleBarUI
-
themeCounter
private static int themeCounter
-
disposed
private boolean disposed
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the theme name- Specified by:
getNamein classDockingWindowsTheme- Returns:
- name
-
getRootWindowProperties
public RootWindowProperties getRootWindowProperties()
Gets the theme RootWindowProperties- Specified by:
getRootWindowPropertiesin classDockingWindowsTheme- Returns:
- the RootWindowProperties
-
dispose
public void dispose()
Disposes this theme.
This method must be called in order to dispose the heavyweight AWT components used internally.
-
initTheme
private void initTheme(boolean initial)
-
updateBackgroundColor
private void updateBackgroundColor(ComponentProperties props, java.awt.Color color)
-
-