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 class
TextBorderStyle.Builder
Provides a builder for text borders.
-
Field Summary
Fields Modifier and Type Field Description static TextBorderStyle
NONE
Loaded on first access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getBottomBorder()
Gets the bottom component pattern.String
getBottomLeftCorner()
Gets the bottom left corner component.String
getBottomRightCorner()
Gets the bottom right corner component.String
getLeftBorder()
Gets the left border component.String
getRightBorder()
Gets the right border component.String
getTopBorder()
Gets the top component pattern.String
getTopLeftCorner()
Gets the top left corner component.String
getTopRightCorner()
Gets the top right corner component.int
hashCode()
-
-
-
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
-
-