|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metaweb.lessen.tokens.Token
com.metaweb.lessen.tokens.Color
public abstract class Color
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.metaweb.lessen.tokens.Token |
|---|
Token.Type |
| Field Summary |
|---|
| Fields inherited from class com.metaweb.lessen.tokens.Token |
|---|
end, start, text, type |
| Constructor Summary | |
|---|---|
protected |
Color(int start,
int end,
String text)
|
| Method Summary | |
|---|---|
abstract int |
getA()
|
abstract int |
getB()
|
abstract int |
getG()
|
abstract int |
getR()
|
protected int |
limitComponent(int n)
|
protected String |
numberToHex(int n)
|
Color |
performOperation(String op,
Color color)
|
Color |
performOperation(String op,
Number n)
|
| Methods inherited from class com.metaweb.lessen.tokens.Token |
|---|
getCleanText, toString, typeToString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Color(int start,
int end,
String text)
| Method Detail |
|---|
public abstract int getR()
public abstract int getG()
public abstract int getB()
public abstract int getA()
public Color performOperation(String op,
Color color)
public Color performOperation(String op,
Number n)
protected String numberToHex(int n)
protected int limitComponent(int n)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||