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

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.styles.Theme
      extended byyu.ac.bg.etf.javaqx.qswing.styles.AbstractTheme
          extended byyu.ac.bg.etf.javaqx.qswing.styles.CustomTheme

public class CustomTheme
extends AbstractTheme

Custom Theme.

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

Constructor Summary
CustomTheme(ColorPalette colorPalette, FontSet fontSet)
          Constructs new CustomTheme object.
CustomTheme(java.lang.String name, ColorPalette colorPalette, FontSet fontSet)
          Constructs new CustomTheme object.
 
Method Summary
 boolean isSupported()
          Returns true if the theme is supported on the platform.
 
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.styles.AbstractTheme
getColorPalette, getFontSet, getName, hashCode
 
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.styles.Theme
equals, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomTheme

public CustomTheme(ColorPalette colorPalette,
                   FontSet fontSet)
Constructs new CustomTheme object.

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

CustomTheme

public CustomTheme(java.lang.String name,
                   ColorPalette colorPalette,
                   FontSet fontSet)
Constructs new CustomTheme object.

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

isSupported

public boolean isSupported()
Returns true if the theme is supported on the platform.

Specified by:
isSupported in class Theme
Returns:
true if the theme is supported on the platform


Copyright © 2007 ETF and contributors. All Rights Reserved.