Package com.scroogexhtml.converter
Class CharacterProperties
- java.lang.Object
-
- com.scroogexhtml.converter.CharacterProperties
-
-
Constructor Summary
Constructors Constructor Description CharacterProperties()
Default constructor.CharacterProperties(CharacterProperties another)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBGColor()
Gets the bGColor attribute of the CharacterProperties object.int
getCharSet()
Gets the charSet attribute of the CharacterProperties object.String
getColor()
Gets the color attribute of the CharacterProperties object.String
getFont()
Gets the font attribute of the CharacterProperties object.String
getHLColor()
Gets the hLColor attribute of the CharacterProperties object.String
getLanguage()
Get the language code.int
getSize()
Gets the size attribute of the CharacterProperties object.boolean
isBold()
Gets the bold attribute of the CharacterProperties object.boolean
isHidden()
boolean
isItalic()
Gets the italic attribute of the CharacterProperties object.boolean
isRightToLeft()
Get the right to left property.boolean
isStrike()
Gets the strike attribute of the CharacterProperties object.boolean
isSubscript()
Gets the subscript attribute of the CharacterProperties object.boolean
isSuperscript()
Gets the superscript attribute of the CharacterProperties object.boolean
isUnderline()
Gets the underline attribute of the CharacterProperties object.void
setBGColor(String c)
Sets the bGColor attribute of the CharacterProperties object.void
setBold(boolean b)
Sets the bold attribute of the CharacterProperties object.void
setCharSet(int c)
Sets the charSet attribute of the CharacterProperties object.void
setColor(String c)
Sets the color attribute of the CharacterProperties object.void
setFont(String f)
Sets the font attribute of the CharacterProperties object.void
setHidden(boolean h)
void
setHLColor(String c)
Sets the hLColor attribute of the CharacterProperties object.void
setItalic(boolean b)
Sets the italic attribute of the CharacterProperties object.void
setLanguage(String language)
Set the language code.void
setRightToLeft(boolean newValue)
Set the right to left property.void
setSize(int s)
Sets the size attribute of the CharacterProperties object.void
setStrike(boolean b)
Sets the strike attribute of the CharacterProperties object.void
setSubscript(boolean b)
Sets the subscript attribute of the CharacterProperties object.void
setSuperscript(boolean b)
Sets the superscript attribute of the CharacterProperties object.void
setUnderline(boolean ul)
Sets the underline attribute of the CharacterProperties object.
-
-
-
Constructor Detail
-
CharacterProperties
public CharacterProperties()
Default constructor.
-
CharacterProperties
public CharacterProperties(CharacterProperties another)
Copy constructor.- Parameters:
another
- the instance to be copied.
-
-
Method Detail
-
setBGColor
public void setBGColor(String c)
Sets the bGColor attribute of the CharacterProperties object.- Parameters:
c
- The new bGColor value- See Also:
getBGColor()
-
setBold
public void setBold(boolean b)
Sets the bold attribute of the CharacterProperties object.- Parameters:
b
- The new bold value
-
setCharSet
public void setCharSet(int c)
Sets the charSet attribute of the CharacterProperties object.- Parameters:
c
- The new charSet value- See Also:
getCharSet()
-
setColor
public void setColor(String c)
Sets the color attribute of the CharacterProperties object.- Parameters:
c
- The new color value
-
setFont
public void setFont(String f)
Sets the font attribute of the CharacterProperties object.- Parameters:
f
- The new font value- See Also:
getFont()
-
isHidden
public boolean isHidden()
-
setHidden
public void setHidden(boolean h)
-
setHLColor
public void setHLColor(String c)
Sets the hLColor attribute of the CharacterProperties object.- Parameters:
c
- The new hLColor value- See Also:
getHLColor()
-
setItalic
public void setItalic(boolean b)
Sets the italic attribute of the CharacterProperties object.- Parameters:
b
- The new italic value
-
setSize
public void setSize(int s)
Sets the size attribute of the CharacterProperties object.- Parameters:
s
- The new size value- See Also:
getSize()
-
setStrike
public void setStrike(boolean b)
Sets the strike attribute of the CharacterProperties object.- Parameters:
b
- The new strike value
-
setSubscript
public void setSubscript(boolean b)
Sets the subscript attribute of the CharacterProperties object.- Parameters:
b
- The new subscript value
-
setSuperscript
public void setSuperscript(boolean b)
Sets the superscript attribute of the CharacterProperties object.- Parameters:
b
- The new superscript value
-
setUnderline
public void setUnderline(boolean ul)
Sets the underline attribute of the CharacterProperties object.- Parameters:
ul
- The new underline value
-
getBGColor
public String getBGColor()
Gets the bGColor attribute of the CharacterProperties object.- Returns:
- The bGColor value
- See Also:
setBGColor(java.lang.String)
-
isBold
public boolean isBold()
Gets the bold attribute of the CharacterProperties object.- Returns:
- The bold value
-
getCharSet
public int getCharSet()
Gets the charSet attribute of the CharacterProperties object.- Returns:
- The charSet value
- See Also:
setCharSet(int)
-
getColor
public String getColor()
Gets the color attribute of the CharacterProperties object.- Returns:
- The color value
- See Also:
setColor(java.lang.String)
-
getFont
public String getFont()
Gets the font attribute of the CharacterProperties object.- Returns:
- The font value
- See Also:
setFont(java.lang.String)
-
getHLColor
public String getHLColor()
Gets the hLColor attribute of the CharacterProperties object.- Returns:
- The hLColor value
- See Also:
setHLColor(java.lang.String)
-
isItalic
public boolean isItalic()
Gets the italic attribute of the CharacterProperties object.- Returns:
- The italic value
-
getSize
public int getSize()
Gets the size attribute of the CharacterProperties object.- Returns:
- The size value
- See Also:
setSize(int)
-
isStrike
public boolean isStrike()
Gets the strike attribute of the CharacterProperties object.- Returns:
- The strike value
-
isSubscript
public boolean isSubscript()
Gets the subscript attribute of the CharacterProperties object.- Returns:
- The subscript value
-
isSuperscript
public boolean isSuperscript()
Gets the superscript attribute of the CharacterProperties object.- Returns:
- The superscript value
-
isUnderline
public boolean isUnderline()
Gets the underline attribute of the CharacterProperties object.- Returns:
- The underline value
-
getLanguage
public String getLanguage()
Get the language code.- Returns:
- language code.
- See Also:
setLanguage(java.lang.String)
-
setLanguage
public void setLanguage(String language)
Set the language code.- Parameters:
language
- language code- See Also:
getLanguage()
-
isRightToLeft
public boolean isRightToLeft()
Get the right to left property.- Returns:
- boolean true if it is LTR text.
-
setRightToLeft
public void setRightToLeft(boolean newValue)
Set the right to left property.- Parameters:
newValue
- boolean The new property value.
-
-