|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoperties.interpreters.AbstractInterpreter<java.awt.GradientPaint>
joperties.interpreters.defaultinterpreters.GradientPaintInterpreter
public class GradientPaintInterpreter
| Constructor Summary | |
|---|---|
GradientPaintInterpreter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
encode(java.awt.GradientPaint obj)
This method encodes the provided object to a string. |
java.lang.Class<java.awt.GradientPaint> |
getClassType()
This method returns the class that this interpreted handles. |
java.lang.String |
getDescription()
This method returns a description of the way this interpreter interprets and encodes the objects. |
java.awt.GradientPaint |
interpret(java.lang.String string)
This method will interpret the provided string as an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GradientPaintInterpreter()
| Method Detail |
|---|
public java.lang.String encode(java.awt.GradientPaint obj)
throws EncodingException,
NoApropriateInterpeterFoundException
AbstractInterpreter
encode in class AbstractInterpreter<java.awt.GradientPaint>obj - The object to encode as a string.
EncodingException - If there was an error encoding the string.
NoApropriateInterpeterFoundException - If the method needs to call on other interpreters and none is
found.public java.lang.Class<java.awt.GradientPaint> getClassType()
AbstractInterpreter
getClassType in class AbstractInterpreter<java.awt.GradientPaint>
public java.awt.GradientPaint interpret(java.lang.String string)
throws InterpretationException,
NoApropriateInterpeterFoundException
AbstractInterpreter
interpret in class AbstractInterpreter<java.awt.GradientPaint>string - The string to interpret as an object.
InterpretationException - If there was an error interpreting the string.
NoApropriateInterpeterFoundException - If the method needs to call on other interpreters and none is
found.public java.lang.String getDescription()
AbstractInterpreter
getDescription in class AbstractInterpreter<java.awt.GradientPaint>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||