Package | Description |
---|---|
info.monitorenter.gui.chart |
The core package for jchart2d.
|
info.monitorenter.gui.chart.axis |
Contains
IAxis implementations
of jchart2d that model the axis of the chart. |
info.monitorenter.gui.chart.errorbars |
Contains the implementation of the error bar API - namely the
interfaces
,
and
of jchart2d. |
info.monitorenter.gui.chart.io |
Special IO support for data collection for a
Chart2D . |
info.monitorenter.gui.chart.tracepoints | |
info.monitorenter.gui.chart.traces |
Contains
ITrace2D implementations
of jchart2d that model the traces of the chart. |
info.monitorenter.gui.chart.traces.accumulationstrategies | |
info.monitorenter.gui.chart.traces.computing |
Contains
ITrace2D implementations
of jchart2d that apply computations on the input/output datapoints before
they provide them to the chart. |
info.monitorenter.gui.chart.traces.iterators | |
info.monitorenter.gui.chart.traces.iterators.fsm | |
info.monitorenter.gui.util |
Unused package intended for automatic color choosing with the visually most
different colors.
|
info.monitorenter.reflection |
Ancient package with support for displaying any java class data field in a trace.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ITrace2DDataAccumulating
An
sub interface intended for implementations that
are able to accumulate several points into a single one. |
Modifier and Type | Method and Description |
---|---|
ITrace2D |
ITracePoint2D.getListener()
Returns the listener trace connected to this trace point.
|
ITrace2D |
IErrorBarPixel.getTrace()
Returns the corresponding trace for this error bar.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<ITrace2D> |
Chart2D.getTraces()
Returns the set of traces that are currently rendered by this instance.
|
Set<ITrace2D> |
IAxis.getTraces()
|
Iterator<ITrace2D> |
Chart2D.iterator()
Returns an
Iterator over the contained ITrace2D
instances. |
Set<ITrace2D> |
Chart2D.removeAllTraces()
Convenience method to remove all traces from this chart.
|
Set<ITrace2D> |
IAxis.removeAllTraces()
Convenience method for removing all contained
instances of this axis. |
Modifier and Type | Method and Description |
---|---|
void |
ITrace2D.addComputingTrace(ITrace2D trace)
Adds a trace that "should" compute values from the points added via
. |
boolean |
ITrace2D.addPoint(ITracePoint2D p,
ITrace2D wrapperOfMe)
Do not call this unless you know what it does.
|
void |
Chart2D.addTrace(ITrace2D points)
Convenience method that adds the trace to this chart with relation to the
first bottom x axis and the first left y axis.
|
boolean |
IAxis.addTrace(ITrace2D trace)
Adds a trace that belongs to this axis.
|
void |
Chart2D.addTrace(ITrace2D points,
IAxis<?> xAxis,
IAxis<?> yAxis)
Adds the trace to this chart with relation to the given x axis and y axis.
|
boolean |
IAxis.containsTrace(ITrace2D trace)
Returns true if this axis is responsible for rendering the scale of the
given trace (
was called on
this instance with the given trace). |
ITracePoint2D |
ITracePointProvider.createTracePoint(double x,
double y,
ITrace2D listener)
Callback for creating trace points.
|
ITracePoint2D |
TracePointProviderDefault.createTracePoint(double x,
double y,
ITrace2D listener) |
IAxis<?>[] |
Chart2D.findAxesOfTrace(ITrace2D trace)
Returns an array with the x (position 0) and the y axis (position 1) of the
given trace if it is correctly set up.
|
IAxis<?> |
Chart2D.getAxisX(ITrace2D trace)
Returns the x axis that the given trace belongs to or null if this trace
does not belong to any x axis of this chart.
|
IAxis<?> |
Chart2D.getAxisY(ITrace2D trace)
Returns the y axis that the given trace belongs to or null if this trace
does not belong to any y axis of this chart.
|
boolean |
IAxis.hasTrace(ITrace2D trace)
Deprecated.
use
IAxis.containsTrace(ITrace2D) instead. |
Iterator<ITracePoint2D> |
IAccumulationStrategy.iterator(ITrace2D source,
int amountOfDesiredPoints)
Template method to return an iterator over accumulated points.
|
boolean |
ITrace2D.removeComputingTrace(ITrace2D trace)
Remove a trace that "should" compute values from the points added via
. |
boolean |
Chart2D.removeTrace(ITrace2D points)
Removes the given instance from this
Chart2D if it is
contained. |
boolean |
IAxis.removeTrace(ITrace2D trace)
Removes the given trace from this axis.
|
void |
IAxis.scaleTrace(ITrace2D trace)
Scales the given
in the dimension represented
by this axis. |
void |
ITracePoint2D.setListener(ITrace2D listener)
Allows
ITrace2D instances to register (or de-register)
themselves with this point to receive (or stop receiving) change
information via
ITrace2D#firePointChanged(ITracePoint2D, STATE, Object, Object)
events. |
void |
IErrorBarPolicy.setTrace(ITrace2D trace)
Intended for
ATrace2D only that
will register itself to the instances added to it. |
Modifier and Type | Method and Description |
---|---|
Set<ITrace2D> |
AAxis.getTraces() |
Set<ITrace2D> |
AAxis.removeAllTraces() |
Modifier and Type | Method and Description |
---|---|
boolean |
AAxis.addTrace(ITrace2D trace) |
boolean |
AAxis.containsTrace(ITrace2D trace) |
protected abstract double |
AAxis.AChart2DDataAccessor.getMaxValue(ITrace2D trace)
Returns the max value of the given trace according to the dimension the
outer axis belongs to.
|
protected double |
AAxis.XDataAccessor.getMaxValue(ITrace2D trace) |
protected double |
AAxis.YDataAccessor.getMaxValue(ITrace2D trace) |
protected abstract double |
AAxis.AChart2DDataAccessor.getMinValue(ITrace2D trace)
Returns the min value of the given trace according to the dimension the
outer axis belongs to.
|
protected double |
AAxis.XDataAccessor.getMinValue(ITrace2D trace) |
protected double |
AAxis.YDataAccessor.getMinValue(ITrace2D trace) |
boolean |
AAxis.hasTrace(ITrace2D trace)
Deprecated.
use
AAxis.containsTrace(ITrace2D) instead. |
boolean |
AAxis.removeTrace(ITrace2D trace) |
void |
AAxis.scaleTrace(ITrace2D trace) |
void |
AAxisTransformation.scaleTrace(ITrace2D trace)
Overridden to incorporate transformation.
|
protected void |
AxisInverse.XDataInverseAccessor.scaleTrace(ITrace2D trace,
Range range) |
protected void |
AxisInverse.YDataInverseAccessor.scaleTrace(ITrace2D trace,
Range range) |
protected abstract void |
AAxis.AChart2DDataAccessor.scaleTrace(ITrace2D trace,
Range range)
Scales the given trace in the dimension represented by this axis.
|
protected void |
AAxis.XDataAccessor.scaleTrace(ITrace2D trace,
Range range) |
protected void |
AAxis.YDataAccessor.scaleTrace(ITrace2D trace,
Range range) |
protected void |
AAxisTransformation.XDataAccessor.scaleTrace(ITrace2D trace,
Range range) |
protected void |
AAxisTransformation.YDataAccessor.scaleTrace(ITrace2D trace,
Range range) |
Modifier and Type | Method and Description |
---|---|
ITrace2D |
ErrorBarPixel.getTrace() |
protected ITrace2D |
AErrorBarPolicyConfigurable.getTrace()
Returns the trace error bars have to be rendered for.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ErrorBarPixel.setTrace(ITrace2D trace)
Sets the trace to use.
|
void |
AErrorBarPolicyConfigurable.setTrace(ITrace2D trace)
Intended for
ATrace2D only that
will register itself to the instances added to it. |
Constructor and Description |
---|
ErrorBarPixel(ITrace2D trace)
Creates an instance backed by the given trace.
|
Modifier and Type | Field and Description |
---|---|
protected ITrace2D |
AStaticDataCollector.m_trace
Target trace where all collected data is added.
|
Modifier and Type | Method and Description |
---|---|
ITrace2D |
AStaticDataCollector.getTrace()
Returns the trace data is added to.
|
ITrace2D |
ADataCollector.getTrace()
Deprecated.
Returns the trace that is filled by this collector.
|
Constructor and Description |
---|
ADataCollector(ITrace2D trace,
long latency)
Deprecated.
Creates an instance that will collect every latency ms a point and add it
to the trace.
|
AStaticDataCollector(ITrace2D trace)
Constructor with target trace.
|
PropertyFileStaticDataCollector(ITrace2D trace,
InputStream propertyFileStream)
Constructor with target trace and property file.
|
RandomDataCollectorOffset(ITrace2D trace,
int latency)
Deprecated.
Creates a collector that collectes every latency ms a point and adds it to
the trace.
|
RandomDataCollectorTimeStamped(ITrace2D trace,
int latency)
Deprecated.
Creates an instance that will collect every latency ms a point and add it
to the trace.
|
Modifier and Type | Method and Description |
---|---|
ITrace2D |
TracePoint2D.getListener() |
Modifier and Type | Method and Description |
---|---|
void |
TracePoint2D.setListener(ITrace2D listener) |
Modifier and Type | Class and Description |
---|---|
class |
ATrace2D
|
class |
Trace2DAxisSwap
A delegator / proxy that delegates all calls to an internal constructor-given
ITrace2d and swaps the data of the added Point2D instances.
|
class |
Trace2DBijective
A
Trace2D who only allows a single occurance of a tracepoint
with a certain x- value xi. |
class |
Trace2DCandleSticks
An ITrace2D decorator that adds the feature of drawing candlestick-traces.
|
class |
Trace2DDebugger
A decorator for any ITrace2D implementation.
|
class |
Trace2DLtd
Additional to the Trace2DSimple the Trace2DLimited adds the following
functionality:
|
class |
Trace2DLtdReplacing
In addition to the
Trace2DLtd this class offers the guarantee only to allow a
single tracepoint with a certain x- value. |
class |
Trace2DLtdSorted
Additional to the
Trace2DLtdReplacing all tracepoints will be
sorted by their x- value. |
class |
Trace2DReplacing
Has the behavior of
Trace2DBijective and additional
features. |
class |
Trace2DSimple
|
class |
Trace2DSorted
Has the behavior of
Trace2DReplacing and additional features. |
class |
TraceProxy
Allows mixing in behavior (by overriding methods in anonymous class creation)
for traces.
|
Modifier and Type | Field and Description |
---|---|
protected List<ITrace2D> |
ATrace2D.m_computingTraces
The list of traces that compute their values from this trace.
|
Modifier and Type | Method and Description |
---|---|
void |
Trace2DDebugger.addComputingTrace(ITrace2D trace) |
void |
Trace2DAxisSwap.addComputingTrace(ITrace2D trace) |
void |
Trace2DCandleSticks.addComputingTrace(ITrace2D trace) |
void |
TraceProxy.addComputingTrace(ITrace2D trace) |
void |
ATrace2D.addComputingTrace(ITrace2D trace) |
boolean |
Trace2DDebugger.addPoint(ITracePoint2D p,
ITrace2D wrapperOfMe) |
boolean |
Trace2DAxisSwap.addPoint(ITracePoint2D p,
ITrace2D wrapperOfMe) |
boolean |
Trace2DCandleSticks.addPoint(ITracePoint2D p,
ITrace2D wrapperOfMe) |
boolean |
TraceProxy.addPoint(ITracePoint2D p,
ITrace2D wrapperOfMe) |
boolean |
ATrace2D.addPoint(ITracePoint2D p,
ITrace2D wrapperOfMe)
Do not call this unless you know what it does.
|
int |
Trace2DDebugger.compareTo(ITrace2D o) |
int |
Trace2DAxisSwap.compareTo(ITrace2D o) |
int |
Trace2DCandleSticks.compareTo(ITrace2D o) |
int |
TraceProxy.compareTo(ITrace2D o) |
int |
ATrace2D.compareTo(ITrace2D o) |
boolean |
Trace2DDebugger.removeComputingTrace(ITrace2D trace) |
boolean |
Trace2DAxisSwap.removeComputingTrace(ITrace2D trace) |
boolean |
Trace2DCandleSticks.removeComputingTrace(ITrace2D trace) |
boolean |
TraceProxy.removeComputingTrace(ITrace2D trace) |
boolean |
ATrace2D.removeComputingTrace(ITrace2D trace) |
Constructor and Description |
---|
Trace2DAxisSwap(ITrace2D trace)
Creates an instance that will swap the axis of the given delegate.
|
Trace2DCandleSticks(ITrace2D delegateThatIsEnrichedByCandlestickPainting,
int candleStickWidth)
Constructor taking the trace implementation to decorate with candle stick
painting.
|
Trace2DDebugger(ITrace2D debug)
Creates an instance to debug the given trace for valid points added.
|
TraceProxy(ITrace2D delegate)
Creates a proxy for the given trace.
|
Modifier and Type | Method and Description |
---|---|
Iterator<ITracePoint2D> |
AccumulationStrategyAmountOfPoints.iterator(ITrace2D source,
int amountOfPoints) |
Iterator<ITracePoint2D> |
AccumulationStrategyByPass.iterator(ITrace2D source,
int amountOfPoints) |
abstract Iterator<ITracePoint2D> |
AAccumulationStrategy.iterator(ITrace2D source,
int amountOfPoints) |
Modifier and Type | Class and Description |
---|---|
class |
Trace2DArithmeticMean
A trace that accumulates the latest n points added to points with the
arithmetic mean value.
|
class |
Trace2DArithmeticMeanX
A trace that accumulates the latest n x values added to points with
the arithmetic mean x value and the latest y value.
|
class |
Trace2DArithmeticMeanY
A trace that accumulates the latest n y values added to points with
the arithmetic mean y value and the latest x value.
|
Modifier and Type | Method and Description |
---|---|
protected ITrace2D |
AAccumulationIterator.getOriginalTrace()
Returns the original trace.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AAccumulationIterator.setOriginalTrace(ITrace2D originalTrace)
Sets original trace that is decorated with the point accumulation feature.
|
Constructor and Description |
---|
AAccumulationIterator(ITrace2D originalTrace,
IAccumulationFunction accumulationFunction,
IAccumulationStrategy.IAccumulationControl accumulationControl)
Constructor with all that is needed for accumulating points.
|
Modifier and Type | Method and Description |
---|---|
void |
AIteratorITracePointStateEnginge.reset(ITrace2D trace)
Allows to reuse this instance (by resetting to the initial state) with the
given trace.
|
Constructor and Description |
---|
AIteratorITracePointStateEnginge(ITrace2D originalTrace,
IAccumulationFunction accumulationFunction,
IAccumulationStrategy.IAccumulationControl accumulationControl)
Constructor with all that is needed for accumulating points.
|
IteratorTracePointStateEngine(ITrace2D originalTrace,
IAccumulationFunction accumulationFunction,
IAccumulationStrategy.IAccumulationControl accumulationControl)
Constructor with all that is needed for accumulating points.
|
Modifier and Type | Method and Description |
---|---|
static ITrace2D |
TracePoint2DUtil.getTraceFromTracePoint(ITracePoint2D tracePoint)
Returns the trace this tracepoint is attached to.
|
Modifier and Type | Method and Description |
---|---|
static Chart2D |
TracePoint2DUtil.getChartFromTrace(ITrace2D trace)
Returns the chart this trace is attached to.
|
Constructor and Description |
---|
ObjRecorder2Trace2DAdapter(ITrace2D view,
Object toinspect,
String fieldname,
long interval)
Creates a bridge from the given field of the given instance to inspect to
the trace.
|
Copyright © 2018. All rights reserved.