All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.JCAxisFormula

java.lang.Object
   |
   +----jclass.chart.JCAxisFormula

public class JCAxisFormula
extends Object
implements JCSerializable, HTMLHandler
JCAxisFormula specifies 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.

Properties

Name Description
Constant The Constant property specifies the "c" value in the axis relationship y2 = my + c.
Multiplier The Multiplier property specifies the "m" value in the relationship y2 = my + c.
Originator The Originator property specifies an object representing the axis that is related to the current axis by the formula y = mx + c. The originator is "x".


Method Index

 o getConstant()
Gets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.
 o getMultiplier()
Gets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.
 o 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.
 o loadParams(String, JCChart)
Load JCChart parameters from HTML file
 o saveParams(String, JCChart)
Save JCChart parameters as HTML tags
 o setConstant(double)
Sets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.
 o setMultiplier(double)
Sets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.
 o setOriginator(JCAxis)
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

 o 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
 o getConstant
 public double getConstant()
Gets the Constant property of the JCAxisFormula, which specified the "c" value in the relationship y = mx + c.

Returns:
double value representing "c" in y = mx + c
 o 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
 o getMultiplier
 public double getMultiplier()
Gets the Multiplier property of the JCAxisFormula, which specifies the "m" value in the relationship y = mx + c.

Returns:
double value representing "m" in y = mx + c
 o getOriginator
 public 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
 o setOriginator
 public void setOriginator(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".

Returns:
JCAxis instance representing the originating axis
 o saveParams
 public void saveParams(String name,
                        JCChart comp)
Save JCChart parameters as HTML tags

Parameters:
name - the PARAM NAME
chart - the JCChart component
 o loadParams
 public void loadParams(String name,
                        JCChart comp)
Load JCChart parameters from HTML file

Parameters:
name - the PARAM NAME
chart - the JCChart component

All Packages  Class Hierarchy  This Package  Previous  Next  Index