|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.das2.dataset.AbstractDataSet
org.das2.dataset.AbstractDataSet.ViewDataSet
org.das2.dataset.AbstractTableDataSet.XSliceDataSet
protected static class AbstractTableDataSet.XSliceDataSet
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.das2.dataset.AbstractDataSet |
|---|
AbstractDataSet.ViewDataSet |
| Field Summary |
|---|
| Fields inherited from interface org.das2.dataset.DataSet |
|---|
PROPERTY_CACHE_TAG, PROPERTY_FORMATTER, PROPERTY_PLANE_PEAKS, PROPERTY_PLANE_WEIGHTS, PROPERTY_RENDERER, PROPERTY_SIZE_BYTES, PROPERTY_X_LABEL, PROPERTY_X_MONOTONIC, PROPERTY_X_RANGE, PROPERTY_X_TAG_WIDTH, PROPERTY_Y_LABEL, PROPERTY_Y_RANGE, PROPERTY_Y_SCALETYPE, PROPERTY_Y_TAG_WIDTH, PROPERTY_Z_LABEL, PROPERTY_Z_RANGE, PROPERTY_Z_SCALETYPE |
| Constructor Summary | |
|---|---|
protected |
AbstractTableDataSet.XSliceDataSet(AbstractDataSet ds,
int i)
|
| Method Summary | |
|---|---|
Datum |
getDatum(int i)
Returns the Y value for the given index into the x tags as a Datum. |
double |
getDouble(int i,
Units units)
Returns the Y value for the given index into the x tags as a double with the given units. |
int |
getInt(int i,
Units units)
Returns the Y value for the given index into the x tags as a int with the given units. |
DataSet |
getPlanarView(java.lang.String planeID)
Returns a DataSet with the specified view as the primary
view. |
java.lang.String[] |
getPlaneIds()
Returns a list of auxillary planes (e.g. |
java.util.Map |
getProperties()
Returns all dataset properties in a Map. |
java.lang.Object |
getProperty(java.lang.String name)
Returns the value of the property that name represents |
int |
getXLength()
Returns the number of x tags in this data set. |
Datum |
getXTagDatum(int i)
Returns the value of the x tag at the given index i as a Datum. |
double |
getXTagDouble(int i,
Units units)
Returns the value of the x tag at the given index i as a double in the given units. |
int |
getXTagInt(int i,
Units units)
Returns the value of the x tag at the given index i as an int in the given units. |
Units |
getXUnits()
Returns the Units object representing the unit type of the x tags for this data set. |
Units |
getYUnits()
Returns the Units object representing the unit type of the y tags or y values for this data set. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractTableDataSet.XSliceDataSet(AbstractDataSet ds,
int i)
| Method Detail |
|---|
public DataSet getPlanarView(java.lang.String planeID)
DataSetDataSet with the specified view as the primary
view.
getPlanarView in interface DataSetplaneID - the String id of the requested plane.
DataSetpublic java.lang.String[] getPlaneIds()
DataSet
getPlaneIds in interface DataSetpublic Datum getDatum(int i)
VectorDataSetDatum.
getDatum in interface VectorDataSeti - index of the x tag for the requested value.
Datum
public double getDouble(int i,
Units units)
VectorDataSetdouble with the given units.
getDouble in interface VectorDataSeti - index of the x tag for the requested value.units - the units the returned value should be coverted to.
double.
public int getInt(int i,
Units units)
VectorDataSetint with the given units.
getInt in interface VectorDataSeti - index of the x tag for the requested value.units - the units the returned value should be coverted to.
int.public Datum getXTagDatum(int i)
DataSetDatum.
- Specified by:
getXTagDatum in interface DataSet- Overrides:
getXTagDatum in class AbstractDataSet.ViewDataSet
- Parameters:
i - the index of the requested x tag
- Returns:
- the value of the x tag at the given index i as a
Datum.
public int getXLength()
DataSet
getXLength in interface DataSetgetXLength in class AbstractDataSet.ViewDataSetpublic Units getXUnits()
AbstractDataSet.ViewDataSet
getXUnits in interface DataSetgetXUnits in class AbstractDataSet.ViewDataSet
public double getXTagDouble(int i,
Units units)
DataSetdouble in the given units. XTags must be
monotonically increasing with i.
- Specified by:
getXTagDouble in interface DataSet- Overrides:
getXTagDouble in class AbstractDataSet.ViewDataSet
- Parameters:
i - the index of the requested x tagunits - the units of the returned value
- Returns:
- the value of the x tag at the given index i as a
double.
public Units getYUnits()
AbstractDataSet.ViewDataSet
getYUnits in interface DataSetgetYUnits in class AbstractDataSet.ViewDataSet
public int getXTagInt(int i,
Units units)
DataSetint in the given units. XTags must be
monotonically increasing with i.
- Specified by:
getXTagInt in interface DataSet- Overrides:
getXTagInt in class AbstractDataSet.ViewDataSet
- Parameters:
i - the index of the requested x tagunits - the units of the returned value.
- Returns:
- the value of the x tag at the given index i as an
int.
public java.lang.Object getProperty(java.lang.String name)
AbstractDataSet.ViewDataSetname represents
getProperty in interface DataSetgetProperty in class AbstractDataSet.ViewDataSetname - String name of the property requested
name representspublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Map getProperties()
DataSet
getProperties in interface DataSetgetProperties in class AbstractDataSet.ViewDataSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||