Package xal.extension.widgets.plot
Class BasicGraphData.XYpoint
java.lang.Object
xal.extension.widgets.plot.BasicGraphData.XYpoint
- Enclosing class:
- BasicGraphData
Description of the Class
- Version:
- August 3, 2004
- Author:
- shishlo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getX()
Returns the x attribute of the XYpoint objectdouble
getY()
Returns the y attribute of the XYpoint objectdouble
getYerr()
Returns the yerr attribute of the XYpoint objectvoid
setXY
(double x, double y) Sets the xY attribute of the XYpoint objectvoid
setXY
(double x, double y, double yErr) Sets the xY attribute of the XYpoint objectvoid
setY
(double y) Sets the y attribute of the XYpoint objectvoid
setY
(double y, double yErr) Sets the y attribute of the XYpoint object
-
Constructor Details
-
XYpoint
public XYpoint()Constructor for the XYpoint object -
XYpoint
public XYpoint(double x, double y) Constructor for the XYpoint object- Parameters:
x
- Description of the Parametery
- Description of the Parameter
-
XYpoint
public XYpoint(double x, double y, double yErr) Constructor for the XYpoint object- Parameters:
x
- Description of the Parametery
- Description of the ParameteryErr
- Description of the Parameter
-
-
Method Details
-
setXY
public void setXY(double x, double y) Sets the xY attribute of the XYpoint object- Parameters:
x
- The new xY valuey
- The new xY value
-
setXY
public void setXY(double x, double y, double yErr) Sets the xY attribute of the XYpoint object- Parameters:
x
- The new xY valuey
- The new xY valueyErr
- The new xY value
-
setY
public void setY(double y) Sets the y attribute of the XYpoint object- Parameters:
y
- The new y value
-
setY
public void setY(double y, double yErr) Sets the y attribute of the XYpoint object- Parameters:
y
- The new y valueyErr
- The new y value
-
getX
public double getX()Returns the x attribute of the XYpoint object- Returns:
- The x value
-
getY
public double getY()Returns the y attribute of the XYpoint object- Returns:
- The y value
-
getYerr
public double getYerr()Returns the yerr attribute of the XYpoint object- Returns:
- The yerr value
-