NASA World Wind

gov.nasa.worldwind.render
Class SegmentPlaneController

java.lang.Object
  extended by gov.nasa.worldwind.render.SegmentPlaneController
All Implemented Interfaces:
PositionListener, MouseListener, MouseMotionListener, EventListener

public class SegmentPlaneController
extends Object
implements MouseListener, MouseMotionListener, PositionListener


Field Summary
protected  PickedObject activePickedObject
           
protected  Point lastMousePoint
           
protected  Point mousePoint
           
 
Constructor Summary
SegmentPlaneController(WorldWindow wwd)
           
 
Method Summary
protected  SegmentPlaneAttributes getAttributesFor(SegmentPlaneAttributes attributes)
           
protected  Cursor getCursor()
           
 SegmentPlaneEditor getEditor()
           
protected  PickedObject getTopOwnedControlPoint()
           
 WorldWindow getWorldWindow()
           
protected  void handleObjectMoved(PickedObject object, Point mousePoint, Point lastMousePoint)
           
 boolean isActive()
           
 void mouseClicked(MouseEvent e)
           
 void mouseDragged(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mouseMoved(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

activePickedObject

protected PickedObject activePickedObject

lastMousePoint

protected Point lastMousePoint

mousePoint

protected Point mousePoint
Constructor Detail

SegmentPlaneController

public SegmentPlaneController(WorldWindow wwd)
Method Detail

getAttributesFor

protected SegmentPlaneAttributes getAttributesFor(SegmentPlaneAttributes attributes)

getCursor

protected Cursor getCursor()

getEditor

public SegmentPlaneEditor getEditor()

getTopOwnedControlPoint

protected PickedObject getTopOwnedControlPoint()

getWorldWindow

public WorldWindow getWorldWindow()

handleObjectMoved

protected void handleObjectMoved(PickedObject object,
                                 Point mousePoint,
                                 Point lastMousePoint)

isActive

public boolean isActive()

mouseClicked

public void mouseClicked(MouseEvent e)
Specified by:
mouseClicked in interface MouseListener

mouseDragged

public void mouseDragged(MouseEvent e)
Specified by:
mouseDragged in interface MouseMotionListener

mouseEntered

public void mouseEntered(MouseEvent e)
Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Specified by:
mouseExited in interface MouseListener

mouseMoved

public void mouseMoved(MouseEvent e)
Specified by:
mouseMoved in interface MouseMotionListener

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener

moved

public void moved(PositionEvent e)
Specified by:
moved in interface PositionListener

setActive

protected void setActive(boolean active)

setEditor

public void setEditor(SegmentPlaneEditor editor)

setWorldWindow

public void setWorldWindow(WorldWindow wwd)

updateAttributes

protected void updateAttributes()

updateCursor

protected void updateCursor()

NASA World Wind