|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.crystaldecisions.sdk.occa.report.lib.ClonableList
com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector
com.crystaldecisions.sdk.occa.report.data.Values
public class Values
This object defines a collection that contains an array of Value objects and allows you to add,
remove, search for, and add new values to and from the collection.
| Constructor Summary | |
|---|---|
Values()
|
|
Values(Values src)
|
|
| Method Summary | |
|---|---|
void |
add(boolean bValue)
Adds a boolean value to the collection. |
void |
add(double dValue)
Adds a double value to the collection. |
void |
add(double beginValue,
RangeValueBoundType lowerBoundType,
double endValue,
RangeValueBoundType upperBoundType)
Adds a range value to the collection. |
void |
add(int index,
IValue element)
Inserts the specified element at the specified position in this collection. |
boolean |
add(IValue o)
Appends the specified element to the end of this collection. |
void |
add(java.lang.Object beginValue,
RangeValueBoundType lowerBoundType,
java.lang.Object endValue,
RangeValueBoundType upperBoundType)
Adds a range value to the collection. |
void |
add(java.lang.String sValue)
Adds a String value to the collection. |
void |
clear()
|
void |
copyTo(java.lang.Object dest,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
boolean |
getIsNoValue()
Gets if the Values object should contain a value. |
IValue |
getValue(int index)
Returns the IValue object at the specified index. |
boolean |
hasContent(java.lang.Object obj)
|
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
setIsNoValue(boolean isNoValue)
Sets if the Values object should contain a value. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
| Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector |
|---|
addElement, addNullElement, elementAt, insertElementAt, removeAllElements |
| Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ClonableList |
|---|
clone, copyTo, findIndexOf |
| Methods inherited from class java.util.ArrayList |
|---|
addAll, addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public Values(Values src)
public Values()
| Method Detail |
|---|
public void copyTo(java.lang.Object dest,
boolean deepCopy)
copyTo in class ClonableListpublic boolean hasContent(java.lang.Object obj)
hasContent in class ClonableListpublic void add(java.lang.String sValue)
Adds a String value to the collection.
sValue - the string value to be added to the collectionpublic void add(double dValue)
Adds a double value to the collection.
dValue - the double value to be added to the collectionpublic void add(boolean bValue)
Adds a boolean value to the collection.
bValue - the boolean value to be added to the collection
public void add(double beginValue,
RangeValueBoundType lowerBoundType,
double endValue,
RangeValueBoundType upperBoundType)
Adds a range value to the collection.
beginValue - the lower bound value of the rangelowerBoundType - the type of the lower bound of the range. See RangeValueBoundType for details.endValue - the upper bound value of the rangeupperBoundType - the type of the upper bound of the range. See RangeValueBoundType for details.
public void add(java.lang.Object beginValue,
RangeValueBoundType lowerBoundType,
java.lang.Object endValue,
RangeValueBoundType upperBoundType)
Adds a range value to the collection. Tales as its parameters a begin and an end value of the range, and constants that specify the type of each of these values.
beginValue - the lower bound object of the range.lowerBoundType - the type of the lower bound of the range. See RangeValueBoundType for details.endValue - the upper bound object of the range.upperBoundType - the type of the upper bound of the range. See RangeValueBoundType for details.
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only.
createMember in class ClonableList
public void endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only.
endElement in class ClonableListpublic IValue getValue(int index)
Returns the IValue object at the specified index.
index - The index of the desired IValue object.
IValue object at the specified index.
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only.
readElement in class ClonableList
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
save in class ClonableListjava.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
save in class ClonableListjava.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
saveContents in class ClonableListjava.io.IOException
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only.
startElement in class ClonableListpublic boolean add(IValue o)
add in interface java.util.Collectionadd in interface java.util.Listadd in class ReportSDKVectoro - Element to be added into the collection.
java.lang.ClassCastException - class of the specified element prevents it
from being added to this collection.
java.lang.NullPointerException - if the specified element is null and this
collection does not support null elements.
public void add(int index,
IValue element)
add in interface java.util.Listadd in class ReportSDKVectorindex - index at which the specified element is to be inserted.element - element to be inserted.
java.lang.IndexOutOfBoundsException - if index is out of range
(index < 0 || index > size()).
java.lang.ClassCastException - class of the specified element prevents it
from being added to this collection.
java.lang.NullPointerException - if the specified element is null and this
collection does not support null elements.public boolean getIsNoValue()
Values object should contain a value.
Values object should not contain a value.public void setIsNoValue(boolean isNoValue)
Values object should contain a value.
isNoValue - true if the Values object should not contain a value.public void clear()
clear in interface java.util.Collectionclear in interface java.util.Listclear in class java.util.ArrayList
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||