|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||
java.lang.objectcom.spire.presentation.collections.taglist
public class taglist
represents the collection of tags
| constructor summary | |
|---|---|
taglist()
|
|
taglist( pptlist)
|
|
taglist( tagsdoc)
|
|
taglist( progtags)
|
|
| method summary | |
|---|---|
int |
append(java.lang.string name,
java.lang.string value)
adds a new tag to collection. |
void |
clear()
removes all tags from the collection. |
boolean |
contains(java.lang.string name)
indicates whether the collection contains a specific name. |
java.lang.string |
get(java.lang.string name)
gets or sets a key and a value pair of a tag. |
java.lang.string |
getbyind(int index)
gets value of a tag at the specified index. |
int |
getcount()
gets a number of tags in the collectoin. |
java.lang.string |
getkey(int index)
gets key of a tag at the specified index. |
int |
indexofkey(java.lang.string name)
gets the zero-based index of the specified key in the collection. |
void |
remove(java.lang.string name)
removes the tag with a specified name from the collection. |
void |
removeat(int index)
removes the tag at the specified index |
| constructor detail |
|---|
public taglist()
public taglist( tagsdoc)
public taglist( pptlist)
public taglist( progtags)
| method detail |
|---|
public int getcount()
public int append(java.lang.string name,
java.lang.string value)
name - the name of the tag.value - the value of the tag.
public void remove(java.lang.string name)
name - the name of tag to removepublic int indexofkey(java.lang.string name)
name - the name to locate in the collection.
public boolean contains(java.lang.string name)
name - the key to locate.
public void removeat(int index)
index - the zero-based index of the tag to removepublic void clear()
public java.lang.string getbyind(int index)
index - index of a tag to return
public java.lang.string getkey(int index)
index - index of a tag to return.
public java.lang.string get(java.lang.string name)
name - key of a tag.
|
|||||||||
| prev class next class | frames no frames | ||||||||
| summary: nested | field | constr | method | detail: field | constr | method | ||||||||