com.taco.swinger.text2gui
Class StringToComponentOrientationConverter

java.lang.Object
  extended by com.taco.swinger.text2gui.StringToComponentOrientationConverter
All Implemented Interfaces:
IStringToObjectConverter

public final class StringToComponentOrientationConverter
extends java.lang.Object
implements IStringToObjectConverter

A converter from strings to instances of ComponentOrientation.


Field Summary
static StringToComponentOrientationConverter instance
          The singleton instance of this class.
 
Method Summary
 java.lang.Object toObject(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final StringToComponentOrientationConverter instance
The singleton instance of this class.

Method Detail

toObject

public java.lang.Object toObject(java.lang.String s)
                          throws java.text.ParseException
Specified by:
toObject in interface IStringToObjectConverter
Throws:
java.text.ParseException