Class Style
java.lang.Object
org.strassburger.tui4j.formatting.Style
Represents text style attributes.
-
Constructor Details
-
Style
public Style()Default style -
Style
Copy constructor
-
-
Method Details
-
toAnsiCodes
Convert this style to ANSI escape codes- Returns:
- the ANSI escape codes representing this style
-
fg
-
bg
-
bold
-
underline
-
inverse
-
getForeground
-
getBackground
-
isBold
public boolean isBold() -
isUnderline
public boolean isUnderline() -
isInverse
public boolean isInverse() -
toString
-
equals
-
hashCode
public int hashCode()
-