Package org.daisy.dotify.api.translator
Class Border.Builder
- java.lang.Object
-
- org.daisy.dotify.api.translator.Border.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Border.Builder.BuilderView
Provides a view of the builder that has a specific edge selected for configuration.
-
Constructor Summary
Constructors Constructor Description Builder()
Creates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Border
build()
Creates a new border based on the current state of the builder.Border.Builder.BuilderView
getBottom()
Gets the bottom builder view.Border.Builder.BuilderView
getDefault()
Gets the default builder view.Border.Builder.BuilderView
getLeft()
Gets the left builder view.Border.Builder.BuilderView
getRight()
Gets the right builder view.Border.Builder.BuilderView
getTop()
Gets the top builder view.
-
-
-
Method Detail
-
getTop
public Border.Builder.BuilderView getTop()
Gets the top builder view.- Returns:
- returns the top builder view
-
getLeft
public Border.Builder.BuilderView getLeft()
Gets the left builder view.- Returns:
- returns the left builder view
-
getRight
public Border.Builder.BuilderView getRight()
Gets the right builder view.- Returns:
- returns the right builder view
-
getBottom
public Border.Builder.BuilderView getBottom()
Gets the bottom builder view.- Returns:
- returns the bottom builder view
-
getDefault
public Border.Builder.BuilderView getDefault()
Gets the default builder view.- Returns:
- returns the default builder view
-
build
public Border build()
Creates a new border based on the current state of the builder.- Returns:
- returns a new border
-
-