|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.graph.model.BasicTools
Basic implementation of the Tools
interface.
Field Summary | |
static java.lang.String |
TOOLS_LISTENERS_BINDING
A collection client interface bound to the listeners
of this model. |
Fields inherited from interface org.objectweb.fractal.gui.graph.model.Tools |
BIND, MOVE, SELECT, ZOOM_IN, ZOOM_OUT |
Constructor Summary | |
BasicTools()
Constructs a new BasicTools component. |
Method Summary | |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
Interface |
getBindInterface()
Returns the client interface that will be bound by the Tools.BIND tool. |
int |
getTool()
Returns the currently selected tool. |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
setBindInterface(Interface i)
Sets the client interface that will be bound by the Tools.BIND tool. |
void |
setTool(int tool)
Sets the currently selected tool. |
void |
unbindFc(java.lang.String clientItfName)
|
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_LISTENERS_BINDING
listeners
of this model.
Constructor Detail |
public BasicTools()
BasicTools
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 int getTool()
Tools
getTool
in interface Tools
Tools.setTool(int)
public void setTool(int tool)
Tools
setTool
in interface Tools
tool
- the new selected tool.Tools.getTool()
public Interface getBindInterface()
Tools
Tools.BIND
tool.
getBindInterface
in interface Tools
Tools.BIND
tool.Tools.setBindInterface(org.objectweb.fractal.gui.model.Interface)
public void setBindInterface(Interface i)
Tools
Tools.BIND
tool.
setBindInterface
in interface Tools
i
- the client interface that will be bound by the Tools.BIND
tool.Tools.getBindInterface()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |