| Package | Description |
|---|---|
| cz.vutbr.web.css | |
| cz.vutbr.web.csskit | |
| cz.vutbr.web.csskit.antlr4 | |
| cz.vutbr.web.csskit.fn | |
| cz.vutbr.web.domassign |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TermAngle |
interface |
TermBracketedIdents
Represents a list of identifiers in square brackets (e.g. in grid-template)
|
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
|
static interface |
TermFunction.Attr |
static interface |
TermFunction.Blur |
static interface |
TermFunction.Brightness |
static interface |
TermFunction.Contrast |
static interface |
TermFunction.Counter |
static interface |
TermFunction.CounterFunction |
static interface |
TermFunction.Counters |
static interface |
TermFunction.CubicBezier |
static interface |
TermFunction.DropShadow |
static interface |
TermFunction.FilterFunction |
static interface |
TermFunction.FitContent |
static interface |
TermFunction.Frames |
static interface |
TermFunction.Gradient |
static interface |
TermFunction.Grayscale |
static interface |
TermFunction.GridFunction |
static interface |
TermFunction.HueRotate |
static interface |
TermFunction.Invert |
static interface |
TermFunction.LinearGradient |
static interface |
TermFunction.Matrix |
static interface |
TermFunction.Matrix3d |
static interface |
TermFunction.MinMax |
static interface |
TermFunction.Opacity |
static interface |
TermFunction.Perspective |
static interface |
TermFunction.RadialGradient |
static interface |
TermFunction.Repeat |
static interface |
TermFunction.Rotate |
static interface |
TermFunction.Rotate3d |
static interface |
TermFunction.RotateX |
static interface |
TermFunction.RotateY |
static interface |
TermFunction.RotateZ |
static interface |
TermFunction.Saturate |
static interface |
TermFunction.Scale |
static interface |
TermFunction.Scale3d |
static interface |
TermFunction.ScaleX |
static interface |
TermFunction.ScaleY |
static interface |
TermFunction.ScaleZ |
static interface |
TermFunction.Sepia |
static interface |
TermFunction.Skew |
static interface |
TermFunction.SkewX |
static interface |
TermFunction.SkewY |
static interface |
TermFunction.Steps |
static interface |
TermFunction.TimingFunction |
static interface |
TermFunction.TransformFunction |
static interface |
TermFunction.Translate |
static interface |
TermFunction.Translate3d |
static interface |
TermFunction.TranslateX |
static interface |
TermFunction.TranslateY |
static interface |
TermFunction.TranslateZ |
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<Term<?>> |
TermFunction.Repeat.getRepeatedTerms() |
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) |
TermFunction |
TermFactory.createFunction(String name,
List<Term<?>> args) |
| Modifier and Type | Class and Description |
|---|---|
class |
TermAngleImpl |
class |
TermBracketedIdentsImpl |
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) |
protected TermAngle |
TermFunctionImpl.getAngleArg(Term<?> term) |
protected TermLength |
TermFunctionImpl.getLengthArg(Term<?> term) |
protected TermLengthOrPercent |
TermFunctionImpl.getLengthOrPercentArg(Term<?> term) |
protected float |
TermFunctionImpl.getNumberArg(Term<?> term) |
List<List<Term<?>>> |
TermFunctionImpl.getSeparatedArgs(Term<?> separator) |
List<Term<?>> |
TermFunctionImpl.getSeparatedValues(Term<?> separator,
boolean allowKeywords) |
protected boolean |
TermFunctionImpl.isNumberArg(Term<?> term) |
protected boolean |
TermFunctionImpl.prependMinus(Term<?> term) |
| Modifier and Type | Method and Description |
|---|---|
static StringBuilder |
OutputUtil.appendFunctionArgs(StringBuilder sb,
List<Term<?>> list)
Appends the formatted list of function arguments to a string builder.
|
protected TermAngle |
TermFunctionImpl.convertSideOrCorner(List<Term<?>> aarg) |
TermCalc |
TermFactoryImpl.createCalc(List<Term<?>> args) |
TermFunction |
TermFactoryImpl.createFunction(String name,
List<Term<?>> args) |
protected TermFunction |
TermFactoryImpl.createFunctionByName(String name,
List<Term<?>> args) |
boolean |
DeclarationTransformer.parseDeclaration(Declaration d,
Map<String,CSSProperty> properties,
Map<String,Term<?>> values) |
protected void |
CalcArgs.scanArguments(List<Term<?>> args) |
TermList |
TermFunctionImpl.setValue(List<Term<?>> value) |
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 | Method and Description |
|---|---|
List<Term<?>> |
RepeatImpl.getRepeatedTerms() |
| Modifier and Type | Method and Description |
|---|---|
protected List<TermFunction.Gradient.ColorStop> |
GenericGradient.decodeColorStops(List<List<Term<?>>> args,
int firstStop)
Loads the color stops from the gunction arguments.
|
protected void |
GenericGradient.loadColorStops(List<List<Term<?>>> args,
int firstStop) |
TermList |
GenericFilterFunction.setValue(List<Term<?>> value) |
TermList |
ScaleZImpl.setValue(List<Term<?>> value) |
TermList |
ScaleImpl.setValue(List<Term<?>> value) |
TermList |
RotateXImpl.setValue(List<Term<?>> value) |
TermList |
ScaleYImpl.setValue(List<Term<?>> value) |
TermList |
RotateZImpl.setValue(List<Term<?>> value) |
TermList |
TranslateYImpl.setValue(List<Term<?>> value) |
TermList |
CounterImpl.setValue(List<Term<?>> value) |
TermList |
CountersImpl.setValue(List<Term<?>> value) |
TermList |
Rotate3dImpl.setValue(List<Term<?>> value) |
TermList |
GenericRadialGradient.setValue(List<Term<?>> value) |
TermList |
FitContentImpl.setValue(List<Term<?>> value) |
TermList |
AttrImpl.setValue(List<Term<?>> value) |
TermList |
SkewYImpl.setValue(List<Term<?>> value) |
TermList |
FramesImpl.setValue(List<Term<?>> value) |
TermList |
MatrixImpl.setValue(List<Term<?>> value) |
TermList |
Matrix3dImpl.setValue(List<Term<?>> value) |
TermList |
ScaleXImpl.setValue(List<Term<?>> value) |
TermList |
TranslateImpl.setValue(List<Term<?>> value) |
TermList |
RepeatImpl.setValue(List<Term<?>> value) |
TermList |
TranslateZImpl.setValue(List<Term<?>> value) |
TermList |
StepsImpl.setValue(List<Term<?>> value) |
TermList |
MinMaxImpl.setValue(List<Term<?>> value) |
TermList |
TranslateXImpl.setValue(List<Term<?>> value) |
TermList |
RotateYImpl.setValue(List<Term<?>> value) |
TermList |
CubicBezierImpl.setValue(List<Term<?>> value) |
TermList |
DropShadowImpl.setValue(List<Term<?>> value) |
TermList |
GenericLinearGradient.setValue(List<Term<?>> value) |
TermList |
RotateImpl.setValue(List<Term<?>> value) |
TermList |
SkewXImpl.setValue(List<Term<?>> value) |
TermList |
BlurImpl.setValue(List<Term<?>> value) |
TermList |
Translate3dImpl.setValue(List<Term<?>> value) |
TermList |
SkewImpl.setValue(List<Term<?>> value) |
TermList |
HueRotateImpl.setValue(List<Term<?>> value) |
TermList |
Scale3dImpl.setValue(List<Term<?>> value) |
TermList |
PerspectiveImpl.setValue(List<Term<?>> value) |
| 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<?>> |
QuadrupleMapNodeData.getValue(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,
boolean includeInherited) |
<T extends Term<?>> |
SingleMapNodeData.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<?> |
QuadrupleMapNodeData.getValue(String name,
boolean includeInherited) |
Term<?> |
SingleMapNodeData.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 CSSProperty> |
DeclarationTransformerImpl.genericTime(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 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 © 2019. All rights reserved.