de.lessvoid.nifty.tools
Class ColorValueParser
java.lang.Object
de.lessvoid.nifty.tools.ColorValueParser
public class ColorValueParser
- extends Object
Checks a String if it contains a Nifty inline color. This class is used while
parsing text strings for colors.
This has now been changed to not return an Result instance anymore but simply
remembers the last result in instance variables. This makes the class not
thread-safe but it was not shared between threads anyway.
- Author:
- void
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorValueParser
public ColorValueParser()
isColor
public boolean isColor()
getNextIndex
public int getNextIndex()
getColor
public Color getColor()
isColor
public boolean isColor(String text,
int startIdx)
Copyright © 2012. All Rights Reserved.