net.infonode.tabbedpanel.theme
Class SoftBlueIceTheme

java.lang.Object
  extended by net.infonode.tabbedpanel.theme.TabbedPanelTitledTabTheme
      extended by net.infonode.tabbedpanel.theme.SoftBlueIceTheme

public class SoftBlueIceTheme
extends TabbedPanelTitledTabTheme

A light blue theme with gradients and rounded corners.

Since:
ITP 1.2.0
Version:
$Revision: 1.17 $
Author:
$Author: jesper $

Field Summary
private  ColorProvider darkColor
           
static FixedColorProvider DEFAULT_DARK_COLOR
           
static FixedColorProvider DEFAULT_LIGHT_COLOR
           
private  ColorProvider lightColor
           
private  TabbedPanelProperties tabbedPanelProperties
           
private  TitledTabProperties titledTabProperties
           
 
Constructor Summary
SoftBlueIceTheme()
          Creates a theme with default colors and rounded corners.
SoftBlueIceTheme(ColorProvider darkColor, ColorProvider lightColor, int cornerType)
          Constructor.
 
Method Summary
 ColorProvider getDarkColor()
          Returns the dark gradient color.
 ColorProvider getLightColor()
          Returns the light gradient color.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DARK_COLOR

public static final FixedColorProvider DEFAULT_DARK_COLOR

DEFAULT_LIGHT_COLOR

public static final FixedColorProvider DEFAULT_LIGHT_COLOR

darkColor

private ColorProvider darkColor

lightColor

private ColorProvider lightColor

tabbedPanelProperties

private TabbedPanelProperties tabbedPanelProperties

titledTabProperties

private TitledTabProperties titledTabProperties
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 gradients
lightColor - the light color used in gradients
cornerType - 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 class TabbedPanelTitledTabTheme
Returns:
the name

getTabbedPanelProperties

public TabbedPanelProperties getTabbedPanelProperties()
Description copied from class: TabbedPanelTitledTabTheme
Gets the TabbedPanelProperties for this theme

Specified by:
getTabbedPanelProperties in class TabbedPanelTitledTabTheme
Returns:
the TabbedPanelProperties

getTitledTabProperties

public TitledTabProperties getTitledTabProperties()
Description copied from class: TabbedPanelTitledTabTheme
Gets the TitledTabProperties for this theme

Specified by:
getTitledTabProperties in class TabbedPanelTitledTabTheme
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