public class SegmentPlaneController extends java.lang.Object implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener, PositionListener
Modifier and Type | Field and Description |
---|---|
protected PickedObject |
activePickedObject |
protected java.awt.Point |
lastMousePoint |
protected java.awt.Point |
mousePoint |
Constructor and Description |
---|
SegmentPlaneController(WorldWindow wwd) |
Modifier and Type | Method and Description |
---|---|
protected SegmentPlaneAttributes |
getAttributesFor(SegmentPlaneAttributes attributes) |
protected java.awt.Cursor |
getCursor() |
SegmentPlaneEditor |
getEditor() |
protected PickedObject |
getTopOwnedControlPoint() |
WorldWindow |
getWorldWindow() |
protected void |
handleObjectMoved(PickedObject object,
java.awt.Point mousePoint,
java.awt.Point lastMousePoint) |
boolean |
isActive() |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
mouseReleased(java.awt.event.MouseEvent e) |
void |
moved(PositionEvent e) |
protected void |
setActive(boolean active) |
void |
setEditor(SegmentPlaneEditor editor) |
void |
setWorldWindow(WorldWindow wwd) |
protected void |
updateAttributes() |
protected void |
updateCursor() |
protected PickedObject activePickedObject
protected java.awt.Point lastMousePoint
protected java.awt.Point mousePoint
public SegmentPlaneController(WorldWindow wwd)
protected SegmentPlaneAttributes getAttributesFor(SegmentPlaneAttributes attributes)
protected java.awt.Cursor getCursor()
public SegmentPlaneEditor getEditor()
protected PickedObject getTopOwnedControlPoint()
public WorldWindow getWorldWindow()
protected void handleObjectMoved(PickedObject object, java.awt.Point mousePoint, java.awt.Point lastMousePoint)
public boolean isActive()
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void moved(PositionEvent e)
moved
in interface PositionListener
protected void setActive(boolean active)
public void setEditor(SegmentPlaneEditor editor)
public void setWorldWindow(WorldWindow wwd)
protected void updateAttributes()
protected void updateCursor()