VectorEditor is a two dimensional panel which plots a sampled function (32bit float) and allows the user to edit this one dimensional data vector (or table, simply speaking). It implements the EventManager.Processor interface to handle custom VectorDisplay.Events and implements the VirtualSurface interface to allow transitions between screen space and normalized virtual space. Often it is convenient to attach a popup menu created by the static method in VectorTransformer.
Examples of using VectorEditors aer the SigmaReceiverEditor and the SimpleTransmitterEditor.
This class implements ToolActionListener, therefore it's allowed to attach a VectorEditor to a ToolBar.
@author Hanns Holger Rutz
@version 0.75, 19-Jun-08
@see de.sciss.meloncillo.math.VectorTransformer#createPopupMenu(VectorEditor)
@see VectorDisplay.Listener
@see VectorDisplay.Event
@see de.sciss.meloncillo.receiver.SigmaReceiverEditor
@see de.sciss.meloncillo.transmitter.SimpleTransmitterEditor
@todo a vertical (y) wrapping mode should be implementedsimilar to x-wrap, useful for circular value spaces like angles
@todo due to a bug in horizontal wrapping, the modified spaninformation is wrong?
| |
| |
| |