|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.graph.control.EmptyGraphViewListener
org.objectweb.fractal.gui.graph.control.MoveTool
A controller component to scroll a display. This controller component modifies a display model, in reaction to events emited by a graph view.
Field Summary | |
static java.lang.String |
DISPLAY_BINDING
A mandatory client interface bound to a display model. |
static java.lang.String |
TOOLS_BINDING
A mandatory client interface bound to a tools model. |
Constructor Summary | |
MoveTool()
Constructs a new MoveTool component. |
Method Summary | |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
mouseClicked(java.awt.event.MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has been clicked. |
void |
mouseDragged(java.awt.event.MouseEvent e)
Notifies this listener that the mouse has been dragged in the graph view. |
void |
mouseMoved(java.awt.event.MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has mouved in the graph view. |
void |
mousePressed(java.awt.event.MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has been pressed. |
void |
mouseReleased(java.awt.event.MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has been released. |
void |
unbindFc(java.lang.String clientItfName)
|
void |
viewChanged()
Notifies this listener that the model represented by the view has changed. |
Methods inherited from class org.objectweb.fractal.gui.graph.control.EmptyGraphViewListener |
mouseEntered, mouseExited |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String TOOLS_BINDING
tools
model. This
model is used to know if this tool is the currently selected tool or not.
public static final java.lang.String DISPLAY_BINDING
display
model. This
model is modified by this controller component when the mouse is dragged.
Constructor Detail |
public MoveTool()
MoveTool
component.
Method Detail |
public java.lang.String[] listFc()
listFc
in interface org.objectweb.fractal.api.control.BindingController
public java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc
in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName, java.lang.Object serverItf)
bindFc
in interface org.objectweb.fractal.api.control.BindingController
public void unbindFc(java.lang.String clientItfName)
unbindFc
in interface org.objectweb.fractal.api.control.BindingController
public void viewChanged()
GraphViewListener
viewChanged
in interface GraphViewListener
viewChanged
in class EmptyGraphViewListener
public void mousePressed(java.awt.event.MouseEvent e, ComponentPart p)
GraphViewListener
mousePressed
in interface GraphViewListener
mousePressed
in class EmptyGraphViewListener
public void mouseReleased(java.awt.event.MouseEvent e, ComponentPart p)
GraphViewListener
mouseReleased
in interface GraphViewListener
mouseReleased
in class EmptyGraphViewListener
public void mouseClicked(java.awt.event.MouseEvent e, ComponentPart p)
GraphViewListener
mouseClicked
in interface GraphViewListener
mouseClicked
in class EmptyGraphViewListener
public void mouseDragged(java.awt.event.MouseEvent e)
GraphViewListener
mouseDragged
in interface GraphViewListener
mouseDragged
in class EmptyGraphViewListener
public void mouseMoved(java.awt.event.MouseEvent e, ComponentPart p)
GraphViewListener
mouseMoved
in interface GraphViewListener
mouseMoved
in class EmptyGraphViewListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |