Class CellStyle
java.lang.Object
com.independentsoft.office.spreadsheet.styles.CellStyle
The Class CellStyle.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intgetID()Gets the id.Gets the master cell format.getName()Gets the name.intGets the outline style.booleanChecks if is custom builtin.booleanisHidden()Checks if is hidden.voidsetCustomBuiltin(boolean isCustomBuiltin)Sets the custom builtin.voidsetHidden(boolean isHidden)Sets the hidden.voidsetID(int id)Sets the id.voidsetMasterCellFormat(MasterCellFormat masterCellFormat)Sets the master cell format.voidSets the name.voidsetOutlineStyle(int outlineStyle)Sets the outline style.toString()
-
Constructor Details
-
CellStyle
public CellStyle()Instantiates a new cell style.
-
-
Method Details
-
clone
-
toString
-
getID
public int getID()Gets the id.- Returns:
- the id
-
setID
public void setID(int id)Sets the id.- Parameters:
id- the new id
-
isCustomBuiltin
public boolean isCustomBuiltin()Checks if is custom builtin.- Returns:
- true, if is custom builtin
-
setCustomBuiltin
public void setCustomBuiltin(boolean isCustomBuiltin)Sets the custom builtin.- Parameters:
isCustomBuiltin- the new custom builtin
-
isHidden
public boolean isHidden()Checks if is hidden.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(boolean isHidden)Sets the hidden.- Parameters:
isHidden- the new hidden
-
getOutlineStyle
public int getOutlineStyle()Gets the outline style.- Returns:
- the outline style
-
setOutlineStyle
public void setOutlineStyle(int outlineStyle)Sets the outline style.- Parameters:
outlineStyle- the new outline style
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getMasterCellFormat
Gets the master cell format.- Returns:
- the master cell format
-
setMasterCellFormat
Sets the master cell format.- Parameters:
masterCellFormat- the new master cell format
-