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 FixedColorProvider
DEFAULT_DARK_COLOR
static FixedColorProvider
DEFAULT_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 ColorProvider
getDarkColor()
Returns the dark gradient color.ColorProvider
getLightColor()
Returns the light gradient color.java.lang.String
getName()
Gets the name for this themeTabbedPanelProperties
getTabbedPanelProperties()
Gets the TabbedPanelProperties for this themeTitledTabProperties
getTitledTabProperties()
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:TabbedPanelTitledTabTheme
Gets the name for this theme- Specified by:
getName
in classTabbedPanelTitledTabTheme
- Returns:
- the name
-
getTabbedPanelProperties
public TabbedPanelProperties getTabbedPanelProperties()
Description copied from class:TabbedPanelTitledTabTheme
Gets the TabbedPanelProperties for this theme- Specified by:
getTabbedPanelProperties
in classTabbedPanelTitledTabTheme
- Returns:
- the TabbedPanelProperties
-
getTitledTabProperties
public TitledTabProperties getTitledTabProperties()
Description copied from class:TabbedPanelTitledTabTheme
Gets the TitledTabProperties for this theme- Specified by:
getTitledTabProperties
in 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
-
-