com.spire.xls.core.spreadsheet.collections
Class XlsStylesCollection

java.lang.Object
  extended by com.spire.ms.System.Collections.CollectionBase
      extended by com.spire.xls.core.spreadsheet.collections.CollectionExtended
          extended by 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


Constructor Summary
XlsStylesCollection(java.lang.Object parent)
           
 
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.
 
Methods inherited from interface com.spire.xls.core.IStyles
get, getCount, getParent
 

Constructor Detail

XlsStylesCollection

public XlsStylesCollection(java.lang.Object parent)
Method Detail

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: