net.sourceforge.steelme
Class BasicLookAndFeelToCSS
java.lang.Object
net.sourceforge.steelme.LookAndFeelToCSS
net.sourceforge.steelme.BasicLookAndFeelToCSS
public class BasicLookAndFeelToCSS
- extends LookAndFeelToCSS
A pluggable strategy for converting a LookAndFeel to a Cascading
Stylesheet.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicLookAndFeelToCSS
public BasicLookAndFeelToCSS()
convert
public StyleSheet convert(LookAndFeel laf)
throws UnsupportedLookAndFeelException
- Return a StyleSheet that represents the given LookAndFeel. This
class only supports MetalLookAndFeel types, it will throw an
UnsupportedLookAndFeelException if passed another type.
- Specified by:
convert
in class LookAndFeelToCSS
- Parameters:
laf
- a LookAndFeel
value
- Returns:
- a
StyleSheet
value
- Throws:
UnsupportedLookAndFeelException
- if an error occurs