|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.graph.view.GraphViewNotifier
A GraphViewListener
that notifies other GraphViewListener
s.
Field Summary | |
static String |
GRAPH_VIEW_LISTENERS_BINDING
A collection client interface bound to the listeners of this component. |
Constructor Summary | |
GraphViewNotifier()
Constructs a new GraphViewNotifier component. |
Method Summary | |
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
String[] |
listFc()
Returns the names of the client interfaces of the component to which this interface belongs. |
Object |
lookupFc(String clientItfName)
Returns the interface to which the given client interface is bound. |
void |
mouseClicked(MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has been clicked. |
void |
mouseDragged(MouseEvent e)
Notifies this listener that the mouse has been dragged in the graph view. |
void |
mouseEntered(MouseEvent e)
Notifies this listener that the mouse has entered the graph view. |
void |
mouseExited(MouseEvent e)
Notifies this listener that the mouse has exited the graph view. |
void |
mouseMoved(MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has mouved in the graph view. |
void |
mousePressed(MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has been pressed. |
void |
mouseReleased(MouseEvent e,
ComponentPart p)
Notifies this listener that the mouse has been released. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
void |
viewChanged()
Notifies this listener that the model represented by the view has changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String GRAPH_VIEW_LISTENERS_BINDING
listeners
of this component.
Constructor Detail |
public GraphViewNotifier()
GraphViewNotifier
component.
Method Detail |
public String[] listFc()
BindingController
listFc
in interface BindingController
public Object lookupFc(String clientItfName)
BindingController
bindFc
).
lookupFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.
public void bindFc(String clientItfName, Object serverItf)
BindingController
bindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.serverItf
- a server interface.public void unbindFc(String clientItfName)
BindingController
unbindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.public void viewChanged()
GraphViewListener
viewChanged
in interface GraphViewListener
public void mousePressed(MouseEvent e, ComponentPart p)
GraphViewListener
mousePressed
in interface GraphViewListener
e
- a mouse pressed mouse event.p
- the component part corresponding to the event's coordinates.public void mouseReleased(MouseEvent e, ComponentPart p)
GraphViewListener
mouseReleased
in interface GraphViewListener
e
- a mouse released mouse event.p
- the component part corresponding to the event's coordinates.public void mouseClicked(MouseEvent e, ComponentPart p)
GraphViewListener
mouseClicked
in interface GraphViewListener
e
- a mouse clicke mouse event.p
- the component part corresponding to the event's coordinates.public void mouseEntered(MouseEvent e)
GraphViewListener
mouseEntered
in interface GraphViewListener
e
- a mouse entered mouse event.public void mouseExited(MouseEvent e)
GraphViewListener
mouseExited
in interface GraphViewListener
e
- a mouse exited mouse event.public void mouseDragged(MouseEvent e)
GraphViewListener
mouseDragged
in interface GraphViewListener
e
- a mouse dragged mouse event.public void mouseMoved(MouseEvent e, ComponentPart p)
GraphViewListener
mouseMoved
in interface GraphViewListener
e
- a mouse moved mouse event.p
- the component part corresponding to the event's coordinates.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |