Package io.keikai.model.impl
Class BorderBuilderImpl
- java.lang.Object
-
- io.keikai.model.impl.BorderBuilderImpl
-
- All Implemented Interfaces:
SBorderBuilder
,StyleBuilder<SBorder>
public class BorderBuilderImpl extends Object implements SBorderBuilder
-
-
Constructor Summary
Constructors Constructor Description BorderBuilderImpl(BookImpl bookImpl, SBorder src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SBorderBuilder
borderBottom(SBorder.BorderType type)
SBorderBuilder
borderBottomColor(String color)
SBorderBuilder
borderDiagonal(SBorder.BorderType type)
SBorderBuilder
borderDiagonalColor(String color)
SBorderBuilder
borderHorizontal(SBorder.BorderType type)
SBorderBuilder
borderHorizontalColor(String color)
SBorderBuilder
borderLeft(SBorder.BorderType type)
SBorderBuilder
borderLeftColor(String color)
SBorderBuilder
borderRight(SBorder.BorderType type)
SBorderBuilder
borderRightColor(String color)
SBorderBuilder
borderTop(SBorder.BorderType type)
SBorderBuilder
borderTopColor(String color)
SBorderBuilder
borderVertical(SBorder.BorderType type)
SBorderBuilder
borderVerticalColor(String color)
SBorder
build()
SBorderBuilder
showDiagonalDownBorder(boolean show)
SBorderBuilder
showDiagonalUpBorder(boolean show)
-
-
-
Method Detail
-
build
public SBorder build()
- Specified by:
build
in interfaceStyleBuilder<SBorder>
-
borderLeft
public SBorderBuilder borderLeft(SBorder.BorderType type)
- Specified by:
borderLeft
in interfaceSBorderBuilder
-
borderLeftColor
public SBorderBuilder borderLeftColor(String color)
- Specified by:
borderLeftColor
in interfaceSBorderBuilder
-
borderTop
public SBorderBuilder borderTop(SBorder.BorderType type)
- Specified by:
borderTop
in interfaceSBorderBuilder
-
borderTopColor
public SBorderBuilder borderTopColor(String color)
- Specified by:
borderTopColor
in interfaceSBorderBuilder
-
borderRight
public SBorderBuilder borderRight(SBorder.BorderType type)
- Specified by:
borderRight
in interfaceSBorderBuilder
-
borderRightColor
public SBorderBuilder borderRightColor(String color)
- Specified by:
borderRightColor
in interfaceSBorderBuilder
-
borderBottom
public SBorderBuilder borderBottom(SBorder.BorderType type)
- Specified by:
borderBottom
in interfaceSBorderBuilder
-
borderBottomColor
public SBorderBuilder borderBottomColor(String color)
- Specified by:
borderBottomColor
in interfaceSBorderBuilder
-
borderVertical
public SBorderBuilder borderVertical(SBorder.BorderType type)
- Specified by:
borderVertical
in interfaceSBorderBuilder
-
borderVerticalColor
public SBorderBuilder borderVerticalColor(String color)
- Specified by:
borderVerticalColor
in interfaceSBorderBuilder
-
borderHorizontal
public SBorderBuilder borderHorizontal(SBorder.BorderType type)
- Specified by:
borderHorizontal
in interfaceSBorderBuilder
-
borderHorizontalColor
public SBorderBuilder borderHorizontalColor(String color)
- Specified by:
borderHorizontalColor
in interfaceSBorderBuilder
-
borderDiagonal
public SBorderBuilder borderDiagonal(SBorder.BorderType type)
- Specified by:
borderDiagonal
in interfaceSBorderBuilder
-
borderDiagonalColor
public SBorderBuilder borderDiagonalColor(String color)
- Specified by:
borderDiagonalColor
in interfaceSBorderBuilder
-
showDiagonalUpBorder
public SBorderBuilder showDiagonalUpBorder(boolean show)
- Specified by:
showDiagonalUpBorder
in interfaceSBorderBuilder
-
showDiagonalDownBorder
public SBorderBuilder showDiagonalDownBorder(boolean show)
- Specified by:
showDiagonalDownBorder
in interfaceSBorderBuilder
-
-