public class SelectBoxDrawing
extends usf.saav.common.mvc.ControllerComponent.Default
implements usf.saav.common.mvc.ViewComponent, usf.saav.common.mvc.ControllerComponent
| Constructor and Description |
|---|
SelectBoxDrawing()
Instantiates a new select box drawing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearSelection()
Clear selection.
|
void |
draw(usf.saav.common.mvc.swing.TGraphics g) |
void |
drawLegend(usf.saav.common.mvc.swing.TGraphics g) |
usf.saav.common.range.IntRange1D[] |
getSelection()
Gets the selection.
|
boolean |
mouseDragged(int mouseX,
int mouseY) |
boolean |
mousePressed(int mouseX,
int mouseY) |
boolean |
mouseReleased() |
void |
setCoordinateSystem(CoordinateSystem csc)
Sets the coordinate system.
|
void |
update() |
keyPressed, mouseDoubleClick, mouseMoved, mouseWheelgetHeight, getPosition, getU0, getV0, getWidth, inRange, setPosition, setPositiondisable, enable, isEnabled, setEnabled, setupequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeyPressed, mouseDoubleClick, mouseMoved, mouseWheelpublic SelectBoxDrawing()
public usf.saav.common.range.IntRange1D[] 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 boolean mouseDragged(int mouseX,
int mouseY)
mouseDragged in interface usf.saav.common.mvc.ControllerComponentmouseDragged in class usf.saav.common.mvc.ControllerComponent.Defaultpublic boolean mouseReleased()
mouseReleased in interface usf.saav.common.mvc.ControllerComponentmouseReleased in class usf.saav.common.mvc.ControllerComponent.Defaultpublic void clearSelection()
public void update()
update in interface usf.saav.common.mvc.BasicComponentupdate in class usf.saav.common.mvc.BasicComponent.Default