| Package | Description |
|---|---|
| cz.vutbr.web.css | |
| cz.vutbr.web.csskit | |
| cz.vutbr.web.csskit.antlr4 | |
| cz.vutbr.web.domassign |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TermAngle |
interface |
TermCalc
A value of the calc() expression.
|
interface |
TermColor
Holds color value directly usable in Java.
|
interface |
TermExpression
Holds an expression() value
|
interface |
TermFloatValue
A basic interface of any term type with the float value.
|
interface |
TermFrequency
Holds frequency term
|
interface |
TermFunction
Holds name of CSS function and terms stored inside
|
interface |
TermIdent
Holds CSS identificator
|
interface |
TermInteger
Holds integer value
|
interface |
TermLength
Holds float value with associated units (CSS length)
|
interface |
TermLengthOrPercent
Holds a float number which is either a CSS length or percentage.
|
interface |
TermList
Holds list of terms and allows access to them as to collection
|
interface |
TermNumber
Holds numeric value where units are not allowed
|
interface |
TermNumeric<T extends Number>
Holds value of numeric type.
|
interface |
TermOperator
An operator used in function arguments.
|
interface |
TermPair<K,V> |
interface |
TermPercent
Holds numeric value which is of type of percent
|
interface |
TermRect
A term that represents a rect(a, b, c, d) value used in clip: properties.
|
interface |
TermResolution
A term representing a resolution.
|
interface |
TermString
Holds string value
|
interface |
TermTime
Holds CSS time value
|
interface |
TermUnicodeRange |
interface |
TermURI
Holds CSS URI value
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Term<?>> |
NodeData.getSpecifiedValue(Class<T> clazz,
String name)
Returns the specified value of a property which corresponds to the
cascaded value (obtained by
NodeData.getValue(String, boolean)) with
applying the defaulting processes. |
<T extends Term<?>> |
NodeData.getValue(Class<T> clazz,
String name)
Returns the cascaded value of property of given name and supposed type.
|
<T extends Term<?>> |
NodeData.getValue(Class<T> clazz,
String name,
boolean includeInherited)
Returns the cascaded value of property of given name and supposed type.
|
| Modifier and Type | Method and Description |
|---|---|
<V> Term<V> |
TermFactory.createTerm(V value) |
Term<?> |
SupportedCSS.getDefaultValue(String propertyName)
Some CSSProperties have even additional values.
|
Term<?> |
NodeData.getSpecifiedValue(String name)
Returns the specified value of a property which corresponds to the
cascaded value (obtained by
NodeData.getValue(String, boolean)) with
applying the defaulting processes. |
Term<?> |
NodeData.getValue(String name,
boolean includeInherited)
Returns the cascaded value of property of given name.
|
Term<T> |
Term.setOperator(Term.Operator operator)
Sets operator
|
Term<T> |
Term.setValue(T value)
Setter for value
|
Term<T> |
Term.shallowClone() |
| Modifier and Type | Method and Description |
|---|---|
List<List<Term<?>>> |
TermFunction.getSeparatedArgs(Term<?> separator)
Splits the list of arguments to several lists based on the given separator term.
|
List<Term<?>> |
TermFunction.getSeparatedValues(Term<?> separator,
boolean allowKeywords)
Splits the list of arguments using the given separator term and tries to convert the
arguments to typed values (lengths, times, numbers, etc...)
|
List<Term<?>> |
TermFunction.getValues(boolean allowKeywords)
Tries to convert the terms to a list of typed values (lengths, times, numbers, etc...).
|
| Modifier and Type | Method and Description |
|---|---|
List<List<Term<?>>> |
TermFunction.getSeparatedArgs(Term<?> separator)
Splits the list of arguments to several lists based on the given separator term.
|
List<Term<?>> |
TermFunction.getSeparatedValues(Term<?> separator,
boolean allowKeywords)
Splits the list of arguments using the given separator term and tries to convert the
arguments to typed values (lengths, times, numbers, etc...)
|
| Modifier and Type | Method and Description |
|---|---|
TermCalc |
TermFactory.createCalc(List<Term<?>> args) |
| Modifier and Type | Class and Description |
|---|---|
class |
TermAngleImpl |
class |
TermCalcAngleImpl |
class |
TermCalcFrequencyImpl |
class |
TermCalcIntegerImpl |
class |
TermCalcLengthImpl |
class |
TermCalcNumberImpl |
class |
TermCalcResolutionImpl |
class |
TermCalcTimeImpl |
class |
TermColorImpl
TermColor implementation that represents a color defined by a standard color
specification without usign special keywords.
|
class |
TermColorKeywordImpl
A TermColor implementation that represents a color created using a special
keyword.
|
class |
TermExpressionImpl
TermExpression
|
class |
TermFloatValueImpl |
class |
TermFrequencyImpl |
class |
TermFunctionImpl
TermFunction, holds function
|
class |
TermIdentImpl
TermIdent
|
class |
TermImpl<T>
Term
|
class |
TermIntegerImpl |
class |
TermLengthImpl |
class |
TermListImpl |
class |
TermNumberImpl
TermIdent
|
class |
TermNumericImpl<T extends Number> |
class |
TermOperatorImpl |
class |
TermPairImpl<K,V> |
class |
TermPercentImpl
TermPercent
|
class |
TermRectImpl |
class |
TermResolutionImpl |
class |
TermStringImpl
TermString
|
class |
TermTimeImpl |
class |
TermUnicodeRangeImpl |
class |
TermURIImpl
TermURIImpl
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Term<?>> |
TermListImpl.value |
| Modifier and Type | Method and Description |
|---|---|
<V> Term<V> |
TermFactoryImpl.createTerm(V value) |
Term<?> |
TermListImpl.get(int arg0) |
Term<?> |
TermListImpl.remove(int index) |
Term<T> |
TermImpl.setOperator(Term.Operator operator) |
Term<Float> |
TermFloatValueImpl.setValue(Float value) |
Term<T> |
TermImpl.setValue(T value) |
Term<T> |
TermImpl.shallowClone() |
| Modifier and Type | Method and Description |
|---|---|
List<List<Term<?>>> |
TermFunctionImpl.getSeparatedArgs(Term<?> separator) |
List<Term<?>> |
TermFunctionImpl.getSeparatedValues(Term<?> separator,
boolean allowKeywords) |
List<Term<?>> |
TermListImpl.getValue() |
List<Term<?>> |
TermFunctionImpl.getValues(boolean allowKeywords) |
Iterator<Term<?>> |
TermListImpl.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
TermListImpl.add(int index,
Term<?> element) |
boolean |
TermListImpl.add(Term<?> o) |
List<List<Term<?>>> |
TermFunctionImpl.getSeparatedArgs(Term<?> separator) |
List<Term<?>> |
TermFunctionImpl.getSeparatedValues(Term<?> separator,
boolean allowKeywords) |
| Modifier and Type | Method and Description |
|---|---|
TermCalc |
TermFactoryImpl.createCalc(List<Term<?>> args) |
boolean |
DeclarationTransformer.parseDeclaration(Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected void |
CalcArgs.scanArguments(List<Term<?>> args) |
TermList |
TermListImpl.setValue(List<Term<?>> value) |
| Constructor and Description |
|---|
CalcArgs(List<Term<?>> terms) |
| Modifier and Type | Method and Description |
|---|---|
List<Term<?>> |
CSSParserVisitorImpl.visitFunct_args(CSSParser.Funct_argsContext ctx) |
List<Term<?>> |
CSSParserVisitorImpl.visitTerms(CSSParser.TermsContext ctx) |
| Modifier and Type | Field and Description |
|---|---|
protected List<Term<?>> |
Repeater.terms
Terms over which operation is repeated
|
protected List<Term<?>> |
Variator.terms
Terms over which variants are tested
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Term<?>> |
BaseNodeDataImpl.getSpecifiedValue(Class<T> clazz,
String name) |
<T extends Term<?>> |
SingleMapNodeData.getValue(Class<T> clazz,
String name) |
<T extends Term<?>> |
QuadrupleMapNodeData.getValue(Class<T> clazz,
String name) |
<T extends Term<?>> |
SingleMapNodeData.getValue(Class<T> clazz,
String name,
boolean includeInherited) |
<T extends Term<?>> |
QuadrupleMapNodeData.getValue(Class<T> clazz,
String name,
boolean includeInherited) |
| Modifier and Type | Method and Description |
|---|---|
Term<?> |
SupportedCSS3.getDefaultValue(String property) |
Term<?> |
BaseNodeDataImpl.getSpecifiedValue(String name) |
Term<?> |
SingleMapNodeData.getValue(String name,
boolean includeInherited) |
Term<?> |
QuadrupleMapNodeData.getValue(String name,
boolean includeInherited) |
| Modifier and Type | Method and Description |
|---|---|
void |
Repeater.assignTerms(Term<?>... terms)
Assigns terms to repeater
|
void |
Variator.assignTerms(Term<?>... terms)
Assigns terms to be checked by variator
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericTerm(Class<? extends Term<?>> termType,
Term<?> term,
String propertyName,
T typeIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Check whether given declaration contains one term of given type.
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericTermColor(Term<?> term,
String propertyName,
T colorIdentification,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Converts term into Color and stored values and types in maps
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericTermIdent(Class<T> type,
Term<?> term,
boolean avoidInherit,
String propertyName,
Map<String,CSSProperty> properties)
Converts TermIdent into value of CSSProperty for given class
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericTermLength(Term<?> term,
String propertyName,
T lengthIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Converts term into TermLength and stores values and types in maps
|
protected boolean |
Variator.checkInherit(int variant,
Term<?> term,
Map<String,CSSProperty> properties)
Solves variant which leads to
inherit CSS Property value. |
boolean |
Variator.tryMultiTermVariant(int variant,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values,
Term<?>... terms)
Uses variator functionality to test selected variant on more terms.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Repeater.assignDefaults(Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Assigns the default values to all the properties.
|
void |
Variator.assignDefaults(Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Assigns the default values to all the properties.
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericInteger(Class<T> type,
T integerIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericIntegerOrLength(Class<T> type,
T integerIdentification,
T lengthIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericOneIdentOrColor(Class<T> type,
T colorIdentification,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Processes declaration which is supposed to contain one identification
term or one TermColor
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericOneIdentOrInteger(Class<T> type,
T integerIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericOneIdentOrIntegerOrNumber(Class<T> type,
T integerIdentification,
T numberIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericOneIdentOrLength(Class<T> type,
T lengthIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends Enum<T> & CSSProperty> |
DeclarationTransformerImpl.genericOneIdentOrLengthOrPercent(Class<T> type,
T lengthIdentification,
T percentIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericTerm(Class<? extends Term<?>> termType,
Term<?> term,
String propertyName,
T typeIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Check whether given declaration contains one term of given type.
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericTerm(Class<? extends Term<?>> termType,
Term<?> term,
String propertyName,
T typeIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Check whether given declaration contains one term of given type.
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericTermColor(Term<?> term,
String propertyName,
T colorIdentification,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Converts term into Color and stored values and types in maps
|
protected <T extends CSSProperty> |
DeclarationTransformerImpl.genericTermLength(Term<?> term,
String propertyName,
T lengthIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Converts term into TermLength and stores values and types in maps
|
protected <T extends Enum<T> & CSSProperty> |
DeclarationTransformerImpl.genericTwoIdentsOrLengthsOrPercents(Class<T> type,
T listIdentification,
cz.vutbr.web.domassign.DeclarationTransformerImpl.ValueRange range,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected abstract boolean |
Repeater.operation(int iteration,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Repeating operation
|
boolean |
DeclarationTransformerImpl.parseDeclaration(Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Core function.
|
boolean |
Repeater.repeat(Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Repeats operations on terms
|
boolean |
Repeater.repeatOverFourTermDeclaration(Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Construct terms array to be used by repeated object from available terms
(in size 1 to 4) according to CSS rules.
|
boolean |
Variator.tryMultiTermVariant(int variant,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values,
Term<?>... terms)
Uses variator functionality to test selected variant on more terms.
|
boolean |
Variator.tryOneTermVariant(int variant,
Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Uses variator functionality to test selected variant on term
|
protected abstract boolean |
Variator.variant(int variant,
Variator.IntegerRef iteration,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
This function contains parsing block for variants
|
boolean |
Variator.vary(Map<String,CSSProperty> properties,
Map<String,Term<?>> values)
Test all terms
|
Copyright © 2018. All rights reserved.