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, mouseWheelgetHeight, getPosition, getU0, getV0, getWidth, inRange, setPosition, setPositiondisable, enable, isEnabled, setEnabled, setup, updateequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeyPressed, mouseDoubleClick, mouseDragged, mouseMoved, mouseReleased, mouseWheelpublic 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.ViewComponentpublic void drawLegend(usf.saav.common.mvc.swing.TGraphics g)
drawLegend in interface usf.saav.common.mvc.ViewComponentpublic boolean mousePressed(int mouseX,
int mouseY)
mousePressed in interface usf.saav.common.mvc.ControllerComponentmousePressed in class usf.saav.common.mvc.ControllerComponent.Defaultpublic void clearSelection()
public void addMonitor(java.lang.Object obj,
java.lang.String func_name)
obj - the objfunc_name - the func name