Package io.keikai.model.impl
Class ImmutableBorderImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractBorderAdv
-
- io.keikai.model.impl.ImmutableBorderImpl
-
- All Implemented Interfaces:
SBorder
,Serializable
public class ImmutableBorderImpl extends AbstractBorderAdv
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.model.SBorder
SBorder.BorderType
-
-
Constructor Summary
Constructors Constructor Description ImmutableBorderImpl(SBorderLine left, SBorderLine top, SBorderLine right, SBorderLine bottom, SBorderLine diagonal, SBorderLine vertical, SBorderLine horizontal)
-
Method Summary
-
-
-
Constructor Detail
-
ImmutableBorderImpl
public ImmutableBorderImpl(SBorderLine left, SBorderLine top, SBorderLine right, SBorderLine bottom, SBorderLine diagonal, SBorderLine vertical, SBorderLine horizontal)
-
-
Method Detail
-
getBorderLeft
public SBorder.BorderType getBorderLeft()
- Returns:
- left border
-
setBorderLeft
public void setBorderLeft(SBorder.BorderType type)
-
getBorderTop
public SBorder.BorderType getBorderTop()
- Returns:
- top border
-
setBorderTop
public void setBorderTop(SBorder.BorderType type)
-
getBorderRight
public SBorder.BorderType getBorderRight()
- Returns:
- right border
-
setBorderRight
public void setBorderRight(SBorder.BorderType type)
-
getBorderBottom
public SBorder.BorderType getBorderBottom()
- Returns:
- bottom border
-
setBorderBottom
public void setBorderBottom(SBorder.BorderType type)
-
getBorderVertical
public SBorder.BorderType getBorderVertical()
- Returns:
- vertical border
-
setBorderVertical
public void setBorderVertical(SBorder.BorderType type)
-
getBorderHorizontal
public SBorder.BorderType getBorderHorizontal()
- Returns:
- horizontal border
-
setBorderHorizontal
public void setBorderHorizontal(SBorder.BorderType type)
-
getBorderDiagonal
public SBorder.BorderType getBorderDiagonal()
- Returns:
- diagonal border
-
setBorderDiagonal
public void setBorderDiagonal(SBorder.BorderType type)
-
getBorderTopColor
public SColor getBorderTopColor()
- Returns:
- top border color
-
setBorderTopColor
public void setBorderTopColor(SColor color)
-
getBorderLeftColor
public SColor getBorderLeftColor()
- Returns:
- left border color
-
setBorderLeftColor
public void setBorderLeftColor(SColor color)
-
getBorderBottomColor
public SColor getBorderBottomColor()
- Returns:
- bottom border color
-
setBorderBottomColor
public void setBorderBottomColor(SColor color)
-
getBorderRightColor
public SColor getBorderRightColor()
- Returns:
- right border color
-
setBorderRightColor
public void setBorderRightColor(SColor color)
-
getBorderVerticalColor
public SColor getBorderVerticalColor()
- Returns:
- vertical border color
-
setBorderVerticalColor
public void setBorderVerticalColor(SColor color)
-
getBorderHorizontalColor
public SColor getBorderHorizontalColor()
- Returns:
- horizontal border color
-
setBorderHorizontalColor
public void setBorderHorizontalColor(SColor color)
-
getBorderDiagonalColor
public SColor getBorderDiagonalColor()
- Returns:
- diagonal border color
-
setBorderDiagonalColor
public void setBorderDiagonalColor(SColor color)
-
isShowDiagonalUpBorder
public boolean isShowDiagonalUpBorder()
Description copied from interface:SBorder
Whether show diagonalUp diagonal border- Returns:
-
setShowDiagonalUpBorder
public void setShowDiagonalUpBorder(boolean show)
-
isShowDiagonalDownBorder
public boolean isShowDiagonalDownBorder()
Description copied from interface:SBorder
Whether show diagonalDown diagonal border- Returns:
-
setShowDiagonalDownBorder
public void setShowDiagonalDownBorder(boolean show)
-
getLeftLine
public SBorderLine getLeftLine()
Description copied from interface:SBorder
Returns left border line.- Returns:
-
getTopLine
public SBorderLine getTopLine()
Description copied from interface:SBorder
Returns top border line- Returns:
-
getRightLine
public SBorderLine getRightLine()
Description copied from interface:SBorder
Returns right border line- Returns:
-
getBottomLine
public SBorderLine getBottomLine()
Description copied from interface:SBorder
Returns bottom border line- Returns:
-
getDiagonalLine
public SBorderLine getDiagonalLine()
Description copied from interface:SBorder
Returns diagonal border line- Returns:
-
getVerticalLine
public SBorderLine getVerticalLine()
Description copied from interface:SBorder
Returns vertical border line- Returns:
-
getHorizontalLine
public SBorderLine getHorizontalLine()
Description copied from interface:SBorder
Returns horizontal border line- Returns:
-
-