megamek.client.ui.AWT.util
Class ColorParser
java.lang.Object
megamek.client.ui.AWT.util.ColorParser
public class ColorParser
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
st
protected java.io.StreamTokenizer st
currentToken
protected int currentToken
exception
protected ColorParser.ParseException exception
color
protected java.awt.Color color
ColorParser
public ColorParser()
getColor
public java.awt.Color getColor()
parse
public boolean parse(java.lang.String color)
parse
public boolean parse(java.io.StreamTokenizer st)
getException
public ColorParser.ParseException getException()
clear
protected void clear()
parse
protected boolean parse()
parseColor
protected void parseColor()
throws ColorParser.ParseException
- Throws:
ColorParser.ParseException
nextToken
protected void nextToken()