|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.steema.teechart.TeeBase
com.steema.teechart.styles.ValueList
public final class ValueList
Title: ValueList class
Description: Array to hold Series data point values.
Copyright (c) 2005-2008 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
Field Summary | |
---|---|
int |
capacity
|
int |
count
|
static int |
defaultCapacity
|
protected java.lang.String |
name
|
ISeries |
series
|
boolean |
statsOk
|
double |
tempValue
|
double[] |
value
|
java.lang.String |
valueSource
|
Fields inherited from class com.steema.teechart.TeeBase |
---|
chart |
Constructor Summary | |
---|---|
ValueList(ISeries s,
java.lang.String name)
|
|
ValueList(ISeries s,
java.lang.String name,
int initialCapacity)
|
Method Summary | |
---|---|
DateTime |
asDateTime(int index)
|
void |
assign(ValueList value)
|
void |
clear()
Removes all values in the list. |
void |
exchange(int index1,
int index2)
|
void |
fillSequence()
Renumbers all values in a ValueList class starting at zero. |
int |
getCount()
|
java.lang.String |
getDataMember()
Field to use as source for this value list. |
boolean |
getDateTime()
Allows values to be expressed either as numbers or as Date+Time values. |
double |
getFirst()
Returns the First point value. |
double |
getLast()
Returns the Last point value. |
double |
getMaximum()
The highest of all values in the list. |
double |
getMaxValue()
Obsolete. |
double |
getMinimum()
The lowest of all values in the list. |
double |
getMinValue()
Obsolete. |
java.lang.String |
getName()
Returns the name of this ValueList. |
ValueListOrder |
getOrder()
Determines if points are automatically sorted or left at original position. |
double |
getRange()
|
double |
getTotal()
The sum of all IValueList values. |
double |
getTotalABS()
The sum of all absolute values in the list. |
double |
getValue(int index)
|
double[] |
getValues()
|
int |
indexOf(double value)
Returns the corresponding point index which has the specified Value. |
int |
locate(double value)
Obsolete. |
void |
removeAt(int index)
|
void |
removeRange(int index,
int count)
|
void |
setCount(int value)
|
void |
setDataMember(java.lang.String value)
Field to use as source for this value list. |
void |
setDateTime(boolean value)
Allows values to be expressed either as numbers or as Date+Time values. |
void |
setName(java.lang.String name)
Returns the name of this ValueList. |
void |
setOrder(ValueListOrder value)
Determines if points are automatically sorted or left at original position. |
void |
setValue(int index,
double value)
|
void |
setValues(double[] value)
|
void |
sort()
Re-orders Series points, interchanging their position in the Series Values lists. |
void |
trim()
|
Methods inherited from class com.steema.teechart.TeeBase |
---|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int defaultCapacity
public double[] value
public int count
public transient int capacity
public transient boolean statsOk
public transient double tempValue
public transient java.lang.String valueSource
public transient ISeries series
protected java.lang.String name
Constructor Detail |
---|
public ValueList(ISeries s, java.lang.String name)
public ValueList(ISeries s, java.lang.String name, int initialCapacity)
Method Detail |
---|
public java.lang.String getDataMember()
public void setDataMember(java.lang.String value)
value
- Stringpublic boolean getDateTime()
public void setDateTime(boolean value)
value
- booleanpublic ValueListOrder getOrder()
public void setOrder(ValueListOrder value)
value
- ValueListOrderpublic void setName(java.lang.String name)
name
- Stringpublic java.lang.String getName()
public void clear()
public int indexOf(double value)
value
- double
public void removeRange(int index, int count)
public void removeAt(int index)
public void sort()
public void trim()
public double getFirst()
public double getLast()
public int locate(double value)
value
- double
public void assign(ValueList value)
public double getRange()
public double getMaximum()
public double getMaxValue()
public double getMinValue()
public double getMinimum()
getMaximum()
public double getTotal()
public double getTotalABS()
getMaximum()
public double getValue(int index)
public void setValue(int index, double value)
public double[] getValues()
public void setValues(double[] value)
public int getCount()
public void setCount(int value)
public DateTime asDateTime(int index)
public void fillSequence()
sort()
public void exchange(int index1, int index2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |