public class CircleSelectionBehavior extends CircleBehavior
isClicked, m_FirstPoint, m_LastPoint
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT, geomManager
Constructor and Description |
---|
CircleSelectionBehavior(CircleListener zili) |
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(MouseEvent e) |
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
void |
paintComponent(Graphics g) |
getListener, paintComponent, setListener
clean, createArc, createArc, createArc, createCircle, createLineString, createPoint, createPoint, getImageCursor, getMapControl, isMyButton, isMyButton, mouseClicked, mouseEntered, mouseExited, mouseWheelMoved, paintComponent, resetMyButton, setMapControl
public CircleSelectionBehavior(CircleListener zili)
public void paintComponent(Graphics g)
public void mousePressed(MouseEvent e)
mousePressed
in interface IBehavior
mousePressed
in class CircleBehavior
MouseListener.mousePressed(java.awt.event.MouseEvent)
public void mouseReleased(MouseEvent e) throws BehaviorException
mouseReleased
in interface IBehavior
mouseReleased
in class CircleBehavior
BehaviorException
- any exception processing the action associated to a mouse released event, by the IBehavior
objectMouseListener.mouseReleased(java.awt.event.MouseEvent)
public void mouseDragged(MouseEvent e) throws BehaviorException
mouseDragged
in interface IBehavior
mouseDragged
in class CircleBehavior
BehaviorException
- any exception processing the action associated to a mouse dragged event, by the IBehavior
objectMouseMotionListener.mouseDragged(java.awt.event.MouseEvent)
public void mouseMoved(MouseEvent e) throws BehaviorException
mouseMoved
in interface IBehavior
mouseMoved
in class CircleBehavior
BehaviorException
- any exception processing the action associated to a mouse moved event, by the IBehavior
objectMouseMotionListener.mouseMoved(java.awt.event.MouseEvent)