lt.monarch.chart.chart3D.series
Class Vector3DSeries

java.lang.Object
  extended by lt.monarch.chart.engine.AbstractChartObject<Tags>
      extended by lt.monarch.chart.AbstractChartSeries<Tags,ChartProjector>
          extended by lt.monarch.chart.chart3D.series.MarkerDecorableSeries3D<AbstractPaintTags,Projector3D>
              extended by lt.monarch.chart.chart3D.series.Vector3DSeries
All Implemented Interfaces:
java.io.Serializable, AbstractMarkerSeries, ChartEntity, ChartObject, ChartSeries, StyleEditorEntity

public class Vector3DSeries
extends MarkerDecorableSeries3D<AbstractPaintTags,Projector3D>

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
protected  PlaneMapper3D mapper
          the plane mapper
 
Fields inherited from class lt.monarch.chart.chart3D.series.MarkerDecorableSeries3D
baseValue, colorMapper, markerPainter, markers, model, pseudoModel
 
Fields inherited from class lt.monarch.chart.AbstractChartSeries
metaModel, modelValidator, seriesName, seriesTransform, showLegend, showNullValues, symbol, xMapper, yMapper, zMapper
 
Fields inherited from class lt.monarch.chart.engine.AbstractChartObject
AXIS_SORT_POSITION, BREAK_LINE_POSITION, DEFAULT_SORT_POSITION, GRID_SORT_POSITION, MARKER_SERIES_SORT_POSITION, MARKERS_SORT_POSITION, paintStyle, SERIES_SORT_POSITION, sortPosition, style
 
Constructor Summary
Constructor and Description
Vector3DSeries(ArrayDataModel model, AxisMapper xMapper, AxisMapper yMapper, AxisMapper zMapper)
          Line series constructor without a meta data model and default plane mapper is for Cartesian coordinates.
Vector3DSeries(ArrayDataModel model, MetaDataModel metaModel, AxisMapper xMapper, AxisMapper yMapper, AxisMapper zMapper)
          Constructs a new Line series.
Vector3DSeries(ArrayDataModel model, MetaDataModel metaModel, PlaneMapper3D mapper, AxisMapper xMapper, AxisMapper yMapper, AxisMapper zMapper)
          Constructs a new vector series
Vector3DSeries(ArrayDataModel model, PlaneMapper3D mapper, AxisMapper xMapper, AxisMapper yMapper, AxisMapper zMapper)
          Vector series constructor without a meta data model
 
Method Summary
Modifier and Type Method and Description
 void draw(AbstractGraphics g)
          Draws the 3D vectors
 MarkerConstraints[] getMarkerConstraints()
          Returns series marker constraints.
 java.lang.Object getMaxValue(DataColumnType valType)
          Note: internal use only! Gets maximum value that is used by series to fit into the chart
 java.lang.Object getMinValue(DataColumnType valType)
          Note: internal use only! Gets minimum value that is used by series to fit into the chart
 AbstractVector3DStrategy<Projector> getStrategy()
          Gets line drawing strategy.
protected  void initLegendSymbol()
          Initializes a new VectorSeries3DLegendSymbol used for representing vector3D series in legend.
 
Methods inherited from class lt.monarch.chart.chart3D.series.MarkerDecorableSeries3D
addMarker, addMarker, addMarker, drawMarkers, drawMarkers, getBaseValue, getColorMapper, getKeyType, getPaintMode, getSortPosition, setBaseValue, setColorMapper, setPaintMode
 
Methods inherited from class lt.monarch.chart.AbstractChartSeries
activate, checkDataModelRequirements, createLegendEntries, createLegendEntry, createLegendSymbol, deactivate, fillEntitySheet, getChartObjectBounds, getDataModel, getDescription, getMetaDataModel, getModelValidator, getName, getNearestChildEntity, getParentEntity, getProjector, getSeriesColor, getShortDescription, getShowNullValues, getXMapper, getYMapper, getZMapper, handleDataModelChangeEvent, setLegendSymbol, setName, setShowNullValues, setValidateData, showLegend, updateClippingToProjector
 
