public class SpectralLineDrawing
extends usf.saav.common.mvc.ViewComponent.Default
implements usf.saav.common.mvc.ViewComponent
| Constructor and Description |
|---|
SpectralLineDrawing()
Instantiates a new spectral line drawing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(usf.saav.common.mvc.swing.TGraphics g) |
void |
drawLegend(usf.saav.common.mvc.swing.TGraphics g) |
void |
setData(ScalarField1D sf)
Sets the data.
|
void |
update() |
getHeight, getPosition, getU0, getV0, getWidth, inRange, setPosition, setPositiondisable, enable, isEnabled, setEnabled, setupequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic SpectralLineDrawing()
public void setData(ScalarField1D sf)
sf - the new datapublic void update()
update in interface usf.saav.common.mvc.BasicComponentupdate in class usf.saav.common.mvc.BasicComponent.Defaultpublic void draw(usf.saav.common.mvc.swing.TGraphics g)
draw in interface usf.saav.common.mvc.ViewComponentdraw in class usf.saav.common.mvc.ViewComponent.Defaultpublic void drawLegend(usf.saav.common.mvc.swing.TGraphics g)
drawLegend in interface usf.saav.common.mvc.ViewComponentdrawLegend in class usf.saav.common.mvc.ViewComponent.Default