yu.ac.bg.etf.javaqx.qswing
Class StyleSheet

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.StyleSheet

public class StyleSheet
extends java.lang.Object

Style Sheet.

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

Constructor Summary
StyleSheet(java.io.File styleSheetFile)
          Constructs new StyleSheet object.
StyleSheet(java.io.InputStream styleSheetStream)
          Constructs new StyleSheet object.
StyleSheet(java.lang.String styleSheetText)
          Constructs new StyleSheet object.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.String getText()
          Returns style sheet text.
 int hashCode()
          
 boolean isValid()
          Returns true if the style sheet is valid.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleSheet

public StyleSheet(java.io.InputStream styleSheetStream)
           throws java.io.IOException
Constructs new StyleSheet object.

Parameters:
styleSheetStream - the style sheet input stream
Throws:
java.io.IOException - on an I/O error

StyleSheet

public StyleSheet(java.io.File styleSheetFile)
           throws java.io.IOException
Constructs new StyleSheet object.

Parameters:
styleSheetFile - the style sheet file
Throws:
java.io.IOException - on an I/O error

StyleSheet

public StyleSheet(java.lang.String styleSheetText)
Constructs new StyleSheet object.

Parameters:
styleSheetText - the style sheet text
Method Detail

isValid

public final boolean isValid()
Returns true if the style sheet is valid.

Returns:
true if the style sheet is valid

getText

public final java.lang.String getText()
Returns style sheet text.

Returns:
style sheet text

equals

public boolean equals(java.lang.Object obj)


hashCode

public int hashCode()



Copyright © 2007 ETF and contributors. All Rights Reserved.