Package org.daisy.dotify.api.translator
Class TextBorderStyle
- java.lang.Object
-
- org.daisy.dotify.api.translator.TextBorderStyle
-
public class TextBorderStyle extends Object
Defines a text border. The border cannot be more than one character high, and shouldn't be more than one character wide.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTextBorderStyle.BuilderProvides a builder for text borders.
-
Field Summary
Fields Modifier and Type Field Description static TextBorderStyleNONELoaded on first access.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBottomBorder()Gets the bottom component pattern.StringgetBottomLeftCorner()Gets the bottom left corner component.StringgetBottomRightCorner()Gets the bottom right corner component.StringgetLeftBorder()Gets the left border component.StringgetRightBorder()Gets the right border component.StringgetTopBorder()Gets the top component pattern.StringgetTopLeftCorner()Gets the top left corner component.StringgetTopRightCorner()Gets the top right corner component.inthashCode()
-
-
-
Field Detail
-
NONE
public static final TextBorderStyle NONE
Loaded on first access.
-
-
Method Detail
-
getTopLeftCorner
public String getTopLeftCorner()
Gets the top left corner component.- Returns:
- returns the top left corner
-
getTopBorder
public String getTopBorder()
Gets the top component pattern. This may be several characters long.- Returns:
- returns the top pattern
-
getTopRightCorner
public String getTopRightCorner()
Gets the top right corner component.- Returns:
- returns the top right corner
-
getLeftBorder
public String getLeftBorder()
Gets the left border component. This should be a single character or an empty string (although not strictly required).- Returns:
- returns the left border
-
getRightBorder
public String getRightBorder()
Gets the right border component. This should be a single character or an empty string (although not strictly required).- Returns:
- returns the right border
-
getBottomLeftCorner
public String getBottomLeftCorner()
Gets the bottom left corner component.- Returns:
- returns the bottom left corner
-
getBottomBorder
public String getBottomBorder()
Gets the bottom component pattern. This may be several characters long.- Returns:
- returns the bottom pattern
-
getBottomRightCorner
public String getBottomRightCorner()
Gets the bottom right corner component.- Returns:
- returns the bottom right corner
-
-