|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.unit.color.ColorParser
public final class ColorParser
This class provides a parser for color specifications. Several color models are supported.
| Field Summary | |
|---|---|
protected static long |
serialVersionUID
The constant serialVersionUID contains the id for serialization. |
| Method Summary | |
|---|---|
static Color |
parseColor(Context context,
TokenSource source,
Typesetter typesetter,
CodeToken primitive)
Parse a color specification made up of a color constant for one of the supported color models or a control sequence which is bound to color convertible code. |
static Color |
parseColorConstant(Context context,
TokenSource source,
Typesetter typesetter,
CodeToken primitive)
Parse a color specification made up of a color constant for one of the supported color models. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final long serialVersionUID
| Method Detail |
|---|
public static Color parseColor(Context context,
TokenSource source,
Typesetter typesetter,
CodeToken primitive)
throws HelpingException,
TypesetterException
context - the interpreter contextsource - the source for new tokenstypesetter - the typesetterprimitive - the name of the invoking primitive
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter
public static Color parseColorConstant(Context context,
TokenSource source,
Typesetter typesetter,
CodeToken primitive)
throws HelpingException,
TypesetterException
context - the interpreter contextsource - the source for new tokenstypesetter - the typesetterprimitive - the name of the invoking primitive
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||