lt.monarch.chart.chart3D.series
Class Vector3DStrategy

java.lang.Object
  extended by lt.monarch.chart.chart3D.series.AbstractVector3DStrategy<Projector>
      extended by lt.monarch.chart.chart3D.series.Vector3DStrategy
All Implemented Interfaces:
java.io.Serializable

public class Vector3DStrategy
extends AbstractVector3DStrategy<Projector>

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.chart3D.series.AbstractVector3DStrategy
baseValue, dirty, isConnected, mapper, metaModel, minMaxValues, model, paintMode, planePoint, projector, showNullValues, style, tempPoint, xMapper, yMapper, zMapper, zoomMultiplier
 
Constructor Summary
Constructor and Description
Vector3DStrategy()
           
 
Method Summary
Modifier and Type Method and Description
 void dispose()
          Disposes the object
 void draw(AbstractGraphics g, Projector projector, PlaneMapper3D mapper, HotSpotMap hotMap, boolean showNullValues, Style style, java.lang.Object baseValue, Vector3DSeries series)
          Draws the series in the chart area.
 void drawPrimitive(AbstractGraphics g, int index, Projector3D projector, HotSpotMap hotMap, boolean showNullValues, java.lang.Object baseValue, Vector3DSeries series, Pole3D pole, Cone3D cone)
           
protected  void fixStyles()
           
 double getConeLength()
          Return height of vector cone
 double getConeRadius()
          Return radius of vector cone
 int getPointCount()
          Return point count of vector segment
 double getPoleRadius()
          Return radius of vector pole
 boolean isFillConeBottom()
          Return true, if bottom of cone is fill, otherwise return false
 void setConeLength(double coneLength)
          Set length of vector cone
 void setConeRadius(double coneRadius)
          Set radius of vector cone
 void setFillConeBottom(boolean isFillConeBottom)
          Set true, if bottom of cone is fill, otherwise - false
 void setPointCount(int pointCount)
          Set point count of vector segment
 void setPoleRadius(double poleRadius)
          Set radius of vector pole
 
Methods inherited from class lt.monarch.chart.chart3D.series.AbstractVector3DStrategy
finalize, getMinMaxValues, projectPoint
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vector3DStrategy

public Vector3DStrategy()
Method Detail

draw

public void draw(AbstractGraphics g,
                 Projector projector,
                 PlaneMapper3D mapper,
                 HotSpotMap hotMap,
                 boolean showNullValues,
                 Style style,
                 java.lang.Object baseValue,
                 Vector3DSeries series)
Description copied from class: AbstractVector3DStrategy
Draws the series in the chart area.

Overrides:
draw in class AbstractVector3DStrategy<Projector>
Parameters:
g - graphics context
projector - projector instance
mapper - plane mapper
hotMap - hot spot map
showNullValues - boolean value indicating whether to show the null values
style - style object
baseValue - base value
series - scatter series instance

drawPrimitive

public void drawPrimitive(AbstractGraphics g,
                          int index,
                          Projector3D projector,
                          HotSpotMap hotMap,
                          boolean showNullValues,
                          java.lang.Object baseValue,
                          Vector3DSeries series,
                          Pole3D pole,
                          Cone3D cone)

dispose

public void dispose()
Description copied from class: AbstractVector3DStrategy
Disposes the object

Specified by:
dispose in class AbstractVector3DStrategy<Projector>

fixStyles

protected void fixStyles()

getPoleRadius

public double getPoleRadius()
Return radius of vector pole

Returns:
the poleRadius

setPoleRadius

public void setPoleRadius(double poleRadius)
Set radius of vector pole

Parameters:
poleRadius - the poleRadius to set

getConeLength

public double getConeLength()
Return height of vector cone

Returns:
the coneHeight

setConeLength

public void setConeLength(double coneLength)
Set length of vector cone

Parameters:
coneLength - the length to set [0.0;1.0]

getConeRadius

public double getConeRadius()
Return radius of vector cone

Returns:
the coneRadius

setConeRadius

public void setConeRadius(double coneRadius)
Set radius of vector cone

Parameters:
coneRadius - the coneRadius to set

isFillConeBottom

public boolean isFillConeBottom()
Return true, if bottom of cone is fill, otherwise return false

Returns:
the isFillConeBottom

setFillConeBottom

public void setFillConeBottom(boolean isFillConeBottom)
Set true, if bottom of cone is fill, otherwise - false

Parameters:
isFillConeBottom - the isFillConeBottom to set

getPointCount

public int getPointCount()
Return point count of vector segment

Returns:
the pointCount

setPointCount

public void setPointCount(int pointCount)
Set point count of vector segment

Parameters:
pointCount - the pointCount to set