Package net.infonode.tabbedpanel.theme
Class ClassicTheme
java.lang.Object
net.infonode.tabbedpanel.theme.TabbedPanelTitledTabTheme
net.infonode.tabbedpanel.theme.ClassicTheme
A theme with a "classic" look and with round edges for the titled tabs.
- Since:
- ITP 1.2.0
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default Classic ThemeClassicTheme
(int raised) Constructs a Classic Theme -
Method Summary
Modifier and TypeMethodDescriptioncreateInsetsTabBorder
(boolean roundEdges, boolean open, boolean highlight) Creates a tab border with extra insets bordercreateTabBorder
(boolean roundEdges, boolean open, boolean highlight) Creates a tab border without extra insets bordergetName()
Gets the name for this themeGets the TabbedPanelProperties for this themeGets the TitledTabProperties for this theme
-
Constructor Details
-
ClassicTheme
public ClassicTheme()Constructs a default Classic Theme -
ClassicTheme
public ClassicTheme(int raised) Constructs a Classic Theme- Parameters:
raised
- number of pixels for the highlight raised effect
-
-
Method Details
-
getName
Gets the name for this theme- Specified by:
getName
in classTabbedPanelTitledTabTheme
- Returns:
- the name
-
getTabbedPanelProperties
Gets the TabbedPanelProperties for this theme- Specified by:
getTabbedPanelProperties
in classTabbedPanelTitledTabTheme
- Returns:
- the TabbedPanelProperties
-
getTitledTabProperties
Gets the TitledTabProperties for this theme- Specified by:
getTitledTabProperties
in classTabbedPanelTitledTabTheme
- Returns:
- the TitledTabProperties
-
createInsetsTabBorder
Creates a tab border with extra insets border- Parameters:
roundEdges
- true for round edgesopen
- true for openhighlight
- true for highlight- Returns:
- the created border
-
createTabBorder
Creates a tab border without extra insets border- Parameters:
roundEdges
- true for round edgesopen
- true for openhighlight
- true for highlight- Returns:
- the created border
-