yu.ac.bg.etf.javaqx.qswing.styles
Class AbstractTheme

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.styles.Theme
      extended byyu.ac.bg.etf.javaqx.qswing.styles.AbstractTheme
Direct Known Subclasses:
CustomTheme, SystemTheme

public abstract class AbstractTheme
extends Theme

Abstract Theme.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Constructor Summary
protected AbstractTheme(ColorPalette colorPalette, FontSet fontSet)
          Constructs new AbstractTheme object.
protected AbstractTheme(java.lang.String name, ColorPalette colorPalette, FontSet fontSet)
          Constructs new AbstractTheme object.
 
Method Summary
 ColorPalette getColorPalette()
          Returns color palette.
 FontSet getFontSet()
          Returns font set.
 java.lang.String getName()
          Returns the name of the theme.
 int hashCode()
          
 
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.styles.Theme
equals, isSupported, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractTheme

protected AbstractTheme(ColorPalette colorPalette,
                        FontSet fontSet)
Constructs new AbstractTheme object.

Parameters:
colorPalette - the color palette
fontSet - the font set

AbstractTheme

protected AbstractTheme(java.lang.String name,
                        ColorPalette colorPalette,
                        FontSet fontSet)
Constructs new AbstractTheme object.

Parameters:
name - the name
colorPalette - the color palette
fontSet - the font set
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Theme

getName

public java.lang.String getName()
Returns the name of the theme.

Specified by:
getName in class Theme
Returns:
the name of the theme

getColorPalette

public ColorPalette getColorPalette()
Returns color palette.

Specified by:
getColorPalette in class Theme
Returns:
color palette

getFontSet

public FontSet getFontSet()
Returns font set.

Specified by:
getFontSet in class Theme
Returns:
font set


Copyright © 2007 ETF and contributors. All Rights Reserved.