java.lang.Object
org.jhotdraw8.css.function.AbstractCssFunction<T>
org.jhotdraw8.css.function.AbstractStringCssFunction<T>
org.jhotdraw8.css.function.ConcatCssFunction<T>
- Type Parameters:
T- the element type of the DOM
- All Implemented Interfaces:
CssFunction<T>
Processes the concat() function.
concat = "concat(", string-list, ")" ;
string-list = value , { [ ',' ] , value } ;
value = string | number | dimension | percentage | url ;
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets localized help text about this function.voidprocess(@NonNull T element, @NonNull CssTokenizer tt, @NonNull SelectorModel<T> model, @NonNull CssFunctionProcessor<T> functionProcessor, @NonNull Consumer<CssToken> out, Deque<CssFunction<T>> recursionStack) Processes the function.Methods inherited from class org.jhotdraw8.css.function.AbstractStringCssFunction
evalStringMethods inherited from class org.jhotdraw8.css.function.AbstractCssFunction
getName
-
Field Details
-
NAME
Function name.- See Also:
-
-
Constructor Details
-
ConcatCssFunction
public ConcatCssFunction() -
ConcatCssFunction
-
-
Method Details
-
getHelpText
Description copied from interface:CssFunctionGets localized help text about this function.- Returns:
- localized help text
-
process
public void process(@NonNull T element, @NonNull CssTokenizer tt, @NonNull SelectorModel<T> model, @NonNull CssFunctionProcessor<T> functionProcessor, @NonNull Consumer<CssToken> out, Deque<CssFunction<T>> recursionStack) throws IOException, ParseException Description copied from interface:CssFunctionProcesses the function.- Parameters:
element- the DOM elementtt- the tokenizer providing the unprocessed tokensmodel- the selector modelfunctionProcessor- the function processorout- the consumer for the processed tokensrecursionStack- the recursion stack- Throws:
IOException- on IO failureParseException- on parsing failure
-