|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.application.sysmodule.css.E4CSS.Value
e4s.application.sysmodule.css.E4CSS.Value.LENGTH
protected static final class E4CSS.Value.LENGTH
Representation of all possible length values.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class e4s.application.sysmodule.css.E4CSS.Value |
|---|
E4CSS.Value.LENGTH |
| Field Summary | |
|---|---|
static E4CSS.Value.LENGTH |
ABS_FLOAT
|
static E4CSS.Value.LENGTH |
ABS_FLOAT_POSITIVE
|
static E4CSS.Value.LENGTH |
ABS_INT
|
static E4CSS.Value.LENGTH |
ABS_INT_POSITIVE
|
static E4CSS.Value.LENGTH |
FLOAT
|
static E4CSS.Value.LENGTH |
FLOAT_POSITIVE
|
static E4CSS.Value.LENGTH |
INT
|
static E4CSS.Value.LENGTH |
INT_POSITIVE
|
static E4CSS.Value.LENGTH |
REL_FLOAT
|
static E4CSS.Value.LENGTH |
REL_FLOAT_POSITIVE
|
static E4CSS.Value.LENGTH |
REL_INT
|
static E4CSS.Value.LENGTH |
REL_INT_POSITIVE
|
static int |
TYPE_ABSOLUTE_OR_RELATIVE
|
| Constructor Summary | |
|---|---|
protected |
E4CSS.Value.LENGTH(java.lang.String name,
int status,
boolean canBeFloat,
boolean canBeNegative,
int type,
java.lang.String example)
Constructor for LENGTH values. |
| Method Summary | |
|---|---|
protected boolean |
canBeFloat()
Determine if the value can be a float or only an integer. |
protected boolean |
canBeNegative()
Determine whether the value can be only positive or negative as well. |
static E4CSS.Value.LENGTH[] |
getallVariants()
Get all different implementations. |
protected int |
getStatus()
Get status concerning absolute or relative length. |
E4CSS.Value |
parseValue(java.lang.String text)
Match a given String against the possible syntax. |
| Methods inherited from class e4s.application.sysmodule.css.E4CSS.Value |
|---|
getExampleSyntax, getName, getText, getType, isKeyword, isValid, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_ABSOLUTE_OR_RELATIVE
public static final E4CSS.Value.LENGTH FLOAT
public static final E4CSS.Value.LENGTH FLOAT_POSITIVE
public static final E4CSS.Value.LENGTH INT
public static final E4CSS.Value.LENGTH INT_POSITIVE
public static final E4CSS.Value.LENGTH ABS_FLOAT
public static final E4CSS.Value.LENGTH ABS_FLOAT_POSITIVE
public static final E4CSS.Value.LENGTH ABS_INT
public static final E4CSS.Value.LENGTH ABS_INT_POSITIVE
public static final E4CSS.Value.LENGTH REL_FLOAT
public static final E4CSS.Value.LENGTH REL_FLOAT_POSITIVE
public static final E4CSS.Value.LENGTH REL_INT
public static final E4CSS.Value.LENGTH REL_INT_POSITIVE
| Constructor Detail |
|---|
protected E4CSS.Value.LENGTH(java.lang.String name,
int status,
boolean canBeFloat,
boolean canBeNegative,
int type,
java.lang.String example)
name - descriptive String of value.status - concerning absolute or relative length.canBeFloat - to distinguish between integer and float.canBeNegative - to retrieve positive values.type - distinguishes different length types.example - typical syntax.| Method Detail |
|---|
protected int getStatus()
protected boolean canBeNegative()
protected boolean canBeFloat()
public static E4CSS.Value.LENGTH[] getallVariants()
public E4CSS.Value parseValue(java.lang.String text)
throws E4CSS.ParserException,
java.lang.Exception
parseValue in class E4CSS.Valuetext - String to match.
E4CSS.ParserException - thrown if the String does not match.
Exception.
java.lang.Exception
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||