com.spire.xls.core.spreadsheet.collections
Class ComboBoxCollection
java.lang.Object
com.spire.ms.System.Collections.CollectionBase
com.spire.xls.core.spreadsheet.collections.CollectionExtended
com.spire.xls.core.spreadsheet.collections.ComboBoxCollection
- All Implemented Interfaces:
- com.spire.ms.System.Collections.ICollection, com.spire.ms.System.Collections.IEnumerable, IComboBoxes, java.lang.Iterable
public class ComboBoxCollection
- extends CollectionExtended
- implements IComboBoxes
ComboBoxCollection
public ComboBoxCollection(java.lang.Object parent)
get
public IComboBoxShape get(int index)
- Description copied from interface:
IComboBoxes
- Returns single item from the collection.
- Specified by:
get
in interface IComboBoxes
- Parameters:
index
- Item's index to get.
- Returns:
- Single item from the collection.
get
public IComboBoxShape get(java.lang.String name)
- Gets single item from the collection.
- Specified by:
get
in interface IComboBoxes
- Parameters:
name
- Name of the item to get.
- Returns:
- Single item from the collection.
addComboBox
public IComboBoxShape addComboBox(int row,
int column,
int height,
int width)
- Adds new item to the collection.
- Specified by:
addComboBox
in interface IComboBoxes
- Parameters:
row
- One-based row index of the top-left corner of the new item.column
- One-based column index of the top-left corner of the new item.height
- Height in pixels of the new item.width
- Width in pixels of the new item.
- Returns:
- Newly added item.