Package net.infonode.tabbedpanel.theme
Class SoftBlueIceTheme
- java.lang.Object
-
- net.infonode.tabbedpanel.theme.TabbedPanelTitledTabTheme
-
- net.infonode.tabbedpanel.theme.SoftBlueIceTheme
-
public class SoftBlueIceTheme extends TabbedPanelTitledTabTheme
A light blue theme with gradients and rounded corners.- Since:
- ITP 1.2.0
-
-
Field Summary
Fields Modifier and Type Field Description static FixedColorProviderDEFAULT_DARK_COLORstatic FixedColorProviderDEFAULT_LIGHT_COLOR
-
Constructor Summary
Constructors Constructor Description SoftBlueIceTheme()Creates a theme with default colors and rounded corners.SoftBlueIceTheme(ColorProvider darkColor, ColorProvider lightColor, int cornerType)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorProvidergetDarkColor()Returns the dark gradient color.ColorProvidergetLightColor()Returns the light gradient color.java.lang.StringgetName()Gets the name for this themeTabbedPanelPropertiesgetTabbedPanelProperties()Gets the TabbedPanelProperties for this themeTitledTabPropertiesgetTitledTabProperties()Gets the TitledTabProperties for this theme
-
-
-
Field Detail
-
DEFAULT_DARK_COLOR
public static final FixedColorProvider DEFAULT_DARK_COLOR
-
DEFAULT_LIGHT_COLOR
public static final FixedColorProvider DEFAULT_LIGHT_COLOR
-
-
Constructor Detail
-
SoftBlueIceTheme
public SoftBlueIceTheme()
Creates a theme with default colors and rounded corners.
-
SoftBlueIceTheme
public SoftBlueIceTheme(ColorProvider darkColor, ColorProvider lightColor, int cornerType)
Constructor.- Parameters:
darkColor- the dark color used in gradientslightColor- the light color used in gradientscornerType- the amount of rounding to use for corners, 0-4
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:TabbedPanelTitledTabThemeGets the name for this theme- Specified by:
getNamein classTabbedPanelTitledTabTheme- Returns:
- the name
-
getTabbedPanelProperties
public TabbedPanelProperties getTabbedPanelProperties()
Description copied from class:TabbedPanelTitledTabThemeGets the TabbedPanelProperties for this theme- Specified by:
getTabbedPanelPropertiesin classTabbedPanelTitledTabTheme- Returns:
- the TabbedPanelProperties
-
getTitledTabProperties
public TitledTabProperties getTitledTabProperties()
Description copied from class:TabbedPanelTitledTabThemeGets the TitledTabProperties for this theme- Specified by:
getTitledTabPropertiesin classTabbedPanelTitledTabTheme- Returns:
- the TitledTabProperties
-
getDarkColor
public ColorProvider getDarkColor()
Returns the dark gradient color.- Returns:
- the dark gradient color
-
getLightColor
public ColorProvider getLightColor()
Returns the light gradient color.- Returns:
- the light gradient color
-
-