|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.tabbedpanel.theme.TabbedPanelTitledTabTheme
net.infonode.tabbedpanel.theme.LookAndFeelTheme
public class LookAndFeelTheme
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 JTabbedPane's look using the
active look and feel. The theme uses a heavyweight AWT component 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.
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.
Field Summary | |
---|---|
private boolean |
disposed
|
private static TitledTabProperties |
tabProps
|
private static int |
themeCounter
|
private TitledTabProperties |
themeTabProps
|
private TabbedPanelProperties |
themeTpProps
|
private static TabbedPanelProperties |
tpProps
|
private static PaneUI |
ui
|
Constructor Summary | |
---|---|
LookAndFeelTheme()
Constructs a Look and Feel Theme |
Method Summary | |
---|---|
private javax.swing.border.Border |
createTabInsetsBorder(boolean selected)
|
void |
dispose()
Disposes this theme. |
java.awt.Color |
getBorderColor(Direction d)
|
java.lang.String |
getName()
Gets the name for this theme |
TabbedPanelProperties |
getTabbedPanelProperties()
Gets the TabbedPanelProperties for this theme |
TitledTabProperties |
getTitledTabProperties()
Gets the TitledTabProperties for this theme |
private void |
initTheme()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static TabbedPanelProperties tpProps
private static TitledTabProperties tabProps
private TabbedPanelProperties themeTpProps
private TitledTabProperties themeTabProps
private static int themeCounter
private static PaneUI ui
private boolean disposed
Constructor Detail |
---|
public LookAndFeelTheme()
Method Detail |
---|
public java.lang.String getName()
getName
in class TabbedPanelTitledTabTheme
public TabbedPanelProperties getTabbedPanelProperties()
getTabbedPanelProperties
in class TabbedPanelTitledTabTheme
public TitledTabProperties getTitledTabProperties()
getTitledTabProperties
in class TabbedPanelTitledTabTheme
public void dispose()
Disposes this theme.
This method must be called in order to dispose the heavyweight AWT component used internally.
private void initTheme()
private javax.swing.border.Border createTabInsetsBorder(boolean selected)
public java.awt.Color getBorderColor(Direction d)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |