public class SelectPointDrawing
extends usf.saav.common.mvc.ControllerComponent.Default
implements usf.saav.common.mvc.ViewComponent, usf.saav.common.mvc.ControllerComponent
Constructor and Description |
---|
SelectPointDrawing()
Instantiates a new select point drawing.
|
Modifier and Type | Method and Description |
---|---|
void |
addMonitor(java.lang.Object obj,
java.lang.String func_name)
Adds the monitor.
|
void |
clearSelection()
Clear selection.
|
void |
draw(usf.saav.common.mvc.swing.TGraphics g) |
void |
drawLegend(usf.saav.common.mvc.swing.TGraphics g) |
int[] |
getSelection()
Gets the selection.
|
boolean |
mousePressed(int mouseX,
int mouseY) |
void |
setCoordinateSystem(CoordinateSystem csc)
Sets the coordinate system.
|
keyPressed, mouseDoubleClick, mouseDragged, mouseMoved, mouseReleased, mouseWheel
getHeight, getPosition, getU0, getV0, getWidth, inRange, setPosition, setPosition
disable, enable, isEnabled, setEnabled, setup, update
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
keyPressed, mouseDoubleClick, mouseDragged, mouseMoved, mouseReleased, mouseWheel
public SelectPointDrawing()
public int[] getSelection()
public void setCoordinateSystem(CoordinateSystem csc)
csc
- the new coordinate systempublic void draw(usf.saav.common.mvc.swing.TGraphics g)
draw
in interface usf.saav.common.mvc.ViewComponent
public void drawLegend(usf.saav.common.mvc.swing.TGraphics g)
drawLegend
in interface usf.saav.common.mvc.ViewComponent
public boolean mousePressed(int mouseX, int mouseY)
mousePressed
in interface usf.saav.common.mvc.ControllerComponent
mousePressed
in class usf.saav.common.mvc.ControllerComponent.Default
public void clearSelection()
public void addMonitor(java.lang.Object obj, java.lang.String func_name)
obj
- the objfunc_name
- the func name