|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A model for graph editing tools.
Field Summary | |
static int |
BIND
The binding tool. |
static int |
MOVE
The move tool. |
static int |
SELECT
The selection tool. |
static int |
ZOOM_IN
The zoom in tool. |
static int |
ZOOM_OUT
The zoom out tool. |
Method Summary | |
Interface |
getBindInterface()
Returns the client interface that will be bound by the BIND tool. |
int |
getTool()
Returns the currently selected tool. |
void |
setBindInterface(Interface i)
Sets the client interface that will be bound by the BIND tool. |
void |
setTool(int tool)
Sets the currently selected tool. |
Field Detail |
public static final int SELECT
public static final int BIND
public static final int MOVE
public static final int ZOOM_IN
public static final int ZOOM_OUT
Method Detail |
public int getTool()
setTool(int)
public void setTool(int tool)
tool
- the new selected tool.getTool()
public Interface getBindInterface()
BIND
tool.
BIND
tool.setBindInterface(org.objectweb.fractal.gui.model.Interface)
public void setBindInterface(Interface i)
BIND
tool.
i
- the client interface that will be bound by the BIND
tool.getBindInterface()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |