com.spire.xls.core.spreadsheet.collections
Class XlsStylesCollection
java.lang.Object
com.spire.ms.System.Collections.CollectionBase
com.spire.xls.core.spreadsheet.collections.CollectionExtended
com.spire.xls.core.spreadsheet.collections.XlsStylesCollection
- All Implemented Interfaces:
- com.spire.ms.System.Collections.ICollection, com.spire.ms.System.Collections.IEnumerable, IStyles, java.lang.Iterable
- Direct Known Subclasses:
- StylesCollection
public class XlsStylesCollection
- extends CollectionExtended
- implements IStyles
Method Summary |
boolean |
contains(java.lang.String name)
Check collection contains style with specified name. |
IStyle |
get(java.lang.String name)
Returns a single object from a collection. |
void |
remove(java.lang.String styleName)
Removes style from the colleciton. |
XlsStylesCollection
public XlsStylesCollection(java.lang.Object parent)
contains
public boolean contains(java.lang.String name)
- Check collection contains style with specified name.
- Specified by:
contains
in interface IStyles
- Parameters:
name
- Style name
- Returns:
remove
public void remove(java.lang.String styleName)
- Removes style from the colleciton.
- Specified by:
remove
in interface IStyles
- Parameters:
styleName
- Style name to remove.
get
public IStyle get(java.lang.String name)
- Returns a single object from a collection. Read-only.
- Specified by:
get
in interface IStyles
- Parameters:
name
-
- Returns: