org.grinvin.gred
Class GraphPanel3D
- ComponentListener, EventListener, AnnotationListener, EmbeddingListener, EventListener, GraphListener, Observer
public class GraphPanel3D
Graph panel which is backed by a 3-dimensional embedding and an
OrthogonalProjection. Extends
GraphPanel
with the ability to rotate the graph in three dimensions.
addGuidesListener, addInsideOfRectangle, annotationChanged, clearSelection, close, componentHidden, componentMoved, componentResized, componentShown, dimensionChanged, edgeAdded, edgeChanged, edgeRemoved, edgeRestored, elementAnnotationChanged, embeddedRectangle, embeddingChanged, fillGraphBundle, getAnchorElement, getAnnotation, getContext, getDropLocation, getEmbedding, getGraph, getGuides, getUndoManager, graphChanged, isAttached, isAttached, isDirty, isDropInProgress, joinAnchorToVertex, loadGraph, mouseCoordinates, paintBackground, paintEdges, paintVertices, removeGuidesListener, selectAll, setAnchorElement, setDirty, setDropTarget, setGraph, setGuides, setRollOver, update, vertexAdded, vertexChanged, vertexCoordinatesChanged, vertexRemoved, vertexRestored, void paintComponent |
rotate
public void rotate(int dx,
int dy) Rotate the coordinate system.
dx - relative X-movement of the mousedy - relative Y-movement of the mouse
void close
public @Override void close()