com.davisor.graphics.chart
Class ShapeFactory.ShapeContext

java.lang.Object
  extended bycom.davisor.graphics.chart.ChartFactory.ChartContext
      extended bycom.davisor.graphics.chart.AxisFactory.AxisContext
          extended bycom.davisor.graphics.chart.ShapeFactory.ShapeContext
Enclosing class:
ShapeFactory

public class ShapeFactory.ShapeContext
extends AxisFactory.AxisContext

ShapeContext implements a shape factory specific axis context.


Field Summary
 boolean bubble
           
 float bubbleScale
           
 float bubbleXSize
           
 float bubbleYSize
           
 DataRenderAttributes[][] channel
           
 boolean enclose
           
 DataRenderAttributes[] group
           
 int lastPlotShapeChannel
           
 float maxBounds
           
 java.awt.Shape[][][] pointShape
           
 java.awt.Stroke[][][] pointStroke
           
 Type[] shapeChannelTypes
           
 boolean[] subChannels
           
 
Fields inherited from class com.davisor.graphics.chart.AxisFactory.AxisContext
additionalValues, altChannels, altType, attr, colorChannels, colorChannelTypes, index, isometric, labelFont, labelOffsets, labelSizes, labelType, lastPlotColorChannel, lastPlotPaintChannel, markerOffsets, markerSizes, paintChannels, paintChannelTypes, plot, plotLineColor, plotLinePaint, plotLineStroke, plotPointColor, plotPointPaint, plotPointStroke, plotValueColor, plotValueFont, plotValuePaint, positionChannels, scale, summary, titleFont, titleSizes, urlChannels, urlChannelType, urlType, valueChannels, valueType
 
Fields inherited from class com.davisor.graphics.chart.ChartFactory.ChartContext
data
 
Constructor Summary
ShapeFactory.ShapeContext(ChartData data, ChartAttributes attr, PlotRenderAttributes plot, ChartDataSummary summary, java.awt.Font[] labelFont, java.awt.Font[] titleFont, Type[] colorChannelTypes, int lastPlotColorChannel, Type[] paintChannelTypes, int lastPlotPaintChannel, Type urlChannelType, EnumType labelType, int[] valueChannels, int[] colorChannels, int[] paintChannels, int[] urlChannels, int[] altChannels, int[] positionChannels, float[] labelOffsets, float[] markerOffsets, float[][] titleSizes, boolean isometric, short index)
          Creates a new axis context.
ShapeFactory.ShapeContext(ChartData data, ChartAttributes attr, PlotRenderAttributes plot, ChartDataSummary summary, java.awt.Font[] labelFont, java.awt.Font[] titleFont, Type colorChannelType, Type paintChannelType, Type urlChannelType, EnumType labelType, int[] valueChannels, int[] colorChannels, int[] paintChannels, int[] urlChannels, int[] altChannels, int[] positionChannels, float[] labelOffsets, float[] markerOffsets, float[][] titleSizes, boolean isometric, short index)
          Deprecated.  
 
Methods inherited from class com.davisor.graphics.chart.AxisFactory.AxisContext
set, setLabelSizes, setMargins, setMarkerSizes, setMarkerSizes, setScale, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

enclose

public boolean enclose

bubble

public boolean bubble

bubbleXSize

public float bubbleXSize

bubbleYSize

public float bubbleYSize

bubbleScale

public float bubbleScale

maxBounds

public float maxBounds

lastPlotShapeChannel

public int lastPlotShapeChannel

subChannels

public boolean[] subChannels

group

public DataRenderAttributes[] group

shapeChannelTypes

public Type[] shapeChannelTypes

channel

public DataRenderAttributes[][] channel

pointShape

public java.awt.Shape[][][] pointShape

pointStroke

public java.awt.Stroke[][][] pointStroke
Constructor Detail

ShapeFactory.ShapeContext

public ShapeFactory.ShapeContext(ChartData data,
                                 ChartAttributes attr,
                                 PlotRenderAttributes plot,
                                 ChartDataSummary summary,
                                 java.awt.Font[] labelFont,
                                 java.awt.Font[] titleFont,
                                 Type colorChannelType,
                                 Type paintChannelType,
                                 Type urlChannelType,
                                 EnumType labelType,
                                 int[] valueChannels,
                                 int[] colorChannels,
                                 int[] paintChannels,
                                 int[] urlChannels,
                                 int[] altChannels,
                                 int[] positionChannels,
                                 float[] labelOffsets,
                                 float[] markerOffsets,
                                 float[][] titleSizes,
                                 boolean isometric,
                                 short index)
Deprecated.  

Creates a new axis context. The context will initially contains all information necessary to resolve final chart image size. After that, the context may be upgraded with additional information only available after the final chart image size and partition has been computed.

See Also:
ShapeFactory.ShapeContext(ChartData,ChartAttributes, PlotRenderAttributes,ChartDataSummary,Font[],Font[],Type[],int, Type[],int,Type,EnumType,int[],int[],int[],int[],int[],int[], float[],float[],float[][],boolean,short)

ShapeFactory.ShapeContext

public ShapeFactory.ShapeContext(ChartData data,
                                 ChartAttributes attr,
                                 PlotRenderAttributes plot,
                                 ChartDataSummary summary,
                                 java.awt.Font[] labelFont,
                                 java.awt.Font[] titleFont,
                                 Type[] colorChannelTypes,
                                 int lastPlotColorChannel,
                                 Type[] paintChannelTypes,
                                 int lastPlotPaintChannel,
                                 Type urlChannelType,
                                 EnumType labelType,
                                 int[] valueChannels,
                                 int[] colorChannels,
                                 int[] paintChannels,
                                 int[] urlChannels,
                                 int[] altChannels,
                                 int[] positionChannels,
                                 float[] labelOffsets,
                                 float[] markerOffsets,
                                 float[][] titleSizes,
                                 boolean isometric,
                                 short index)
Creates a new axis context. The context will initially contains all information necessary to resolve final chart image size. After that, the context may be upgraded with additional information only available after the final chart image size and partition has been computed.

Parameters:
data - chart data
attr - chart attributes
plot - local plot area attributes
summary - chart data summary
labelFont - axis label fonts [X,Y,Z,...]
titleFont - axis title fonts [X,Y,Z,...]
colorChannelTypes - color data channel types
lastPlotColorChannel - last color channel for plot
paintChannelTypes - paint data channel types
lastPlotPaintChannel - last paint channel for plot
urlChannelType - annotation URL address data channel type
labelType - label data access type (may be null)
valueChannels - value data channel indexes
colorChannels - color data channel indexes
paintChannels - paint data channel indexes
urlChannels - annotation URL address data channel indexes
altChannels - annotation description text data channel indexes
positionChannels - category position value data channel indexes
labelOffsets - axis label offsets ([x,y,z])
titleSizes - axis title sizes ([x,y][w,h])
isometric - isometric mode indicator
index - context index among other indexes


Copyright © 2001-2004 Davisor Oy. All Rights Reserved.