public class LayoutPointBehavior extends LayoutBehavior
Constructor and Description |
---|
LayoutPointBehavior(LayoutPointListener l)
Crea un nuevo LayoutPointBehavior.
|
Modifier and Type | Method and Description |
---|---|
LayoutToolListener |
getListener()
Devuelve el ToolListener que está seleccionado.
|
boolean |
isAdjustable() |
void |
mouseClicked(MouseEvent e)
Calls the right method from LayoutPointListener (point
and pointDoubleClick)
|
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e)
Reimplementación del método mousePressed de Behavior.
|
void |
paintComponent(Graphics g) |
void |
setListener(ToolListener listener) |
getImageCursor, getLayoutControl, mouseDragged, mouseEntered, mouseExited, mouseReleased, mouseWheelMoved, setLayoutControl
public LayoutPointBehavior(LayoutPointListener l)
l
- listener.public void mousePressed(MouseEvent e) throws BehaviorException
mousePressed
in interface ILayoutBehavior
mousePressed
in class LayoutBehavior
e
- MouseEventBehaviorException
MouseListener.mousePressed(java.awt.event.MouseEvent)
public void paintComponent(Graphics g)
paintComponent
in interface ILayoutBehavior
paintComponent
in class LayoutBehavior
org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior#paintComponent(java.awt.Graphics)
public void mouseClicked(MouseEvent e) throws BehaviorException
mouseClicked
in interface ILayoutBehavior
mouseClicked
in class LayoutBehavior
e
- MouseEventBehaviorException
MouseListener.mouseClicked(java.awt.event.MouseEvent)
public void setListener(ToolListener listener)
org.gvsig.fmap.mapcontrol.tools.Behavior.Behavior#setListener(com.iver.cit.gvsig.fmap.tools.ToolListener)
public LayoutToolListener getListener()
ILayoutBehavior
getListener
in interface ILayoutBehavior
getListener
in class LayoutBehavior
Behavior.getListener()
public void mouseMoved(MouseEvent e) throws BehaviorException
mouseMoved
in interface ILayoutBehavior
mouseMoved
in class LayoutBehavior
BehaviorException
MouseMotionListener.mouseMoved(java.awt.event.MouseEvent)
public boolean isAdjustable()
isAdjustable
in interface ILayoutBehavior
isAdjustable
in class LayoutBehavior