public class SWTGraphDrawer extends AbstractSWTGraphDrawer<org.eclipse.swt.widgets.Canvas>
AbstractSWTGraphDrawer.AreaSelectionListener, AbstractSWTGraphDrawer.EventListener
control, frame, graph, intermediateLayout, mouseListener, selectionListener
Constructor and Description |
---|
SWTGraphDrawer(org.eclipse.swt.widgets.Composite parent) |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Canvas |
createControl(org.eclipse.swt.widgets.Composite parent) |
protected void |
drawCurrentGraph() |
protected org.eclipse.swt.graphics.Rectangle |
getBoundsForNode(Node node) |
protected void |
updateSize(double width,
double height) |
addMouseListener, addPopupMenu, addSelectionListener, drawGraph, getColorForNode, getControl, getCurrentGraph, getShapeForNode, getSize, graphToScreenCoord, isReadyForInteractions, moveNode, notifyMouseListeners, notifySelectionListeners, redraw, redrawNodes, removeMouseListener, removeSelectionListener, resetNodeBackgroundColor, screenToGraphCoord, setIntermediateLayout, setNodeBackgroundColor, setNodeShape, shouldHandleSelectionEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPopupMenu
protected org.eclipse.swt.graphics.Rectangle getBoundsForNode(Node node)
getBoundsForNode
in class AbstractSWTGraphDrawer<org.eclipse.swt.widgets.Canvas>
protected org.eclipse.swt.widgets.Canvas createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in class AbstractSWTGraphDrawer<org.eclipse.swt.widgets.Canvas>
protected void drawCurrentGraph()
drawCurrentGraph
in class AbstractSWTGraphDrawer<org.eclipse.swt.widgets.Canvas>
protected void updateSize(double width, double height)
updateSize
in class AbstractSWTGraphDrawer<org.eclipse.swt.widgets.Canvas>