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

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.Style
      extended byyu.ac.bg.etf.javaqx.qswing.styles.AbstractStyle
Direct Known Subclasses:
CustomStyle, SystemStyle

public abstract class AbstractStyle
extends Style

Abstract Style.

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

Constructor Summary
protected AbstractStyle(java.lang.String name, java.lang.String description, Theme theme)
          Abstract Style.
 
Method Summary
 java.lang.String getDescription()
          Returns the style description.
 java.lang.String getName()
          Returns the style name.
 Theme getTheme()
          Returns the style theme.
 int hashCode()
          
 
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.Style
equals, isPlatformStyle, isSupported, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractStyle

protected AbstractStyle(java.lang.String name,
                        java.lang.String description,
                        Theme theme)
Abstract Style.

Parameters:
name - the name
description - the description
theme - the theme
Throws:
java.lang.IllegalArgumentException - if the name is null
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class Style

getName

public java.lang.String getName()
Returns the style name.

Specified by:
getName in class Style
Returns:
the style name

getDescription

public java.lang.String getDescription()
Returns the style description.

Specified by:
getDescription in class Style
Returns:
the style description

getTheme

public Theme getTheme()
Returns the style theme.

Specified by:
getTheme in class Style
Returns:
the style theme


Copyright © 2007 ETF and contributors. All Rights Reserved.