|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.data.Axes<T>
public class Axes<T extends CoordAxis>
Encapsulates the axes / the dimensions of some data.
Field Summary | |
---|---|
private java.util.List<T> |
axes
|
private T |
layerAxis
|
static int |
TIME_STEP_NOT_FOUND
|
private T |
timeAxis
|
private T |
xAxis
|
private T |
yAxis
|
Constructor Summary | |
---|---|
Axes()
Creates an empty set of axes. |
|
Axes(java.util.List<T> axes)
|
Method Summary | |
---|---|
java.util.List<T> |
getAxes()
Gets all the axis in this Axes object. |
T |
getAxis(AxisType type)
Gets the first axis of the specified type. |
T |
getAxis(java.lang.String name)
Gets the named axis. |
java.util.Date |
getDate(int timestep)
Returns the Date for the specified timestep. |
java.util.Date |
getEndDate()
Gets the ending date of the time axis. |
T |
getNonTimeAxis()
Assumes only two axes and gets the non-time axis. |
java.util.Date |
getStartDate()
Gets the starting date of the time axis. |
T |
getTimeAxis()
Gets meta data for the time axis. |
int |
getTimeStep(java.util.Date date)
Gets the timestep that corresponds to the specified date. |
T |
getXAxis()
Gets meta data for the x-axis. |
T |
getYAxis()
Gets meta data for the y-axis. |
T |
getZAxis()
Gets meta data for the z or layer axis. |
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TIME_STEP_NOT_FOUND
private T extends CoordAxis xAxis
private T extends CoordAxis yAxis
private T extends CoordAxis timeAxis
private T extends CoordAxis layerAxis
private java.util.List<T extends CoordAxis> axes
Constructor Detail |
---|
public Axes()
public Axes(java.util.List<T> axes)
Method Detail |
---|
public int size()
public T getNonTimeAxis()
public java.util.Date getDate(int timestep)
timestep
- the time step we want the date for.
public java.util.Date getStartDate()
public java.util.Date getEndDate()
public int getTimeStep(java.util.Date date)
date
- the date whose time step we want
public java.util.List<T> getAxes()
public T getAxis(AxisType type)
type
- the type of axis to get
public T getAxis(java.lang.String name)
name
- the name of the axis to get
public T getZAxis()
public T getTimeAxis()
public T getXAxis()
public T getYAxis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |