root / trunk / applications / appgvSIG / src / com / iver / cit / gvsig / project / documents / layout / tools / behavior / ILayoutBehavior.java @ 28247
History | View | Annotate | Download (2.46 KB)
1 |
package com.iver.cit.gvsig.project.documents.layout.tools.behavior; |
---|---|
2 |
|
3 |
|
4 |
import java.awt.Cursor; |
5 |
import java.awt.Graphics; |
6 |
import java.awt.Image; |
7 |
import java.awt.event.MouseEvent; |
8 |
import java.awt.event.MouseWheelEvent; |
9 |
|
10 |
import com.iver.cit.gvsig.fmap.tools.BehaviorException; |
11 |
import com.iver.cit.gvsig.project.documents.layout.LayoutControl; |
12 |
import com.iver.cit.gvsig.project.documents.layout.tools.listener.LayoutToolListener; |
13 |
/**
|
14 |
* Layout behavior.
|
15 |
*
|
16 |
* @author Vicente Caballero Navarro
|
17 |
*/
|
18 |
public interface ILayoutBehavior { |
19 |
|
20 |
/**
|
21 |
* Devuelve el ToolListener que est? seleccionado.
|
22 |
*
|
23 |
* @return ToolListener seleccionado.
|
24 |
*/
|
25 |
public LayoutToolListener getListener();
|
26 |
|
27 |
/**
|
28 |
* @see com.iver.cit.gvsig.fmap.tools.Behavior.Behavior#paintComponent(java.awt.Graphics)
|
29 |
*/
|
30 |
public void paintComponent(Graphics g); |
31 |
|
32 |
/**
|
33 |
* Inserta el Layout.
|
34 |
*
|
35 |
* @param lc Layout a insertar.
|
36 |
*/
|
37 |
public void setLayoutControl(LayoutControl lc); |
38 |
|
39 |
/**
|
40 |
* Devuelve la imagen del cursor de la herrameinta.
|
41 |
*
|
42 |
* @return Image cursor de la herramienta.
|
43 |
*/
|
44 |
public Image getImageCursor(); |
45 |
public Cursor getCursor(); |
46 |
|
47 |
/**
|
48 |
* Devuelve el Layout.
|
49 |
*
|
50 |
* @return Layout.
|
51 |
*/
|
52 |
public LayoutControl getLayoutControl();
|
53 |
|
54 |
/**
|
55 |
* @see java.awt.event.MouseListener#mouseClicked(java.awt.event.MouseEvent)
|
56 |
*/
|
57 |
public void mouseClicked(MouseEvent e) throws BehaviorException; |
58 |
|
59 |
/**
|
60 |
* @see java.awt.event.MouseListener#mouseEntered(java.awt.event.MouseEvent)
|
61 |
*/
|
62 |
public void mouseEntered(MouseEvent e) throws BehaviorException; |
63 |
|
64 |
/**
|
65 |
* @see java.awt.event.MouseListener#mouseExited(java.awt.event.MouseEvent)
|
66 |
*/
|
67 |
public void mouseExited(MouseEvent e) throws BehaviorException; |
68 |
|
69 |
/**
|
70 |
* @see java.awt.event.MouseListener#mousePressed(java.awt.event.MouseEvent)
|
71 |
*/
|
72 |
public void mousePressed(MouseEvent e) throws BehaviorException; |
73 |
|
74 |
/**
|
75 |
* @see java.awt.event.MouseListener#mouseReleased(java.awt.event.MouseEvent)
|
76 |
*/
|
77 |
public void mouseReleased(MouseEvent e) throws BehaviorException; |
78 |
|
79 |
/**
|
80 |
* @see java.awt.event.MouseMotionListener#mouseDragged(java.awt.event.MouseEvent)
|
81 |
*/
|
82 |
public void mouseDragged(MouseEvent e) throws BehaviorException; |
83 |
|
84 |
/**
|
85 |
* @see java.awt.event.MouseMotionListener#mouseMoved(java.awt.event.MouseEvent)
|
86 |
*/
|
87 |
public void mouseMoved(MouseEvent e) throws BehaviorException; |
88 |
|
89 |
/**
|
90 |
* @see java.awt.event.MouseWheelListener#mouseWheelMoved(java.awt.event.MouseWheelEvent)
|
91 |
*/
|
92 |
public void mouseWheelMoved(MouseWheelEvent e) throws BehaviorException; |
93 |
|
94 |
public boolean isAdjustable(); |
95 |
|
96 |
} |