Package org.deeplearning4j.ui.api
Class Style.Builder<T extends Style.Builder<T>>
- java.lang.Object
-
- org.deeplearning4j.ui.api.Style.Builder<T>
-
- Direct Known Subclasses:
StyleAccordion.Builder,StyleChart.Builder,StyleDiv.Builder,StyleTable.Builder,StyleText.Builder
- Enclosing class:
- Style
public abstract static class Style.Builder<T extends Style.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbackgroundColorprotected Doubleheightprotected LengthUnitheightUnitprotected DoublemarginBottomprotected DoublemarginLeftprotected DoublemarginRightprotected DoublemarginTopprotected LengthUnitmarginUnitprotected Doublewidthprotected LengthUnitwidthUnit
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TbackgroundColor(Color color)TbackgroundColor(String color)Theight(double height, LengthUnit heightUnit)Tmargin(LengthUnit unit, Double marginTop, Double marginBottom, Double marginLeft, Double marginRight)Tmargin(LengthUnit unit, Integer marginTop, Integer marginBottom, Integer marginLeft, Integer marginRight)Twidth(double width, LengthUnit widthUnit)
-
-
-
Field Detail
-
width
protected Double width
-
height
protected Double height
-
widthUnit
protected LengthUnit widthUnit
-
heightUnit
protected LengthUnit heightUnit
-
marginUnit
protected LengthUnit marginUnit
-
marginTop
protected Double marginTop
-
marginBottom
protected Double marginBottom
-
marginLeft
protected Double marginLeft
-
marginRight
protected Double marginRight
-
backgroundColor
protected String backgroundColor
-
-
Method Detail
-
width
public T width(double width, LengthUnit widthUnit)
-
height
public T height(double height, LengthUnit heightUnit)
-
margin
public T margin(LengthUnit unit, Integer marginTop, Integer marginBottom, Integer marginLeft, Integer marginRight)
-
margin
public T margin(LengthUnit unit, Double marginTop, Double marginBottom, Double marginLeft, Double marginRight)
-
-