Methods inherited from class lt.monarch.chart.engine.AbstractChartObject
chart, copy, dispose, finalize, getChart, getPaintStyle, getParent, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface lt.monarch.chart.engine.ChartObject
dispose, getChart, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart
 
Methods inherited from interface lt.monarch.chart.engine.StyleEditorEntity
getParent, getStyle
 

Field Detail

mapper

protected PlaneMapper3D mapper
the plane mapper

Constructor Detail

Vector3DSeries

public Vector3DSeries(ArrayDataModel model,
                      MetaDataModel metaModel,
                      PlaneMapper3D mapper,
                      AxisMapper xMapper,
                      AxisMapper yMapper,
                      AxisMapper zMapper)
Constructs a new vector series

Parameters:
model - chart data model
metaModel - meta data model
mapper - mapper, used to map output to a plane in a n-dimensional space
xMapper - x axis mapper
yMapper - y axis mapper
zMapper - z axis mapper

Vector3DSeries

public Vector3DSeries(ArrayDataModel model,
                      PlaneMapper3D mapper,
                      AxisMapper xMapper,
                      AxisMapper yMapper,
                      AxisMapper zMapper)
Vector series constructor without a meta data model

Parameters:
model - chart data model
mapper - mapper, used to map output to a plane in a n-dimensional space
xMapper - x axis mapper
yMapper - y axis mapper
zMapper - z axis mapper

Vector3DSeries

public Vector3DSeries(ArrayDataModel model,
                      AxisMapper xMapper,
                      AxisMapper yMapper,
                      AxisMapper zMapper)
Line series constructor without a meta data model and default plane mapper is for Cartesian coordinates.

Parameters:
model - chart data model
xMapper - x axis mapper
yMapper - y axis mapper
zMapper - z axis mapper

Vector3DSeries

public Vector3DSeries(ArrayDataModel model,
                      MetaDataModel metaModel,
                      AxisMapper xMapper,
                      AxisMapper yMapper,
                      AxisMapper zMapper)
Constructs a new Line series. The default plane mapper is used for Cartesian coordinate system.

Parameters:
model - chart data model
metaModel - meta data model
xMapper - x axis mapper
yMapper - y axis mapper
zMapper - z axis mapper
Method Detail

draw

public void draw(AbstractGraphics g)
Draws the 3D vectors

Specified by:
draw in interface ChartObject
Overrides:
draw in class MarkerDecorableSeries3D<AbstractPaintTags,Projector3D>
Parameters:
g - Graphics context

initLegendSymbol

protected void initLegendSymbol()
Initializes a new VectorSeries3DLegendSymbol used for representing vector3D series in legend.


getMarkerConstraints

public MarkerConstraints[] getMarkerConstraints()
Description copied from class: MarkerDecorableSeries3D
Returns series marker constraints.

Specified by:
getMarkerConstraints in class MarkerDecorableSeries3D<AbstractPaintTags,Projector3D>
Returns:
Series marker constraints.

getMaxValue

public java.lang.Object getMaxValue(DataColumnType valType)
Description copied from class: AbstractChartSeries
Note: internal use only! Gets maximum value that is used by series to fit into the chart

Specified by:
getMaxValue in class AbstractChartSeries<AbstractPaintTags,Projector3D>
Parameters:
valType - data value column
Returns:
maximum value needed

getMinValue

public java.lang.Object getMinValue(DataColumnType valType)
Description copied from class: AbstractChartSeries
Note: internal use only! Gets minimum value that is used by series to fit into the chart

Specified by:
getMinValue in class AbstractChartSeries<AbstractPaintTags,Projector3D>
Parameters:
valType - data value column
Returns:
minimum value needed

getStrategy

public AbstractVector3DStrategy<Projector> getStrategy()
Gets line drawing strategy.

Returns:
line drawing strategy