|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.monitorenter.gui.chart.traces.ATrace2D
public abstract class ATrace2D
The abstract basic implementation of
that provides the major amount of aspects needed in order to work correctly together with
ITrace2D
.
Chart2D
Caching of minimum and maximum bounds, property change support, the complex z-Index handling
(incorporates calls to internals of Chart2D
, default naming, bound management and
event handling are covered here.
Field Summary | |
---|---|
protected List |
m_computingTraces
The list of traces that compute their values from this trace. |
protected double |
m_maxX
Cached maximum x value for performance improvement. |
protected double |
m_maxXErrorBar
Cached maximum x value with error bar extension for performance improvement. |
protected double |
m_maxY
Cached maximum y value for performance improvement. |
protected double |
m_maxYErrorBar
Cached maximum y value with error bar extension for performance improvement. |
protected double |
m_minX
Cached minimum x value for performance improvement. |
protected double |
m_minXErrorBar
Cached minimum x value with error bar extension for performance improvement. |
protected double |
m_minY
Cached minimum y value for performance improvement. |
protected double |
m_minYErrorBar
Cached minimum y value with error bar extension for performance improvement. |
protected String |
m_name
The name property. |
protected String |
m_physicalUnitsX
The physical unit property for x dimension. |
protected String |
m_physicalUnitsY
The physical unit property for x dimension. |
protected PropertyChangeSupport |
m_propertyChangeSupport
The instance that add support for firing PropertyChangeEvents and maintaining
PropertyChangeListeners . |
protected Object |
m_renderer
The Chart2D this trace is added to. |
Fields inherited from interface info.monitorenter.gui.chart.ITrace2D |
---|
PROPERTY_COLOR, PROPERTY_ERRORBARPOLICY, PROPERTY_ERRORBARPOLICY_CONFIGURATION, PROPERTY_MAX_X, PROPERTY_MAX_Y, PROPERTY_MIN_X, PROPERTY_MIN_Y, PROPERTY_NAME, PROPERTY_PAINTERS, PROPERTY_PHYSICALUNITS, PROPERTY_POINT_CHANGED, PROPERTY_STROKE, PROPERTY_TRACEPOINT, PROPERTY_VISIBLE, PROPERTY_ZINDEX, Z_INDEX_MIN, ZINDEX_MAX |
Constructor Summary | |
---|---|
ATrace2D()
Defcon. |
Method Summary | |
---|---|
void |
addComputingTrace(ITrace2D trace)
Adds a trace that "should" compute values from the points added via . |
boolean |
addErrorBarPolicy(IErrorBarPolicy errorBarPolicy)
Adds the given error bar policy to the internal set of error bar policies. |
boolean |
addPoint(double x,
double y)
Add a point to this trace. |
boolean |
addPoint(TracePoint2D p)
Add the given point to this ITrace2D . |
protected abstract boolean |
addPointInternal(TracePoint2D p)
Override this template method for the custom add operation that depends on the policies of the implementation. |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Registers a property change listener that will be informed about changes of the property identified by the given propertyName . |
boolean |
addTracePainter(ITracePainter painter)
Adds the given trace painter to the internal set of trace painters. |
boolean |
containsTracePainter(ITracePainter painter)
Returns true if the given painter is contained in this compound painter. |
protected void |
finalize()
Decreases internal instance count by one. |
protected void |
firePointAdded(TracePoint2D added)
Fire property change events related to an added point. |
void |
firePointChanged(TracePoint2D changed,
int state)
Method triggered by ,
or
. |
protected void |
firePointRemoved(TracePoint2D removed)
Fire property change events related to a removed point. |
protected void |
firePropertyChange(String property,
Object oldvalue,
Object newvalue)
Fires a property change event to the registered listeners. |
List |
getChangeListeners()
Returns the change listeners of this instance. |
Color |
getColor()
Get the Color this trace will be painted with. |
Number |
getComparableProperty()
Returns a Number this instance wants to be compared by. |
Set |
getErrorBarPolicies()
Returns the Set< that will be used to render
error bars for this trace. |
boolean |
getHasErrorBars()
Returns true if this trace has error bars configured. |
static int |
getInstanceCount()
Returns the instanceCount for all ATrace2D subclasses. |
String |
getLabel()
Returns a label for this trace. |
double |
getMaxX()
Returns the original maximum x- value ignoring the offsetX. |
double |
getMaxY()
Returns the original maximum y- value ignoring the offsetY. |
double |
getMinX()
Returns the original minimum x- value ignoring the offsetX. |
double |
getMinY()
Returns the original minimum y- value ignoring the offsetY. |
String |
getName()
Returns the name of this trace. |
String |
getPhysicalUnits()
Returns the concatenation [x: " . |
String |
getPhysicalUnitsX()
Returns the physical unit string value for the x dimension. |
String |
getPhysicalUnitsY()
Returns the physical unit string value for the y dimension. |
PropertyChangeListener[] |
getPropertyChangeListeners(String property)
Returns all property change listeners for the given property. |
Chart2D |
getRenderer()
Returns the chart that renders this instance or null, if this trace is not added to a chart. |
Stroke |
getStroke()
Get the Stroke object this instance will be painted with. |
Set |
getTracePainters()
Returns the Set< that will be used to paint this
trace. |
Integer |
getZIndex()
The z-index defines the order in which this instance will be painted. |
boolean |
isVisible()
Returns true if this instance should be rendered. |
protected void |
maxXSearch()
Internal search for the maximum x value that is only invoked if no cached value is at hand or bounds have changed by adding new points. |
protected void |
maxYSearch()
Internal search for the maximum y value that is only invoked if no cached value is at hand or bounds have changed by adding new points. |
protected void |
minXSearch()
Internal search for the minimum x value that is only invoked if no cached value is at hand or bounds have changed by adding new points. |
protected void |
minYSearch()
Internal search for the minimum y value that is only invoked if no cached value is at hand or bounds have changed by adding new points. |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
removeAllPoints()
Changes the internal state to empty to allow that the caching of bounds is cleared and delegates the call to removeAllPointsInternal() . |
protected abstract void |
removeAllPointsInternal()
Override this template method for the custom remove operation that depends on the Collection used in the implementation. |
boolean |
removeComputingTrace(ITrace2D trace)
Remove a trace that "should" compute values from the points added via . |
boolean |
removeErrorBarPolicy(IErrorBarPolicy errorBarPolicy)
Removes the given error bar policy from the internal set of error bar policies. |
boolean |
removePoint(TracePoint2D point)
Remove the given point from this ITrace2D . |
protected abstract TracePoint2D |
removePointInternal(TracePoint2D point)
Override this template method for the custom remove operation that depends on the internal storage the implementation. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Deregisters a property change listener that has been registerd for listening on all properties. |
void |
removePropertyChangeListener(String property,
PropertyChangeListener listener)
Removes a property change listener for listening on the given property. |
boolean |
removeTracePainter(ITracePainter painter)
Removes the given trace painter if an instance of the same class is contained and more painters are remaining. |
void |
setColor(Color color)
Set the Color this trace will be painted with. |
void |
setComparableProperty(Number n)
Set the comparable Number. |
Set |
setErrorBarPolicy(IErrorBarPolicy errorBarPolicy)
Replaces all internal error bar policies by the new one. |
void |
setName(String name)
Sets the descriptive name for this trace. |
void |
setPhysicalUnits(String xunit,
String yunit)
Assings a specific String representing the physical unit to the
ITrace2D (e.g. |
void |
setRenderer(Chart2D renderer)
Allows the chart this instance is painted by to register itself. |
void |
setStroke(Stroke stroke)
Allows to specify the rendering of the ITrace2D. |
Set |
setTracePainter(ITracePainter painter)
Replaces all internal trace painters by the new one. |
void |
setVisible(boolean visible)
Set the visible property of this instance. |
void |
setZIndex(Integer zIndex)
Sets the internal z-index property. |
boolean |
showsErrorBars()
Tests whether error bars are painted by this trace. |
boolean |
showsNegativeXErrorBars()
Tests whether error bars in negative x direction are painted by this trace. |
boolean |
showsNegativeYErrorBars()
Tests whether error bars in negative y direction are painted by this trace. |
boolean |
showsPositiveXErrorBars()
Tests whether error bars in positive x direction are painted by this trace. |
boolean |
showsPositiveYErrorBars()
Tests whether error bars in positive y direction are painted by this trace. |
String |
toString()
Returns
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface info.monitorenter.gui.chart.ITrace2D |
---|
getMaxSize, getSize, isEmpty, iterator |
Field Detail |
---|
protected List m_computingTraces
protected double m_maxX
protected double m_maxXErrorBar
protected double m_maxY
protected double m_maxYErrorBar
protected double m_minX
protected double m_minXErrorBar
protected double m_minY
protected double m_minYErrorBar
protected String m_name
protected String m_physicalUnitsX
protected String m_physicalUnitsY
protected PropertyChangeSupport m_propertyChangeSupport
PropertyChangeEvents
and maintaining
PropertyChangeListeners
.
protected Object m_renderer
Chart2D
this trace is added to. Needed for synchronization.
Constructor Detail |
---|
public ATrace2D()
Method Detail |
---|
public static int getInstanceCount()
ATrace2D
subclasses.
ATrace2D
subclasses.public void addComputingTrace(ITrace2D trace)
ITrace2D
ITrace2D.addPoint(TracePoint2D)
.
The given trace will be informed in case an add operation on this trace succeeds via
.
ITrace2D.addPoint(TracePoint2D)
addComputingTrace
in interface ITrace2D
trace
- the trace that will calculate it's points from the added points of this trace.ITrace2D.addComputingTrace(info.monitorenter.gui.chart.ITrace2D)
public final boolean addErrorBarPolicy(IErrorBarPolicy errorBarPolicy)
ITrace2D
It will be the last error bar policy to render (most forward on screen).
addErrorBarPolicy
in interface ITrace2D
errorBarPolicy
- the error bar policy to add for rendering this trace's error bars.
ITrace2D.addErrorBarPolicy(info.monitorenter.gui.chart.IErrorBarPolicy)
public final boolean addPoint(double x, double y)
Prefer calling
for better performance (avoid one
invokevirtual for delegation).
addPoint(TracePoint2D)
addPoint
in interface ITrace2D
x
- the x coordinate of the new point.y
- the y coordinate of the new point.
ITrace2D.addPoint(TracePoint2D p)
public final boolean addPoint(TracePoint2D p)
ITrace2D
.
This implementation performs caching of minimum and maximum values for x and y and the
delegates to addPointInternal(TracePoint2D)
that has to perform the "real" add
operation.
Property change events are fired as described in method
.
firePointAdded(TracePoint2D)
addPoint
in interface ITrace2D
p
- the TracePoint2D
to add.
firePointChanged(TracePoint2D, int)
protected abstract boolean addPointInternal(TracePoint2D p)
No property change events have to be fired by default. If this method returns true
the outer logic of the calling method
will
perform bound checks for the new point and fire property changes as described in method
addPoint(TracePoint2D)
.
firePointChanged(TracePoint2D, int)
In special cases - when additional modifications to the internal set of points take place (e.g. a further point gets removed) this method should return false (regardless wether the new point was accepted or not) and perform bound checks and fire the property changes as mentioned above "manually".
p
- the point to add.
public final void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
ITrace2D
propertyName
.
addPropertyChangeListener
in interface ITrace2D
propertyName
- the name of the property the listener is interested inlistener
- a listener that will only be informed if the property identified by the argument
propertyName
changesITrace2D.addPropertyChangeListener(java.lang.String,
java.beans.PropertyChangeListener)
public boolean addTracePainter(ITracePainter painter)
ITrace2D
It will be the last painter to paint (most forward).
addTracePainter
in interface ITrace2D
painter
- the painter to add for rendering this trace.
ITrace2D.addTracePainter(info.monitorenter.gui.chart.ITracePainter)
public boolean containsTracePainter(ITracePainter painter)
ITrace2D
containsTracePainter
in interface ITrace2D
painter
- the painter to check wether it is contained.
ITrace2D.containsTracePainter(info.monitorenter.gui.chart.ITracePainter)
protected void finalize() throws Throwable
finalize
in class Object
Throwable
- if sth. goes wrong.protected void firePointAdded(TracePoint2D added)
A property change event for property
with
null as the old value and the new point as the new value is fired. This allows e.g. rescaling
of those instances (instead of having to rescale a whole trace).
ITrace2D.PROPERTY_TRACEPOINT
Additionally before this property change, property change events for bounds are fired as
described in method
.
firePointChanged(TracePoint2D, int)
added
- the point that was added.public void firePointChanged(TracePoint2D changed, int state)
TracePoint2D.setLocation(double, double)
,
addPoint(TracePoint2D)
or
removePoint(TracePoint2D)
.
Bound checks are performed and property change events for the properties
, ITrace2D.PROPERTY_MAX_X
,
ITrace2D.PROPERTY_MIN_X
and ITrace2D.PROPERTY_MAX_Y
are fired if the add bounds have changed due to the modification of the point.
ITrace2D.PROPERTY_MIN_Y
If state
is
a property change
event with TracePoint2D.STATE_CHANGED
will be fired to all
listeners.
ITrace2D.PROPERTY_POINT_CHANGED
firePointChanged
in interface ITrace2D
changed
- the point that has been changed which may be a newly added point (from
addPoint(TracePoint2D)
, a removed one or a modified one.state
- one of {TracePoint2D.STATE_ADDED
, TracePoint2D.STATE_CHANGED
,
TracePoint2D.STATE_REMOVED
}
to inform about the type of change.protected void firePointRemoved(TracePoint2D removed)
A property change event for property
with a
point as the old value and null as the new value is fired. This allows e.g. rescaling of those
instances (instead of having to rescale a whole trace).
ITrace2D.PROPERTY_TRACEPOINT
Additionally before this property change, property change events for bounds are fired as
described in method
.
firePointChanged(TracePoint2D, int)
removed
- the point that was removed.protected final void firePropertyChange(String property, Object oldvalue, Object newvalue)
property
- one of the PROPERTY_XXX
constants defined in
ITrace2D
.oldvalue
- the old value of the property.newvalue
- the new value of the property.public List getChangeListeners()
public final Color getColor()
Get the Color
this trace will be painted with.
getColor
in interface ITrace2D
Color
of this instancepublic Number getComparableProperty()
IComparableProperty
Number
this instance wants to be compared by.
getComparableProperty
in interface IComparableProperty
Number
this instance wants to be compared by.IComparableProperty.getComparableProperty()
public final Set getErrorBarPolicies()
ITrace2D
Set<IErrorBarPolicy
>
that will be used to render
error bars for this trace.
getErrorBarPolicies
in interface ITrace2D
Set<IErrorBarPolicy
>
that will be used to render
error bars for this trace.ITrace2D.getErrorBarPolicies()
public final boolean getHasErrorBars()
ITrace2D
If this returns false, no error bars will be painted for this trace.
getHasErrorBars
in interface ITrace2D
ITrace2D.getHasErrorBars()
public final String getLabel()
The label is constructed of
getName()
).getPhysicalUnits()
).
getLabel
in interface ITrace2D
ITrace2D.getLabel()
,
getName()
,
getPhysicalUnits()
public final double getMaxX()
getMaxX
in interface ITrace2D
public final double getMaxY()
getMaxY
in interface ITrace2D
public final double getMinX()
getMinX
in interface ITrace2D
public final double getMinY()
getMinY
in interface ITrace2D
public final String getName()
getName
in interface ITrace2D
ITrace2D.getName()
,
setName(String s)
public final String getPhysicalUnits()
ITrace2D
[x: "ITrace2D.getPhysicalUnitsX()
", y: "ITrace2D.getPhysicalUnitsY()
"]
.
getPhysicalUnits
in interface ITrace2D
[x: "ITrace2D.getPhysicalUnitsX()
", y: "ITrace2D.getPhysicalUnitsY()
"]
.ITrace2D.getPhysicalUnits()
public final String getPhysicalUnitsX()
ITrace2D
getPhysicalUnitsX
in interface ITrace2D
ITrace2D.getPhysicalUnitsX()
public final String getPhysicalUnitsY()
ITrace2D
getPhysicalUnitsY
in interface ITrace2D
ITrace2D.getPhysicalUnitsY()
public PropertyChangeListener[] getPropertyChangeListeners(String property)
ITrace2D
getPropertyChangeListeners
in interface ITrace2D
property
- one of the constants with the PROPERTY_
prefix defined in this class
or subclasses.
ITrace2D.getPropertyChangeListeners(String)
public final Chart2D getRenderer()
The chart that renders this trace registers itself with this trace in
Chart2D.addTrace(ITrace2D)
.
getRenderer
in interface ITrace2D
Chart2D.addTrace(ITrace2D)
public final Stroke getStroke()
Get the Stroke
object this instance will be painted with.
getStroke
in interface ITrace2D
Stroke
object this ITrace2D
will be painted with.ITrace2D.getStroke()
public final Set getTracePainters()
ITrace2D
Set<ITracePainter
>
that will be used to paint this
trace.
getTracePainters
in interface ITrace2D
Set<ITracePainter
>
that will be used to paint this
trace.ITrace2D.getTracePainters()
public final Integer getZIndex()
ITrace2D
A lower value will bring it more "to the front".
getZIndex
in interface ITrace2D
ITrace2D.getZIndex()
public final boolean isVisible()
ITrace2D
isVisible
in interface ITrace2D
ITrace2D.isVisible()
protected void maxXSearch()
The result is assigned to the property maxX.
getMaxX()
protected void maxYSearch()
The result is assigned to the property maxY.
getMaxY()
protected void minXSearch()
The result is assigned to the property minX.
getMinX()
protected void minYSearch()
The result is assigned to the property minY.
getMinY()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)
public final void removeAllPoints()
removeAllPointsInternal()
.
removeAllPoints
in interface ITrace2D
ITrace2D.removeAllPoints()
protected abstract void removeAllPointsInternal()
Collection
used in the implementation.
No change events have to be fired, this is done by ATrace2D
.
public boolean removeComputingTrace(ITrace2D trace)
ITrace2D
ITrace2D.addPoint(TracePoint2D)
.
removeComputingTrace
in interface ITrace2D
trace
- the trace that will calculate it's points from the added points of this trace.
Object.equals(Object)
).ITrace2D.removeComputingTrace(info.monitorenter.gui.chart.ITrace2D)
public boolean removeErrorBarPolicy(IErrorBarPolicy errorBarPolicy)
ITrace2D
removeErrorBarPolicy
in interface ITrace2D
errorBarPolicy
- the error bar policy to remove.
ITrace2D.removeErrorBarPolicy(info.monitorenter.gui.chart.IErrorBarPolicy)
public boolean removePoint(TracePoint2D point)
ITrace2D
.
This implementation performs caching of minimum and maximum values for x and y and the
delegates to
that has to perform the
"real" add remove operation.
removePointInternal(TracePoint2D)
Property change events are fired as described in method
.
firePointRemoved(TracePoint2D)
removePoint
in interface ITrace2D
point
- the TracePoint2D
to remove.
firePointChanged(TracePoint2D, int)
protected abstract TracePoint2D removePointInternal(TracePoint2D point)
The returned point may be the same as the given. But some "computing" traces like
will
internally delete a different point and return that one.
Trace2DArithmeticMean
No property change events have to be fired by default. If this method returns null
the outer logic of the calling method
will
perform bound checks for the returned point and fire property changes for the properties
removePoint(TracePoint2D)
, ITrace2D.PROPERTY_MAX_X
,
ITrace2D.PROPERTY_MIN_X
and ITrace2D.PROPERTY_MAX_Y
.
ITrace2D.PROPERTY_MIN_Y
In special cases - when additional modifications to the internal set of points take place (e.g. a further point get added) this method should return false (regardless wether the old point was really removed or not) and perform bound checks and fire the property changes as mentioned above "manually".
point
- the point to remove.
public void removePropertyChangeListener(PropertyChangeListener listener)
ITrace2D
removePropertyChangeListener
in interface ITrace2D
listener
- a listener that will only be informed if the property identified by the argument
propertyName
changesITrace2D.removePropertyChangeListener(java.beans.PropertyChangeListener)
public void removePropertyChangeListener(String property, PropertyChangeListener listener)
ITrace2D
removePropertyChangeListener
in interface ITrace2D
property
- one of the constants with teh PROPERTY_
prefix defined in this class
or subclasses.listener
- the listener for this property change.ITrace2D.removePropertyChangeListener(java.lang.String,
java.beans.PropertyChangeListener)
public boolean removeTracePainter(ITracePainter painter)
removeTracePainter
in interface ITrace2D
painter
- the painter to remove.
public final void setColor(Color color)
Set the Color
this trace will be painted with.
setColor
in interface ITrace2D
color
- the Color
this trace will be painted with.public void setComparableProperty(Number n)
IComparableProperty
Note that a ComparableProperty
has to allow by contract that
it's Number
property it lays open to be compared by has to
be modifiable from outside!
setComparableProperty
in interface IComparableProperty
n
- the comparable number.IComparableProperty.setComparableProperty(java.lang.Number)
public final Set setErrorBarPolicy(IErrorBarPolicy errorBarPolicy)
ITrace2D
setErrorBarPolicy
in interface ITrace2D
errorBarPolicy
- the new sole painter to use.
Set<IErrorBarPolicy
>
that was used before.ITrace2D.setErrorBarPolicy(info.monitorenter.gui.chart.IErrorBarPolicy)
public final void setName(String name)
If the given argument is null or consists of whitespaces only nothing will be changed.
setName
in interface ITrace2D
name
- the descriptive name for this trace.ITrace2D.setName(java.lang.String)
public final void setPhysicalUnits(String xunit, String yunit)
ITrace2D
ITrace2D
(e.g.
Volt, Ohm, lux, ...) which will be displayed by the Chart2D
setPhysicalUnits
in interface ITrace2D
xunit
- the physical unit for the x axis.yunit
- the physical unit for the y axis.ITrace2D.setPhysicalUnits(String, String)
public final void setRenderer(Chart2D renderer)
This is internally required for synchronization and re-ordering due to z-Index changes.
setRenderer
in interface ITrace2D
renderer
- the chart that paints this instance.public final void setStroke(Stroke stroke)
ITrace2D
Graphics2D
by the rendering Chart2D
when painting this instance.
setStroke
in interface ITrace2D
stroke
- the stroke to use for painting this trace.ITrace2D.setStroke(java.awt.Stroke)
public final Set setTracePainter(ITracePainter painter)
setTracePainter
in interface ITrace2D
painter
- the new sole painter to use.
Set<ITracePainter
>
that was used before.public final void setVisible(boolean visible)
Set the visible property of this instance.
Invisible ITrace2D
instances (visible == false) will not be painted.
setVisible
in interface ITrace2D
visible
- the visible property of this instance to set.ITrace2D.setVisible(boolean)
public final void setZIndex(Integer zIndex)
ITrace2D
Chart2D
are painted.
The lower the given value is the more this trace will be brought to front.
The value must not be lower than ITrace2D.Z_INDEX_MIN
(0) and higher than ITrace2D.ZINDEX_MAX
(100).
This might not be tested for increased performance but ignoring these bounds may result in wrong ordering of display.
setZIndex
in interface ITrace2D
zIndex
- the z index of this trace - the lower the value the more in front the trace will
appear amongst other traces in the same chart.ITrace2D.setZIndex(java.lang.Integer)
public boolean showsErrorBars()
ITrace2D
Returns true if
IErrorBarPolicy
instances. IErrorBarPainter
instance.
showsErrorBars
in interface ITrace2D
ITrace2D.showsErrorBars()
public boolean showsNegativeXErrorBars()
ITrace2D
Returns true if
IErrorBarPolicy
instance that
IErrorBarPolicy.isShowNegativeXErrors()
. IErrorBarPainter
instance.
showsNegativeXErrorBars
in interface ITrace2D
ITrace2D.showsNegativeXErrorBars()
public boolean showsNegativeYErrorBars()
ITrace2D
Returns true if
IErrorBarPolicy
instance that
IErrorBarPolicy.isShowNegativeYErrors()
. IErrorBarPainter
instance.
showsNegativeYErrorBars
in interface ITrace2D
ITrace2D.showsNegativeYErrorBars()
public boolean showsPositiveXErrorBars()
ITrace2D
Returns true if
IErrorBarPolicy
instance that
IErrorBarPolicy.isShowPositiveXErrors()
. IErrorBarPainter
instance.
showsPositiveXErrorBars
in interface ITrace2D
ITrace2D.showsPositiveXErrorBars()
public boolean showsPositiveYErrorBars()
ITrace2D
Returns true if
IErrorBarPolicy
instance that
IErrorBarPolicy.isShowPositiveYErrors()
. IErrorBarPainter
instance.
showsPositiveYErrorBars
in interface ITrace2D
ITrace2D.showsPositiveYErrorBars()
public String toString()
Returns getName()
.
toString
in class Object
getName()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |