graphlab.gui.plugins.main.core.actions.zoom
Class SetCenter
java.lang.Object
graphlab.main.core.action.AbstractAction
graphlab.gui.plugins.main.core.actions.zoom.SetCenter
- All Implemented Interfaces:
- Action, Notifiable
public class SetCenter
- extends AbstractAction
author: Reza Mohammadi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetCenter
public SetCenter(BlackBoard bb)
performJob
public void performJob(java.lang.String name)
- Description copied from class:
AbstractAction
- like Action
- Specified by:
performJob in class AbstractAction
moveCenter
public static void moveCenter(Graph graph,
int dx,
int dy)
getCenter
public static java.awt.Point getCenter(Graph graph)
setCenter
public static void setCenter(Graph graph,
double x,
double y)