|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.ms.System.Collections.CollectionBase
com.spire.xls.core.spreadsheet.collections.CollectionExtended
com.spire.xls.core.spreadsheet.collections.XlsStylesCollection
com.spire.xls.collections.StylesCollection
public class StylesCollection
Constructor Summary | |
---|---|
StylesCollection(java.lang.Object parent)
|
Method Summary | |
---|---|
void |
addStyle(CellStyle style)
Adds a style. |
CellStyle |
addStyle(java.lang.String name)
Adds a new style. |
static boolean |
compare(CellStyle source,
CellStyle destination)
|
CellStyle |
contains(CellStyle style)
Style which is in collection. |
CellStyle |
getDefaultStyle(java.lang.String styleName)
Creates built in style. |
CellStyle |
getStyle(int Index)
gets a object from a collection. |
CellStyle |
getStyle(java.lang.String name)
gets a object from a collection. |
void |
replace(CellStyle style)
|
Methods inherited from class com.spire.xls.core.spreadsheet.collections.XlsStylesCollection |
---|
contains, get, remove |
Methods inherited from interface com.spire.xls.core.IStyles |
---|
get, getCount, getParent |
Constructor Detail |
---|
public StylesCollection(java.lang.Object parent)
Method Detail |
---|
public CellStyle getStyle(int Index)
Index
-
public CellStyle getStyle(java.lang.String name)
name
-
public CellStyle addStyle(java.lang.String name)
name
- Style name
public void addStyle(CellStyle style)
style
- Style to added.public CellStyle contains(CellStyle style)
style
- Style object.
public static boolean compare(CellStyle source, CellStyle destination)
public void replace(CellStyle style)
public CellStyle getDefaultStyle(java.lang.String styleName)
styleName
- Name of the style.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |