Summ:  Fields Constr. Methods    Details:  Fields Constr. Methods      Class:  Constants 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

 

 

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.
static int USAGE_CLOSE
    
Value determines closing part of presented point.
static int USAGE_HIGH
    
Value determines high part of represented point.
static int USAGE_LOW
    
Value determines low part of represented point.
static int USAGE_OPEN
    
Value determines opening part of presented point.
static int USAGE_SIZE
    
Value determines size.
static int USAGE_Y
    
Value should be considered as Y axis value determining point's position
int YValueIndex
    
Index of Y value.

 

 

Constructors Summary
ChartPointDeclaration(int[] usages)
    
Initializes a new instance of ChartPointDeclaration class using specified usages.

 

 

Methods Summary
int[] getIndices(int[] 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

 

 

 

 

USAGE_Y

 

public static final int USAGE_Y

 

Value should be considered as Y axis value determining point's position

 

Since: 1.0
See also: Constants

 

 

 

USAGE_SIZE

 

public static final int USAGE_SIZE

 

Value determines size.

 

Since: 1.0
See also: Constants

 

 

 

USAGE_LOW

 

public static final int USAGE_LOW

 

Value determines low part of represented point.

 

Since: 1.0
See also: Constants

 

 

 

USAGE_HIGH

 

public static final int USAGE_HIGH

 

Value determines high part of represented point.

 

Since: 1.0
See also: Constants

 

 

 

USAGE_OPEN

 

public static final int USAGE_OPEN

 

Value determines opening part of presented point.

 

Since: 1.0
See also: Constants

 

 

 

USAGE_CLOSE

 

public static final int USAGE_CLOSE

 

Value determines closing part of presented point.

 

Since: 1.0
See also: Constants

 

 

 

Default

 

public static final ChartPointDeclaration Default

 

Default point declaration value.

 

 

 

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( int[] 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( int[] 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.