public class Border.Builder.BuilderView extends Object
Modifier and Type | Method and Description |
---|---|
Border.Builder.BuilderView |
align(BorderSpecification.Align value)
Sets the border alignment for the active edge.
|
Border |
build()
Creates a new border using the current state of the builder
|
Border.Builder.BuilderView |
getBottom()
Gets the bottom edge view of the builder.
|
Border.Builder.BuilderView |
getDefault()
Gets the default edge view of the builder.
|
Border.Builder.BuilderView |
getLeft()
Gets the left edge view of the builder.
|
Border.Builder.BuilderView |
getRight()
Gets the right edge view of the builder.
|
Border.Builder.BuilderView |
getTop()
Gets the top edge view of the builder.
|
Border.Builder.BuilderView |
style(BorderSpecification.Style value)
Sets the border style for the active edge.
|
Border.Builder.BuilderView |
width(Integer value)
Sets the border width for the active edge.
|
public Border.Builder.BuilderView getTop()
public Border.Builder.BuilderView getLeft()
public Border.Builder.BuilderView getRight()
public Border.Builder.BuilderView getBottom()
public Border.Builder.BuilderView getDefault()
public Border.Builder.BuilderView style(BorderSpecification.Style value)
value
- the stylepublic Border.Builder.BuilderView align(BorderSpecification.Align value)
value
- the alignmentpublic Border.Builder.BuilderView width(Integer value)
value
- the widthpublic Border build()