FormattedString
A formatted String that can be used to format Strings with colors and styles
Since
0.1.1
Parameters
the FormattedStringObjects that are wrapped in this FormattedString
if the FormattedString is bold
if the FormattedString is italic
if the FormattedString is underlined
if the FormattedString is strikethrough
if the FormattedString is inverted
the Formatting.FGColor of the FormattedString
the Formatting.BGColor of the FormattedString
Constructors
Creates a FormattedString with the given contents, isBold, isItalic, isUnderlined, isStrikethrough, isInverted, color and backgroundColor
Properties
The Formatting.BGColor of the FormattedString
The Formatting.FGColor of the FormattedString
The FormattedStringObjects that are wrapped in this FormattedString
If the FormattedString is bold
Is the FormattedString formatted in any way? (Used to determine if the generated String should be formatted and if the Formatting.RESET should be added)
If the FormattedString is inverted
If the FormattedString is italic
If the FormattedString is strikethrough
If the FormattedString is underlined
Functions
Set the Formatting.BGColor of this FormattedString
Set the Formatting.BGColor of this FormattedString
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BLACK
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BLUE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_BLACK
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_BLUE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_CYAN
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_GREEN
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_PURPLE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_RED
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.WHITE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_YELLOW
Set the Formatting.BGColor of this FormattedString
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.CYAN
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.GREEN
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_BLACK
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.PURPLE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.RED
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.WHITE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.YELLOW
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BLACK
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BLUE
Make this FormattedString bold
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_BLACK
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_BLUE
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_CYAN
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_GREEN
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_PURPLE
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_RED
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_WHITE
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_YELLOW
Set the Formatting.FGColor of this FormattedString
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.CYAN
Extend this FormattedString with the given format
Set the Formatting.BGColor of this FormattedString
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BLACK
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BLUE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_BLACK
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_BLUE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_CYAN
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_GREEN
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_PURPLE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_RED
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_WHITE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_YELLOW
Set the Formatting.BGColor of this FormattedString
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.CYAN
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.GREEN
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.BRIGHT_BLACK
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.PURPLE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.RED
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.WHITE
Set the Formatting.BGColor of this FormattedString to Formatting.BGColor.YELLOW
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.GREEN
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.BRIGHT_BLACK
Make this FormattedString inverted
Make this FormattedString italic
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.PURPLE
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.RED
Extend this FormattedString with the given format
Make this FormattedString strikethrough
Get the String representation of this FormattedString
Make this FormattedString underlined
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.WHITE
Set the Formatting.FGColor of this FormattedString to Formatting.FGColor.YELLOW