Class ErrorBarPixel
java.lang.Object
info.monitorenter.gui.chart.errorbars.ErrorBarPixel
- All Implemented Interfaces:
IErrorBarPixel
,Serializable
Straight forward dumb data container implementation.
- Version:
- $Revision: 1.11 $
- Author:
- Achim Westermann
- See Also:
-
Field Summary
Fields inherited from interface info.monitorenter.gui.chart.IErrorBarPixel
ERROR_PIXEL_NONE
-
Constructor Summary
ConstructorsConstructorDescriptionErrorBarPixel
(ITrace2D trace) Creates an instance backed by the given trace. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Convenience method for clearing this error bar making it available for new configuration.boolean
int
Returns the negative error (positive value) in X dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE
.int
Returns the negative error (positive value) in Y dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE
.int
Returns the positive error in X dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE
.int
Returns the positive error in Y dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE
.final ITrace2D
getTrace()
Returns the corresponding trace for this error bar.int
hashCode()
protected final void
setNegativeXErrorPixel
(int negativeXError) Intended forAErrorBarPolicyConfigurable
only.protected final void
setNegativeYErrorPixel
(int negativeYError) Intended forAErrorBarPolicyConfigurable
only.protected final void
setPositiveXErrorPixel
(int positiveXError) Intended forAErrorBarPolicyConfigurable
only.protected final void
setPositiveYErrorPixel
(int positiveYError) Intended forAErrorBarPolicyConfigurable
only.protected final void
Sets the trace to use.
-
Constructor Details
-
ErrorBarPixel
Creates an instance backed by the given trace.- Parameters:
trace
- required for transformation.
-
-
Method Details
-
clear
public void clear()Convenience method for clearing this error bar making it available for new configuration.All errors are set to
IErrorBarPixel.ERROR_PIXEL_NONE
afterwards. -
equals
-
getNegativeXErrorPixel
public int getNegativeXErrorPixel()Description copied from interface:IErrorBarPixel
Returns the negative error (positive value) in X dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE
.- Specified by:
getNegativeXErrorPixel
in interfaceIErrorBarPixel
- Returns:
- the negative error in X dimension or
IErrorBarPixel.ERROR_PIXEL_NONE
. - See Also:
-
getNegativeYErrorPixel
public int getNegativeYErrorPixel()Description copied from interface:IErrorBarPixel
Returns the negative error (positive value) in Y dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE
.- Specified by:
getNegativeYErrorPixel
in interfaceIErrorBarPixel
- Returns:
- the negative error in Y dimension or
IErrorBarPixel.ERROR_PIXEL_NONE
. - See Also:
-
getPositiveXErrorPixel
public int getPositiveXErrorPixel()Description copied from interface:IErrorBarPixel
Returns the positive error in X dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE
.- Specified by:
getPositiveXErrorPixel
in interfaceIErrorBarPixel
- Returns:
- the positive error in X dimension or
IErrorBarPixel.ERROR_PIXEL_NONE
. - See Also:
-
getPositiveYErrorPixel
public int getPositiveYErrorPixel()Description copied from interface:IErrorBarPixel
Returns the positive error in Y dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE
.- Specified by:
getPositiveYErrorPixel
in interfaceIErrorBarPixel
- Returns:
- the positive error in Y dimension or
IErrorBarPixel.ERROR_PIXEL_NONE
. - See Also:
-
getTrace
Description copied from interface:IErrorBarPixel
Returns the corresponding trace for this error bar.- Specified by:
getTrace
in interfaceIErrorBarPixel
- Returns:
- the corresponding trace for this error bar.
- See Also:
-
hashCode
public int hashCode() -
setNegativeXErrorPixel
protected final void setNegativeXErrorPixel(int negativeXError) Intended forAErrorBarPolicyConfigurable
only.- Parameters:
negativeXError
- The negativeXError in pixel to set.
-
setNegativeYErrorPixel
protected final void setNegativeYErrorPixel(int negativeYError) Intended forAErrorBarPolicyConfigurable
only.- Parameters:
negativeYError
- The negativeYError in pixel to set.
-
setPositiveXErrorPixel
protected final void setPositiveXErrorPixel(int positiveXError) Intended forAErrorBarPolicyConfigurable
only.- Parameters:
positiveXError
- The positiveXError in pixel to set.
-
setPositiveYErrorPixel
protected final void setPositiveYErrorPixel(int positiveYError) Intended forAErrorBarPolicyConfigurable
only.- Parameters:
positiveYError
- The positiveYError in pixel to set.
-
setTrace
Sets the trace to use.- Parameters:
trace
- The trace to set.
-