public abstract static class Style.Builder<T extends Style.Builder<T>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
backgroundColor |
protected java.lang.Double |
height |
protected LengthUnit |
heightUnit |
protected java.lang.Double |
marginBottom |
protected java.lang.Double |
marginLeft |
protected java.lang.Double |
marginRight |
protected java.lang.Double |
marginTop |
protected LengthUnit |
marginUnit |
protected java.lang.Double |
width |
protected LengthUnit |
widthUnit |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
backgroundColor(java.awt.Color color) |
T |
backgroundColor(java.lang.String color) |
T |
height(double height,
LengthUnit heightUnit) |
T |
margin(LengthUnit unit,
java.lang.Double marginTop,
java.lang.Double marginBottom,
java.lang.Double marginLeft,
java.lang.Double marginRight) |
T |
margin(LengthUnit unit,
java.lang.Integer marginTop,
java.lang.Integer marginBottom,
java.lang.Integer marginLeft,
java.lang.Integer marginRight) |
T |
width(double width,
LengthUnit widthUnit) |
protected java.lang.Double width
protected java.lang.Double height
protected LengthUnit widthUnit
protected LengthUnit heightUnit
protected LengthUnit marginUnit
protected java.lang.Double marginTop
protected java.lang.Double marginBottom
protected java.lang.Double marginLeft
protected java.lang.Double marginRight
protected java.lang.String backgroundColor
public T width(double width, LengthUnit widthUnit)
public T height(double height, LengthUnit heightUnit)
public T margin(LengthUnit unit, java.lang.Integer marginTop, java.lang.Integer marginBottom, java.lang.Integer marginLeft, java.lang.Integer marginRight)
public T margin(LengthUnit unit, java.lang.Double marginTop, java.lang.Double marginBottom, java.lang.Double marginLeft, java.lang.Double marginRight)
public T backgroundColor(java.awt.Color color)
public T backgroundColor(java.lang.String color)