|
|||||||||||
| 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.ZoomTool
A controller component to zoom in or out 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 | |
|---|---|
ZoomTool()
Constructs a new ZoomTool 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 |
mouseMoved(java.awt.event.MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has mouved in the graph view. |
void |
unbindFc(java.lang.String clientItfName)
|
| Methods inherited from class org.objectweb.fractal.gui.graph.control.EmptyGraphViewListener |
|---|
mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, viewChanged |
| 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 clicked.
| Constructor Detail |
public ZoomTool()
ZoomTool component.
| Method Detail |
public java.lang.String[] listFc()
listFc in interface org.objectweb.fractal.api.control.BindingControllerpublic 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.BindingControllerpublic void unbindFc(java.lang.String clientItfName)
unbindFc in interface org.objectweb.fractal.api.control.BindingController
public void mouseClicked(java.awt.event.MouseEvent e,
ComponentPart p)
GraphViewListener
mouseClicked in interface GraphViewListenermouseClicked in class EmptyGraphViewListener
public void mouseMoved(java.awt.event.MouseEvent e,
ComponentPart p)
GraphViewListener
mouseMoved in interface GraphViewListenermouseMoved in class EmptyGraphViewListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||