Summ:  Values Methods    Details:  Values Methods      Class:  Prev Next
com.artfulbits.aiCharts.Base
Enum ChartAxisScale.IntervalType

java.lang.Object java.lang.Enum<ChartAxisScale.IntervalType> com.artfulbits.aiCharts.Base.ChartAxisScale.IntervalType

Declaration: public static enum ChartAxisScale.IntervalType extends Enum<ChartAxisScale.IntervalType>
Enclosing Class: ChartAxisScale
All Interfaces: java.lang.Comparable<ChartAxisScale.IntervalType>, java.io.Serializable

 

Represents type of interval used by ChartAxisScale.

 

Since: 1.5

 

 

Values Summary
Days
    
Axis interval will be determined in days.
Double
    
Double values will be used for axis interval.
Hours
    
Axis interval will be determined in hours.
Miliseconds
    
Axis interval will be determined in milliseconds.
Minutes
    
Axis interval will be determined in minutes.
Mounth
    
Axis interval will be determined in months.
Seconds
    
Axis interval will be determined in seconds.
Years
    
Axis interval will be determined in years.

 

 

Methods Summary
static ChartAxisScale.IntervalType valueOf(java.lang.String name)
    
Returns the enum constant of this type with the specified name.
static ChartAxisScale.IntervalType[] values()
    
Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class: java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

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

 

 

 

 

Double

 

public static final ChartAxisScale.IntervalType Double

 

Double values will be used for axis interval.

 

Since: 1.5

 

 

 

Miliseconds

 

public static final ChartAxisScale.IntervalType Miliseconds

 

Axis interval will be determined in milliseconds.

 

Since: 1.5
See also: ChartAxisScale.setInterval(Double,ChartAxisScale.IntervalType)ChartAxisScale.setIntervalType(ChartAxisScale.IntervalType)

 

 

 

Seconds

 

public static final ChartAxisScale.IntervalType Seconds

 

Axis interval will be determined in seconds.

 

Since: 1.5
See also: ChartAxisScale.setInterval(Double,ChartAxisScale.IntervalType)ChartAxisScale.setIntervalType(ChartAxisScale.IntervalType)

 

 

 

Minutes

 

public static final ChartAxisScale.IntervalType Minutes

 

Axis interval will be determined in minutes.

 

Since: 1.5
See also: ChartAxisScale.setInterval(Double,ChartAxisScale.IntervalType)ChartAxisScale.setIntervalType(ChartAxisScale.IntervalType)

 

 

 

Hours

 

public static final ChartAxisScale.IntervalType Hours

 

Axis interval will be determined in hours.

 

Since: 1.5
See also: ChartAxisScale.setInterval(Double,ChartAxisScale.IntervalType)ChartAxisScale.setIntervalType(ChartAxisScale.IntervalType)

 

 

 

Days

 

public static final ChartAxisScale.IntervalType Days

 

Axis interval will be determined in days.

 

Since: 1.5
See also: ChartAxisScale.setInterval(Double,ChartAxisScale.IntervalType)ChartAxisScale.setIntervalType(ChartAxisScale.IntervalType)

 

 

 

Mounth

 

public static final ChartAxisScale.IntervalType Mounth

 

Axis interval will be determined in months.

 

Since: 1.5
See also: ChartAxisScale.setInterval(Double,ChartAxisScale.IntervalType)ChartAxisScale.setIntervalType(ChartAxisScale.IntervalType)

 

 

 

Years

 

public static final ChartAxisScale.IntervalType Years

 

Axis interval will be determined in years.

 

Since: 1.5
See also: ChartAxisScale.setInterval(Double,ChartAxisScale.IntervalType)ChartAxisScale.setIntervalType(ChartAxisScale.IntervalType)

 

 

 

 

values

 

public static ChartAxisScale.IntervalType[] values( )

 

Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
    for (ChartAxisScale.IntervalType c : ChartAxisScale.IntervalType.values())
        System.out.println(c);

 

Returns:
an array containing the constants of this enum type, in the order they are declared

 

 

 

valueOf

 

public static ChartAxisScale.IntervalType valueOf( java.lang.String name)

 

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. Extraneous whitespace characters are not permitted.

 

Parameters:
name-
the name of the enum constant to be returned
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.