Class Trace2DAxisSwap

java.lang.Object
info.monitorenter.gui.chart.traces.Trace2DAxisSwap
All Implemented Interfaces:
ITrace2D, PropertyChangeListener, Serializable, Comparable<ITrace2D>, EventListener

public class Trace2DAxisSwap extends Object implements ITrace2D, Comparable<ITrace2D>
A delegator / proxy that delegates all calls to an internal constructor-given ITrace2d and swaps the data of the added Point2D instances.

x values become y values and vice versa. Performance is bad, as unnecessary instances are created (each TracePoint2D is instantiated twice) so this instance is for debugging / testing purposes only.

Version:
$Revision: 1.34 $
Author:
Achim Westermann
See Also: