Class RunProperties
java.lang.Object
com.independentsoft.office.spreadsheet.RunProperties
The Class RunProperties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the character set.getColor()Gets the color.getFont()Gets the font.intGets the font family.Gets the run vertical alignment.Gets the scheme.doublegetSize()Gets the size.Gets the underline.booleanisBold()Checks if is bold.booleanChecks if is condense.booleanisExtend()Checks if is extend.booleanisItalic()Checks if is italic.booleanChecks if is outline.booleanisShadow()Checks if is shadow.booleanChecks if is strike through.voidsetBold(boolean bold)Sets the bold.voidsetCharacterSet(int characterSet)Sets the character set.voidsetColor(DataBarColor color)Sets the color.voidsetCondense(boolean condense)Sets the condense.voidsetExtend(boolean extend)Sets the extend.voidSets the font.voidsetFontFamily(int fontFamily)Sets the font family.voidsetItalic(boolean italic)Sets the italic.voidsetOutline(boolean outline)Sets the outline.voidsetRunVerticalAlignment(RunVerticalAlignment runVerticalAlignment)Sets the run vertical alignment.voidsetScheme(FontScheme scheme)Sets the scheme.voidsetShadow(boolean shadow)Sets the shadow.voidsetSize(double size)Sets the size.voidsetStrikeThrough(boolean strikeThrough)Sets the strike through.voidsetUnderline(Underline underline)Sets the underline.toString()
-
Constructor Details
-
RunProperties
public RunProperties()Instantiates a new run properties.
-
-
Method Details
-
clone
-
toString
-
isBold
public boolean isBold()Checks if is bold.- Returns:
- true, if is bold
-
setBold
public void setBold(boolean bold)Sets the bold.- Parameters:
bold- the new bold
-
getCharacterSet
public int getCharacterSet()Gets the character set.- Returns:
- the character set
-
setCharacterSet
public void setCharacterSet(int characterSet)Sets the character set.- Parameters:
characterSet- the new character set
-
getColor
Gets the color.- Returns:
- the color
-
setColor
Sets the color.- Parameters:
color- the new color
-
isCondense
public boolean isCondense()Checks if is condense.- Returns:
- true, if is condense
-
setCondense
public void setCondense(boolean condense)Sets the condense.- Parameters:
condense- the new condense
-
isExtend
public boolean isExtend()Checks if is extend.- Returns:
- true, if is extend
-
setExtend
public void setExtend(boolean extend)Sets the extend.- Parameters:
extend- the new extend
-
getFontFamily
public int getFontFamily()Gets the font family.- Returns:
- the font family
-
setFontFamily
public void setFontFamily(int fontFamily)Sets the font family.- Parameters:
fontFamily- the new font family
-
isItalic
public boolean isItalic()Checks if is italic.- Returns:
- true, if is italic
-
setItalic
public void setItalic(boolean italic)Sets the italic.- Parameters:
italic- the new italic
-
getFont
Gets the font.- Returns:
- the font
-
setFont
Sets the font.- Parameters:
font- the new font
-
isOutline
public boolean isOutline()Checks if is outline.- Returns:
- true, if is outline
-
setOutline
public void setOutline(boolean outline)Sets the outline.- Parameters:
outline- the new outline
-
getScheme
Gets the scheme.- Returns:
- the scheme
-
setScheme
Sets the scheme.- Parameters:
scheme- the new scheme
-
isShadow
public boolean isShadow()Checks if is shadow.- Returns:
- true, if is shadow
-
setShadow
public void setShadow(boolean shadow)Sets the shadow.- Parameters:
shadow- the new shadow
-
isStrikeThrough
public boolean isStrikeThrough()Checks if is strike through.- Returns:
- true, if is strike through
-
setStrikeThrough
public void setStrikeThrough(boolean strikeThrough)Sets the strike through.- Parameters:
strikeThrough- the new strike through
-
getSize
public double getSize()Gets the size.- Returns:
- the size
-
setSize
public void setSize(double size)Sets the size.- Parameters:
size- the new size
-
getUnderline
Gets the underline.- Returns:
- the underline
-
setUnderline
Sets the underline.- Parameters:
underline- the new underline
-
getRunVerticalAlignment
Gets the run vertical alignment.- Returns:
- the run vertical alignment
-
setRunVerticalAlignment
Sets the run vertical alignment.- Parameters:
runVerticalAlignment- the new run vertical alignment
-