info.monitorenter.gui.chart.errorbars
Class ErrorBarPixel
- java.lang.Object
-
- info.monitorenter.gui.chart.errorbars.ErrorBarPixel
-
- All Implemented Interfaces:
- IErrorBarPixel, java.io.Serializable
public class ErrorBarPixel extends java.lang.Object implements IErrorBarPixel
Straight forward dumb data container implementation.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface info.monitorenter.gui.chart.IErrorBarPixel
ERROR_PIXEL_NONE
-
-
Constructor Summary
Constructors Constructor and Description ErrorBarPixel(ITrace2D trace)Creates an instance backed by the given trace.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclear()Convenience method for clearing this error bar making it available for new configuration.booleanequals(java.lang.Object obj)intgetNegativeXErrorPixel()Returns the negative error (positive value) in X dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE.intgetNegativeYErrorPixel()Returns the negative error (positive value) in Y dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE.intgetPositiveXErrorPixel()Returns the positive error in X dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE.intgetPositiveYErrorPixel()Returns the positive error in Y dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE.ITrace2DgetTrace()Returns the corresponding trace for this error bar.inthashCode()
-
-
-
Constructor Detail
-
ErrorBarPixel
public ErrorBarPixel(ITrace2D trace)
Creates an instance backed by the given trace.- Parameters:
trace- required for transformation.
-
-
Method Detail
-
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_NONEafterwards.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
getNegativeXErrorPixel
public int getNegativeXErrorPixel()
Description copied from interface:IErrorBarPixelReturns the negative error (positive value) in X dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE.- Specified by:
getNegativeXErrorPixelin interfaceIErrorBarPixel- Returns:
- the negative error in X dimension or
IErrorBarPixel.ERROR_PIXEL_NONE. - See Also:
IErrorBarPixel.getNegativeXErrorPixel()
-
getNegativeYErrorPixel
public int getNegativeYErrorPixel()
Description copied from interface:IErrorBarPixelReturns the negative error (positive value) in Y dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE.- Specified by:
getNegativeYErrorPixelin interfaceIErrorBarPixel- Returns:
- the negative error in Y dimension or
IErrorBarPixel.ERROR_PIXEL_NONE. - See Also:
IErrorBarPixel.getNegativeYErrorPixel()
-
getPositiveXErrorPixel
public int getPositiveXErrorPixel()
Description copied from interface:IErrorBarPixelReturns the positive error in X dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE.- Specified by:
getPositiveXErrorPixelin interfaceIErrorBarPixel- Returns:
- the positive error in X dimension or
IErrorBarPixel.ERROR_PIXEL_NONE. - See Also:
IErrorBarPixel.getPositiveXErrorPixel()
-
getPositiveYErrorPixel
public int getPositiveYErrorPixel()
Description copied from interface:IErrorBarPixelReturns the positive error in Y dimension as a pixel value orIErrorBarPixel.ERROR_PIXEL_NONE.- Specified by:
getPositiveYErrorPixelin interfaceIErrorBarPixel- Returns:
- the positive error in Y dimension or
IErrorBarPixel.ERROR_PIXEL_NONE. - See Also:
IErrorBarPixel.getPositiveYErrorPixel()
-
getTrace
public final ITrace2D getTrace()
Description copied from interface:IErrorBarPixelReturns the corresponding trace for this error bar.- Specified by:
getTracein interfaceIErrorBarPixel- Returns:
- the corresponding trace for this error bar.
- See Also:
IErrorBarPixel.getTrace()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
-
DMelt 3.0 © DataMelt by jWork.ORG