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

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.Style
      extended byyu.ac.bg.etf.javaqx.qswing.styles.AbstractStyle
          extended byyu.ac.bg.etf.javaqx.qswing.styles.CustomStyle

public class CustomStyle
extends AbstractStyle

Custom Style.

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

Constructor Summary
CustomStyle(java.lang.String name, java.lang.String description, Theme theme)
          Constructs new SystemStyle object.
CustomStyle(java.lang.String name, Theme theme)
          Constructs new SystemStyle object.
 
Method Summary
 boolean isPlatformStyle()
          Returns true if the style is platform style.
 boolean isSupported()
          Returns true if the style is supported on the platform.
 
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.styles.AbstractStyle
getDescription, getName, getTheme, hashCode
 
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.Style
equals, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomStyle

public CustomStyle(java.lang.String name,
                   Theme theme)
Constructs new SystemStyle object.

Parameters:
name - the style name
theme - the style theme

CustomStyle

public CustomStyle(java.lang.String name,
                   java.lang.String description,
                   Theme theme)
Constructs new SystemStyle object.

Parameters:
name - the style name
description - the style description
theme - the style theme
Method Detail

isSupported

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

Specified by:
isSupported in class Style
Returns:
true if the style is supported on the platform

isPlatformStyle

public boolean isPlatformStyle()
Returns true if the style is platform style.

Specified by:
isPlatformStyle in class Style
Returns:
true if the style is platform style


Copyright © 2007 ETF and contributors. All Rights Reserved.