|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
com.crystaldecisions.sdk.occa.report.lib.ClonableList<E>
com.crystaldecisions.sdk.occa.report.lib.ControllableList<E>
com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector<IValue>
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)
|
boolean |
isDirectlyControllable()
|
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, elementAt, insertElementAt, removeAllElements |
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ControllableList |
---|
addAll, addAll, doControllerModification, enumerateMembers, getControllableMixin, iterator, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList |
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ClonableList |
---|
clone, findIndexOf |
Methods inherited from class java.util.ArrayList |
---|
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode |
Constructor Detail |
---|
public Values(Values src)
public Values()
Method Detail |
---|
public void copyTo(java.lang.Object dest, boolean deepCopy)
copyTo
in class ControllableList<IValue>
public boolean hasContent(java.lang.Object obj)
hasContent
in class ClonableList<IValue>
public 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 collectionpublic 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<IValue>
public void endElement(java.lang.String eleName, java.util.Map objState)
For internal use only.
endElement
in class ClonableList<IValue>
public 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<IValue>
public void save(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
save
in class ClonableList<IValue>
java.io.IOException
public void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
save
in class ClonableList<IValue>
java.io.IOException
public void saveContents(XMLWriter writer, XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
saveContents
in class ClonableList<IValue>
java.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 ClonableList<IValue>
public boolean add(IValue o)
add
in interface java.util.Collection<IValue>
add
in interface java.util.List<IValue>
add
in class ReportSDKVector<IValue>
o
- 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.List<IValue>
add
in class ReportSDKVector<IValue>
index
- 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.Collection<IValue>
clear
in interface java.util.List<IValue>
clear
in class ControllableList<IValue>
public boolean isDirectlyControllable()
isDirectlyControllable
in class ReportSDKVector<IValue>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |