@ApplicationScoped public class CSSGlobalStyle extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CSSGlobalStyle.GridVariables |
| Constructor and Description |
|---|
CSSGlobalStyle() |
| Modifier and Type | Method and Description |
|---|---|
Number |
getGridVariableValue(CSSGlobalStyle.GridVariables variable) |
void |
setGridVariable(CSSGlobalStyle.GridVariables variable,
Number value) |
void |
setRootElement(String className,
elemental2.dom.HTMLElement root) |
double |
toGridUnits(double screenPixels) |
double |
toScreenPixels(double gridUnits) |
public void setRootElement(String className, elemental2.dom.HTMLElement root)
public void setGridVariable(CSSGlobalStyle.GridVariables variable, Number value)
public Number getGridVariableValue(CSSGlobalStyle.GridVariables variable)
public double toGridUnits(double screenPixels)
public double toScreenPixels(double gridUnits)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.