|
Chart FX for Java 6.5 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SoftwareFX.ChartFX.DataTypeCollection
public final class DataTypeCollection
Provides access to the DataTypeCollection object.
Constructor Summary | |
---|---|
DataTypeCollection()
|
Method Summary | |
---|---|
java.util.Enumeration |
elements()
Returns an enumeration of the values in the DataTypeCollection . |
int |
getItem(int n)
Gets the Item. |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
void |
setItem(int n,
int value)
Gets and Sets the element at the specified position in the DataTypeCollection. |
int |
size()
Returns the number of elements in this collection. |
java.lang.Object[] |
toArray(java.lang.Object[] obj)
Returns an array containing all of the elements in this collection in proper sequence. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataTypeCollection()
Method Detail |
---|
public java.util.Enumeration elements()
Returns an enumeration of the values in the DataTypeCollection . Use the Enumeration methods on the returned object to fetch the elements sequentially.
public int getItem(int n)
Gets the Item. For more detail see setItem(int, int)
.
public boolean hasMoreElements()
Tests if this enumeration contains more elements.
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
nextElement
in interface java.util.Enumeration
public void setItem(int n, int value)
Gets and Sets the element at the specified position in the DataTypeCollection.
DataType :
Define how Chart FX should treat the different fields available in the result set. Value | Description |
---|---|
DataType.DEFAULT | If the field is numeric use it as an additional data series. If the field is a string or text use it as a legend. |
DataType.LABEL | Instructs Chart FX to treat the selected field as a string. Therefore a legend. |
DataType.VALUE | Instructs Chart FX to treat the selected field as a number. Therefore an additional data series. |
DataType.XVALUE | Instructs Chart FX to treat the selected field as a number to be used as the X axis coordinate. Use this option if you are creating XY Plots. |
DataType.INI_VALUE | Instructs Chart FX to treat the selected field as a number to be used to set initial values for data points to achieve floating bars and area charts. |
DataType.SERIES | Used with the CrossTab provider to assign as a series. (The CrossTab Data Provider has not yet been Implemented.) |
DataType.POINT | Used with the CrossTab provider to assign as a points. (The CrossTab Data Provider has not yet been Implemented.) |
DataType.NOT_USED | Instructs Chart FX to ignore this field from the result set. |
DataType.KEY_LEGEND | Instructs Chart FX to treat the selected field as a string that will be used as the key label for the x axis. |
public int size()
Returns the number of elements in this collection.
public java.lang.Object[] toArray(java.lang.Object[] obj)
Returns an array containing all of the elements in this collection in proper sequence.
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |