JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.beans
Class PolarRadarWrapper

java.lang.Object
  |
  +--com.klg.jclass.chart.beans.PolarRadarWrapper
All Implemented Interfaces:
Serializable

public class PolarRadarWrapper
extends Object
implements Serializable

Wrapper class for Polar/Radar properties. Used by the MultiChart bean.

See Also:
Serialized Form

Field Summary
protected  int angleUnit
           
protected  boolean circularGrid
           
protected  boolean halfRange
           
protected  double originBase
           
protected  double yAxisAngle
           
 
Constructor Summary
PolarRadarWrapper()
          Default constructor.
PolarRadarWrapper(double originBase, double yAxisAngle, int angleUnitInteger, boolean halfRangeBoolean, boolean circularGridBoolean)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 void setPropertyValues(com.klg.jclass.chart.JCPolarRadarChartFormat cf, com.klg.jclass.chart.JCChartArea ca)
          Sets Polar/Radar properties using methods provided by the JCPolarRadarChartFormat and JCChartArea objects.
 void setWrapperValues(com.klg.jclass.chart.JCPolarRadarChartFormat cf, com.klg.jclass.chart.JCChartArea ca)
          Stores Polar/Radar properties.
 String toString()
          Convert properties to string for code generation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

originBase

protected double originBase

yAxisAngle

protected double yAxisAngle

angleUnit

protected int angleUnit

halfRange

protected boolean halfRange

circularGrid

protected boolean circularGrid
Constructor Detail

PolarRadarWrapper

public PolarRadarWrapper()
Default constructor.


PolarRadarWrapper

public PolarRadarWrapper(double originBase,
                         double yAxisAngle,
                         int angleUnitInteger,
                         boolean halfRangeBoolean,
                         boolean circularGridBoolean)
Constructor.

Parameters:
originBase - origin base angle.
yAxisAngle - y axis angle.
angleUnitInteger - JCChartUtil.DEGREES, JCChartUtil.RADIANS, or JCChartUtil.GRADS.
halfRangeBoolean - If true, the theta axis of a Polar chart will show half-range values (0 to 180, 0 to -180).
circularGridBoolean - If true, the y axis grid lines in a Radar chart will be circular. Otherwise, the grid will be web-shaped.
Method Detail

setWrapperValues

public void setWrapperValues(com.klg.jclass.chart.JCPolarRadarChartFormat cf,
                             com.klg.jclass.chart.JCChartArea ca)
Stores Polar/Radar properties.

Parameters:
cf - JCPolarRadarChartFormat object with get methods for Polar/Radar properties.
ca - JCChartArea object.

setPropertyValues

public void setPropertyValues(com.klg.jclass.chart.JCPolarRadarChartFormat cf,
                              com.klg.jclass.chart.JCChartArea ca)
Sets Polar/Radar properties using methods provided by the JCPolarRadarChartFormat and JCChartArea objects.

Parameters:
ca - JCChartArea object.

toString

public String toString()
Convert properties to string for code generation.

Overrides:
toString in class Object
Returns:
string containing properties for code generation.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Copyright © 2004 Quest Software Inc..
All rights reserved.