com.approximatrix.charting.coordsystem
Class InvisibleCoordSystem

java.lang.Object
  extended by com.approximatrix.charting.render.AbstractRenderer
      extended by com.approximatrix.charting.coordsystem.AbstractCoordSystem
          extended by com.approximatrix.charting.coordsystem.ClassicCoordSystem
              extended by com.approximatrix.charting.coordsystem.InvisibleCoordSystem
All Implemented Interfaces:
CoordSystem, ChartDataModelListener, Renderer, java.util.EventListener

public class InvisibleCoordSystem
extends ClassicCoordSystem

Implements a complete calculating coordinate system via extending ClassicCoordSystem, but overrides the drawing to hide the actual coordinate system on viewable Graphics2D objects. This coordinate system is ideal for radar and pie charts.

Author:
jarmstrong

Field Summary
 
Fields inherited from class com.approximatrix.charting.coordsystem.ClassicCoordSystem
ARROWLENGTH, c, constraints, constraints2, frc, MINIMALMARGIN, model, shouldDrawArrows, shouldPaintAltTick
 
Fields inherited from class com.approximatrix.charting.coordsystem.AbstractCoordSystem
bottommargin, bounds, centerObjectLabelsBetweenTicks, dfX, dfY, leftmargin, listener, rightmargin, shouldPaintAxes, shouldPaintGrid, shouldPaintLabels, shouldPaintOnlyTick, tickFont, topmargin, unitFont, xaxis, xaxis_unit, y1transform, y2transform, yaxis, yaxis_unit, yaxis2
 
Fields inherited from interface com.approximatrix.charting.coordsystem.CoordSystem
FIRST_YAXIS, SECOND_YAXIS
 
Constructor Summary
InvisibleCoordSystem(ChartDataModel cdm)
          Constructs an invisible coordinate system using the passed data model.
 
Method Summary
 void paintDefault(java.awt.Graphics2D g)
          Overrides the ClassicCoordSystem painting to return immediately without actually painting anything.
 
Methods inherited from class com.approximatrix.charting.coordsystem.ClassicCoordSystem
chartDataChanged, computeBottomMargin, computeLeftMargin, computeRightMargin, computeTopMargin, getChartDataModelConstraints, getFontRenderContext, getMaximumXTicks, getMaximumYTicks, getXDecimalFormat, getYDecimalFormat, isDrawArrows, isPaintAltTick, resetMaximumXTicks, resetMaximumYTicks, setMaximumXTicks, setMaximumYTicks
 
Methods inherited from class com.approximatrix.charting.coordsystem.AbstractCoordSystem
addRenderChangeListener, clearRenderChangeListeners, fireRenderChangeEvent, getBottomMargin, getBounds, getDefaultTransform, getFirstYAxis, getFont, getInnerBounds, getLeftMargin, getPaintGrid, getPreferredSize, getRightMargin, getSecondYAxis, getTickFont, getTopMargin, getTransform, getUnitFont, getXAxis, getXAxisUnit, getYAxisUnit, isCenterLabelsBetweenTicks, isPaintAxes, isPaintGrid, isPaintLabels, isPaintOnlyTick, removeRenderChangeListener, render, setBottomMargin, setBounds, setCenterLabelsBetweenTicks, setFirstYAxis, setFont, setLeftMargin, setPaintAxes, setPaintGrid, setPaintLabels, setRightMargin, setSecondYAxis, setTickFont, setTopMargin, setTransform, setTransforms, setUnitFont, setXAxis, setXAxisUnit, setXDecimalFormat, setYAxisUnit, setYDecimalFormat
 
Methods inherited from class com.approximatrix.charting.render.AbstractRenderer
getDirectRender, isDifferentBounds, setDirectRender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvisibleCoordSystem

public InvisibleCoordSystem(ChartDataModel cdm)
Constructs an invisible coordinate system using the passed data model. Passes directly through to ClassicCoordSystem.

Parameters:
cdm - the chart data model
Method Detail

paintDefault

public void paintDefault(java.awt.Graphics2D g)
Overrides the ClassicCoordSystem painting to return immediately without actually painting anything.

Specified by:
paintDefault in interface CoordSystem
Overrides:
paintDefault in class ClassicCoordSystem
Parameters:
g - the Graphics2D object to paint in.