JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart
Class JCAxisFormula

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

public class JCAxisFormula
extends Object
implements Serializable

Class specifying a relationship between the current JCAxis and another axis. The relationship is defined in terms of the formula y = mx + c, where x is the originating axis, m and c are constants, and y is the current axis.

See Also:
Serialized Form

Field Summary
protected  double constant
           
protected  double multiplier
           
 
Constructor Summary
JCAxisFormula()
           
JCAxisFormula(com.klg.jclass.chart.JCAxis p)
           
 
Method Summary
 double getConstant()
          Gets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.
 double getMultiplier()
          Gets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.
 com.klg.jclass.chart.JCAxis getOriginator()
          Gets the Originator property of the JCAxisFormula, which is an object representing the axis that is related to the current axis by the formula y = mx + c.
 com.klg.jclass.chart.JCAxis getParent()
          Allows access to parent JCAxis object.
 void setConstant(double val)
          Sets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.
 void setMultiplier(double val)
          Sets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.
 void setOriginator(com.klg.jclass.chart.JCAxis org)
          Sets the Originator property of the JCAxisFormula, which is an object representing the axis that is related to the current axis by the formula y = mx + c.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constant

protected double constant

multiplier

protected double multiplier
Constructor Detail

JCAxisFormula

public JCAxisFormula()

JCAxisFormula

public JCAxisFormula(com.klg.jclass.chart.JCAxis p)
Method Detail

setConstant

public void setConstant(double val)
Sets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.

Parameters:
val - Double value representing "c" in y = mx + c

getConstant

public double getConstant()
Gets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.

Returns:
A double value representing "c" in y = mx + c.

setMultiplier

public void setMultiplier(double val)
Sets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.

Parameters:
val - double value representing "m" in y = mx + c

getMultiplier

public double getMultiplier()
Gets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.

Returns:
A double value representing "m" in y = mx + c

getOriginator

public com.klg.jclass.chart.JCAxis getOriginator()
Gets the Originator property of the JCAxisFormula, which is an object representing the axis that is related to the current axis by the formula y = mx + c. The originator is "x".

Returns:
JCAxis instance representing the originating axis.

setOriginator

public void setOriginator(com.klg.jclass.chart.JCAxis org)
Sets the Originator property of the JCAxisFormula, which is an object representing the axis that is related to the current axis by the formula y = mx + c. The originator is "x".

Parameters:
org -

getParent

public com.klg.jclass.chart.JCAxis getParent()
Allows access to parent JCAxis object.

Returns:

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