IErrorBarPixel
, java.io.Serializable
public class ErrorBarPixel extends java.lang.Object implements IErrorBarPixel
ERROR_PIXEL_NONE
Constructor | Description |
---|---|
ErrorBarPixel(ITrace2D trace) |
Creates an instance backed by the given trace.
|
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
Convenience method for clearing this error bar making it available for new
configuration.
|
boolean |
equals(java.lang.Object obj) |
|
int |
getNegativeXErrorPixel() |
Returns the negative error (positive value) in X dimension as a pixel value or
IErrorBarPixel.ERROR_PIXEL_NONE . |
int |
getNegativeYErrorPixel() |
Returns the negative error (positive value) in Y dimension as a pixel value or
IErrorBarPixel.ERROR_PIXEL_NONE . |
int |
getPositiveXErrorPixel() |
Returns the positive error in X dimension as a pixel value or
IErrorBarPixel.ERROR_PIXEL_NONE . |
int |
getPositiveYErrorPixel() |
Returns the positive error in Y dimension as a pixel value or
IErrorBarPixel.ERROR_PIXEL_NONE . |
ITrace2D |
getTrace() |
Returns the corresponding trace for this error bar.
|
int |
hashCode() |
|
protected void |
setNegativeXErrorPixel(int negativeXError) |
Intended for
AErrorBarPolicyConfigurable only. |
protected void |
setNegativeYErrorPixel(int negativeYError) |
Intended for
AErrorBarPolicyConfigurable only. |
protected void |
setPositiveXErrorPixel(int positiveXError) |
Intended for
AErrorBarPolicyConfigurable only. |
protected void |
setPositiveYErrorPixel(int positiveYError) |
Intended for
AErrorBarPolicyConfigurable only. |
protected void |
setTrace(ITrace2D trace) |
Sets the trace to use.
|
public ErrorBarPixel(ITrace2D trace)
trace
- required for transformation.public void clear()
All errors are set to IErrorBarPixel.ERROR_PIXEL_NONE
afterwards.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int getNegativeXErrorPixel()
IErrorBarPixel
IErrorBarPixel.ERROR_PIXEL_NONE
.
getNegativeXErrorPixel
in interface IErrorBarPixel
IErrorBarPixel.ERROR_PIXEL_NONE
.IErrorBarPixel.getNegativeXErrorPixel()
public int getNegativeYErrorPixel()
IErrorBarPixel
IErrorBarPixel.ERROR_PIXEL_NONE
.
getNegativeYErrorPixel
in interface IErrorBarPixel
IErrorBarPixel.ERROR_PIXEL_NONE
.IErrorBarPixel.getNegativeYErrorPixel()
public int getPositiveXErrorPixel()
IErrorBarPixel
IErrorBarPixel.ERROR_PIXEL_NONE
.
getPositiveXErrorPixel
in interface IErrorBarPixel
IErrorBarPixel.ERROR_PIXEL_NONE
.IErrorBarPixel.getPositiveXErrorPixel()
public int getPositiveYErrorPixel()
IErrorBarPixel
IErrorBarPixel.ERROR_PIXEL_NONE
.
getPositiveYErrorPixel
in interface IErrorBarPixel
IErrorBarPixel.ERROR_PIXEL_NONE
.IErrorBarPixel.getPositiveYErrorPixel()
public final ITrace2D getTrace()
IErrorBarPixel
getTrace
in interface IErrorBarPixel
IErrorBarPixel.getTrace()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
protected final void setNegativeXErrorPixel(int negativeXError)
AErrorBarPolicyConfigurable
only.
negativeXError
- The negativeXError in pixel to set.protected final void setNegativeYErrorPixel(int negativeYError)
AErrorBarPolicyConfigurable
only.
negativeYError
- The negativeYError in pixel to set.protected final void setPositiveXErrorPixel(int positiveXError)
AErrorBarPolicyConfigurable
only.
positiveXError
- The positiveXError in pixel to set.protected final void setPositiveYErrorPixel(int positiveYError)
AErrorBarPolicyConfigurable
only.
positiveYError
- The positiveYError in pixel to set.protected final void setTrace(ITrace2D trace)
trace
- The trace to set.Copyright © 2001 - 2010 LGPL, All Rights Footloose.