Summ:  Nested Fields Constr. Methods    Details:  Fields Constr. Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Class ChartPointDeclaration

java.lang.Object com.artfulbits.aiCharts.Base.ChartPointDeclaration

Declaration: public final class ChartPointDeclaration extends Object

 

Represents chart point declaration class. Takes care of matching array of Y values for point to corresponding values of several chart types that require multiple Y values.

 

Since: 1.0

 

 

Nested Members Summary
static enum ChartPointDeclaration.Usage
    
Represents usages for Y points.

 

 

Fields Summary
int CloseValueIndex
    
Index of closing value.
static ChartPointDeclaration Default
    
Default point declaration value.
int HighValueIndex
    
Index of high value.
int LowValueIndex
    
Index of low value.
int OpenValueIndex
    
Index of opening value.
int SizeValueIndex
    
Index of size value.
int YValueIndex
    
Index of Y value.

 

 

Constructors Summary
ChartPointDeclaration(ChartPointDeclaration.Usage... usages)
    
Initializes a new instance of ChartPointDeclaration class using specified usages.

 

 

Methods Summary
int[] getIndices(ChartPointDeclaration.Usage... usages)
    
Gets array of indices corresponding to specified usages.

 

Methods inherited from class: java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

 

 

 

Default

 

public static final ChartPointDeclaration Default

 

Default point declaration value.

 

Since: 1.0

 

 

 

YValueIndex

 

public final int YValueIndex

 

Index of Y value.

 

Since: 1.0

 

 

 

SizeValueIndex

 

public final int SizeValueIndex

 

Index of size value.

 

Since: 1.0

 

 

 

LowValueIndex

 

public final int LowValueIndex

 

Index of low value.

 

Since: 1.0

 

 

 

HighValueIndex

 

public final int HighValueIndex

 

Index of high value.

 

Since: 1.0

 

 

 

OpenValueIndex

 

public final int OpenValueIndex

 

Index of opening value.

 

Since: 1.0

 

 

 

CloseValueIndex

 

public final int CloseValueIndex

 

Index of closing value.

 

Since: 1.0

 

 

 

 

ChartPointDeclaration

 

public ChartPointDeclaration( ChartPointDeclaration.Usage... usages)

 

Initializes a new instance of ChartPointDeclaration class using specified usages.

 

Parameters:
usages-
set of usages to initialize point Y values match.

 

Since: 1.0

 

 

 

 

getIndices

 

public int[] getIndices( ChartPointDeclaration.Usage... usages)

 

Gets array of indices corresponding to specified usages.

 

Parameters:
usages-
set of usages that should processed for indices retrieval.
Returns:
array of corresponding indices.

 

Since: 1.0

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.