|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INameRanges
A collection of all the Name objects in the application or workbook. Each Name object represents a defined name for a range of cells.
Method Summary | |
---|---|
INamedRange |
add(INamedRange name)
Defines a new name. |
INamedRange |
add(java.lang.String name)
Defines a new name. |
INamedRange |
add(java.lang.String name,
IXLSRange namedObject)
Defines a new name. |
boolean |
contains(java.lang.String name)
|
INamedRange |
get(int index)
Returns a single Name object from a Names collection. |
INamedRange |
get(java.lang.String name)
Returns a single Name object from a Names collection. |
INamedRange |
getByName(java.lang.String name)
Returns a single Name object from a Names collection. |
int |
getCount()
Returns the number of objects in the collection. |
java.lang.Object |
getParent()
Returns the parent object for the specified object. |
IWorksheet |
getParentWorksheet()
Returns parent worksheet of the collection. |
void |
remove(java.lang.String name)
Removes Name object from the collection. |
void |
removeAt(int index)
Removes the element at the specified index of the collection. |
Method Detail |
---|
int getCount()
java.lang.Object getParent()
INamedRange get(int index)
INamedRange get(java.lang.String name)
INamedRange getByName(java.lang.String name)
IWorksheet getParentWorksheet()
INamedRange add(java.lang.String name)
name
- Name for the new name object.
INamedRange add(java.lang.String name, IXLSRange namedObject)
name
- Name for the new Name object.namedObject
- Range that will be associated with the name.INamedRange add(INamedRange name)
name
- Name object to add.void remove(java.lang.String name)
name
- Name of the object to remove from the collection.void removeAt(int index)
index
- The zero-based index of the element to remove.boolean contains(java.lang.String name)
name
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |