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, setPosition
disable, enable, isEnabled, setEnabled, setup
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SpectralLineDrawing()
public void setData(ScalarField1D sf)
sf
- the new datapublic void update()
update
in interface usf.saav.common.mvc.BasicComponent
update
in class usf.saav.common.mvc.BasicComponent.Default
public void draw(usf.saav.common.mvc.swing.TGraphics g)
draw
in interface usf.saav.common.mvc.ViewComponent
draw
in class usf.saav.common.mvc.ViewComponent.Default
public void drawLegend(usf.saav.common.mvc.swing.TGraphics g)
drawLegend
in interface usf.saav.common.mvc.ViewComponent
drawLegend
in class usf.saav.common.mvc.ViewComponent.Default