org.graffiti.plugin.view
Interface View2D

All Superinterfaces:
AttributeConsumer, AttributeListener, Autoscroll, EdgeListener, EventListener, GraphListener, NodeListener, TransactionListener, View, Zoomable

public interface View2D
extends View

A 2D view as a graphical representation for a graph.


Field Summary
 
Fields inherited from interface org.graffiti.plugin.view.View
NO_ZOOM
 
Method Summary
 Viewport getViewport()
           
 void print(Graphics2D g, int width, int height)
           
 void zoomToFitAfterRedraw()
           
 
Methods inherited from interface org.graffiti.plugin.view.View
addMessageListener, close, completeRedraw, embedsInJScrollPane, getComponentElementMap, getComponentForElement, getGrid, getId, getViewComponent, getViewName, removeMessageListener, repaint, setAttributeComponentManager, setGraph, setGrid, setId, supportsGrid
 
Methods inherited from interface org.graffiti.event.GraphListener
postEdgeAdded, postEdgeRemoved, postGraphCleared, postNodeAdded, postNodeRemoved, preEdgeAdded, preEdgeRemoved, preGraphCleared, preNodeAdded, preNodeRemoved
 
Methods inherited from interface org.graffiti.event.NodeListener
postInEdgeAdded, postInEdgeRemoved, postOutEdgeAdded, postOutEdgeRemoved, postUndirectedEdgeAdded, postUndirectedEdgeRemoved, preInEdgeAdded, preInEdgeRemoved, preOutEdgeAdded, preOutEdgeRemoved, preUndirectedEdgeAdded, preUndirectedEdgeRemoved
 
Methods inherited from interface org.graffiti.event.EdgeListener
postDirectedChanged, postEdgeReversed, postSourceNodeChanged, postTargetNodeChanged, preDirectedChanged, preEdgeReversed, preSourceNodeChanged, preTargetNodeChanged
 
Methods inherited from interface org.graffiti.event.AttributeListener
postAttributeAdded, postAttributeChanged, postAttributeRemoved, preAttributeAdded, preAttributeChanged, preAttributeRemoved
 
Methods inherited from interface org.graffiti.event.TransactionListener
transactionFinished, transactionStarted
 
Methods inherited from interface java.awt.dnd.Autoscroll
autoscroll, getAutoscrollInsets
 
Methods inherited from interface org.graffiti.attributes.AttributeConsumer
getDirectedEdgeAttribute, getGraphAttribute, getNodeAttribute, getUndirectedEdgeAttribute
 
Methods inherited from interface org.graffiti.plugin.view.Zoomable
getZoom, getZoomTransform, setZoom
 

Method Detail

getViewport

Viewport getViewport()

zoomToFitAfterRedraw

void zoomToFitAfterRedraw()

print

void print(Graphics2D g,
           int width,
           int height)


Generated at 2012-05-30 11:00:36 PM CEST