|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gvsig.fmap.mapcontrol.tools.Behavior.Behavior
org.gvsig.fmap.mapcontrol.tools.Behavior.MouseWheelBehavior
public class MouseWheelBehavior
| Field Summary |
|---|
| Fields inherited from class org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior |
|---|
geomManager |
| Constructor Summary | |
|---|---|
MouseWheelBehavior()
Constructor. |
|
| Method Summary | |
|---|---|
ToolListener |
getListener()
Gets the ToolListener used by this behavior to perform actions on the
associated MapControl object. |
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent event)
|
void |
paintComponent(MapControlDrawer mapControlDrawer)
Method executed in real-time, when user is working with a tool on the associated MapControl
object, repainting the MapControl's image. |
| Methods inherited from class org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior |
|---|
createArc, createArc, createArc, createCircle, createLineString, createPoint, createPoint, getImageCursor, getMapControl, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setMapControl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MouseWheelBehavior()
| Method Detail |
|---|
public ToolListener getListener()
IBehaviorGets the ToolListener used by this behavior to perform actions on the
associated MapControl object.
getListener in interface IBehaviorgetListener in class BehaviorToolListener used by this behavior
public void mouseWheelMoved(java.awt.event.MouseWheelEvent event)
throws BehaviorException
mouseWheelMoved in interface IBehaviormouseWheelMoved in class BehaviorBehaviorException - any exception processing the action associated to a mouse wheel event, by the IBehavior objectMouseWheelListener.mouseWheelMoved(java.awt.event.MouseWheelEvent)public void paintComponent(MapControlDrawer mapControlDrawer)
IBehaviorMethod executed in real-time, when user is working with a tool on the associated MapControl
object, repainting the MapControl's image.
Returns immediately in all cases, even if the complete image has not yet been loaded.
This method will be implemented according to the specific nature of each behavior, and its extra and particular features.
paintComponent in interface IBehaviorpaintComponent in class BehaviorGraphics.drawImage(java.awt.Image, int, int, java.awt.image.ImageObserver)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||