Package org.patternfly.layout
Class Variable
- java.lang.Object
-
- org.patternfly.layout.Variable
-
public class Variable extends Object
Provides methods to build and apply PatternFly global and component variables.
-
-
Field Summary
Fields Modifier and Type Field Description StringnameVariableScopescope
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTo(HTMLElement element, int value)voidapplyTo(HTMLElement element, String value)<E extends HTMLElement,B extends TypedBuilder<E,B>>
BapplyTo(HasHTMLElement<E,B> element, int value)<E extends HTMLElement,B extends TypedBuilder<E,B>>
BapplyTo(HasHTMLElement<E,B> element, String value)<E extends org.jboss.elemento.svg.SVGElement,B extends TypedBuilder<E,B>>
BapplyTo(org.jboss.elemento.svg.HasSVGElement<E,B> element, int value)<E extends org.jboss.elemento.svg.SVGElement,B extends TypedBuilder<E,B>>
BapplyTo(org.jboss.elemento.svg.HasSVGElement<E,B> element, String value)static VariablecomponentVar(String component, String... elements)static VariableglobalVar(String firstElement, String... otherElements)
-
-
-
Field Detail
-
scope
public final VariableScope scope
-
name
public final String name
-
-
Method Detail
-
applyTo
public <E extends HTMLElement,B extends TypedBuilder<E,B>> B applyTo(HasHTMLElement<E,B> element, int value)
-
applyTo
public <E extends HTMLElement,B extends TypedBuilder<E,B>> B applyTo(HasHTMLElement<E,B> element, String value)
-
applyTo
public <E extends org.jboss.elemento.svg.SVGElement,B extends TypedBuilder<E,B>> B applyTo(org.jboss.elemento.svg.HasSVGElement<E,B> element, int value)
-
applyTo
public <E extends org.jboss.elemento.svg.SVGElement,B extends TypedBuilder<E,B>> B applyTo(org.jboss.elemento.svg.HasSVGElement<E,B> element, String value)
-
applyTo
public void applyTo(HTMLElement element, int value)
-
applyTo
public void applyTo(HTMLElement element, String value)
-
-