|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use VisualGraphView | |
| com.tensegrity.application | This package contains the main interfaces and meta classes for the skeleton framework. |
| com.tensegrity.graph.classdiagram | ClassDiagram functionality. |
| com.tensegrity.graph.controller | Graph Controller specification. |
| com.tensegrity.graph.event | This package contains the event related code which consists of Event classes, Listeners and Adapters for the later. |
| com.tensegrity.graph.layout.controller |
The controller package contains several concrete implementations
of abstract class LayoutController which can be used in many
common applications.
|
| com.tensegrity.graph.persistence | GraphPersistence package. |
| com.tensegrity.graph.rule.handler | Handlers that can be registered and then activated in rules. |
| com.tensegrity.graph.view | Contains the graph view interface. |
| com.tensegrity.graph.view.image | |
| com.tensegrity.gui.graphdocument | This package contains the GraphDocument interface, a Factory for creating such documents as well as a definition for a panel which may hold such documents. |
| com.tensegrity.gui.graphdocument.persistence | |
| com.tensegrity.gui.inplaceediting | |
| com.tensegrity.gui.printing | |
| com.tensegrity.gui.swing.control.tree | This package contains the implementation for an Object Tree for VisualGraph objects. |
| com.tensegrity.gui.swing.dialog | This package contains several Dialog implementations, such as a ColorChooser for the three Format types (Paint, Stroke, Font) of the Graphics API. |
| com.tensegrity.gui.swing.dialog.ruleeditor | |
| com.tensegrity.gui.swing.document | This package contains all of the current document implementations for use in a swing-based environment. |
| com.tensegrity.gui.swing.graph |
The graph package contains the two panels required for the SwingGraphDocument,
a NavigatorPanel and several components for the inplace editing supported by the
SwingGraphPanel.
|
| com.tensegrity.gui.swing.print | |
| com.tensegrity.gui.swt.dialog | |
| com.tensegrity.gui.swt.document | |
| com.tensegrity.gui.swt.graph | |
| com.tensegrity.gui.swt.print | |
| com.tensegrity.skeleton.commands | The command package contains all the predefined commands of the skeleton, like Save, Print, Quit, Zoom, etc. |
| com.tensegrity.skeleton.swt.commands | |
| Uses of VisualGraphView in com.tensegrity.application |
| Methods in com.tensegrity.application with parameters of type VisualGraphView | |
protected void |
ApplicationFrame.installLayoutController(GraphApplication gapp,
VisualGraphView vgv)
Configures the given VisualGraphView instance in case no
LayoutController is associated to use a copy of the
LayoutController assigned to the given
GraphApplication and marked as default
LayoutController. |
protected void |
ApplicationFrame.installInteractionSettings(VisualGraphView vgv)
Configures the VisualGraphView to use the interaction
settings that have been set in the preferences. |
boolean |
ApplicationFrame.registerDragRepresentation(VisualGraphView vgv)
Override this method to register the drag representation for fixing Interactable instances. |
boolean |
ApplicationFrame.registerHighlightRepresentation(VisualGraphView vgv)
Override this method to register the highlight representation for fixing Interactable instances. |
protected void |
ApplicationFrame.installClipboard(VisualGraphView vgv)
Configures the VisualGraphView to use the clipboard mode
that has been set in the preferences. |
protected void |
ApplicationFrame.installKeyboardCommands(VisualGraphView vgv)
This protected method is used in order to add to the passed VisualGraphView mappings between
KeyStrokes and BaseCommandes. |
protected void |
ApplicationFrame.addKeyCommand(VisualGraphView visualgraphview,
java.lang.String commandId)
This method retrieves the KeyStroke
corresponding to the passed commandId using the
class and adds it to the passed
. |
| Uses of VisualGraphView in com.tensegrity.graph.classdiagram |
| Methods in com.tensegrity.graph.classdiagram that return VisualGraphView | |
VisualGraphView |
ClassDiagramGenerator.makeClassTree(ClassDiagramConfiguration config)
Initiate tje class tree generation process. |
| Uses of VisualGraphView in com.tensegrity.graph.controller |
| Methods in com.tensegrity.graph.controller with parameters of type VisualGraphView | |
void |
GraphController.addVisualGraph(VisualGraphView visualgraphview)
Adds a VisualGraphView to the list of controlled views. |
void |
GraphController.removeVisualGraph(VisualGraphView visualgraphview)
Removes a VisualGraphView from the list of controlled views. |
void |
GraphController.setPriviledgedVisualGraph(VisualGraphView visualgraphview)
Sets the preferred view of the controller. |
| Uses of VisualGraphView in com.tensegrity.graph.event |
| Methods in com.tensegrity.graph.event that return VisualGraphView | |
VisualGraphView |
ClipboardEvent.getVisualGraphView()
Returns the VisualGraphView instance the clipboard is
associated to. |
| Methods in com.tensegrity.graph.event with parameters of type VisualGraphView | |
void |
ClipboardListener.vetoableCopyOnMove(VisualGraphView visualgraphview,
CompositeHierarchy hierarchySelection,
VisualGraphObject originalVisualGraphObject,
VisualGraphObject copiedVisualGraphObject)
This method is invoked once per VisualGraphObject that is
copied-on-move (e.g. copied when the control key is pressed).
|
void |
ClipboardListener.vetoablePaste(VisualGraphView visualgraphview,
VisualGraphObjectContainer visualgraphobjectcontainer,
VisualGraphObject visualgraphobject,
VisualGraphView origin)
This method is invoked once per VisualGraphObject that is
about to be pasted.
|
| Constructors in com.tensegrity.graph.event with parameters of type VisualGraphView | |
ClipboardEvent(VisualGraphView visualgraphview,
java.util.List subjectVisualGraphObjects)
Constructor for CilpboardEvent with given instance of the
VisualGraphView the clipboard is associated to and give
List of subject VisualGraphObject instances.
|
|
| Uses of VisualGraphView in com.tensegrity.graph.layout.controller |
| Fields in com.tensegrity.graph.layout.controller declared as VisualGraphView | |
protected VisualGraphView |
LayoutController.visualGraphView
The VisualGraphView with which
this instance of a LayoutController associates. |
| Methods in com.tensegrity.graph.layout.controller that return VisualGraphView | |
VisualGraphView |
LayoutObserverPostLayoutInfo.getVisualGraphView()
Returns the VisualGraphView which is associated to the
LayoutController this
LayoutControllerPostLayoutInfo has been generated by.
|
| Uses of VisualGraphView in com.tensegrity.graph.persistence |
| Methods in com.tensegrity.graph.persistence that return VisualGraphView | |
static VisualGraphView |
GraphPersistence.readVisualGraphView(java.io.InputStream in)
Reads a VisualGraphView from the InputStream
given by in and returns it. |
static VisualGraphView |
GraphPersistence.readVisualGraphView(java.io.InputStream in,
ViewBuilderFilter listener)
Reads a VisualGraphView from the given InputStream and uses the ViewBuilderFilter. |
static VisualGraphView |
GraphPersistence.readVisualGraphView(java.io.InputStream in,
ViewBuilderFilter listener,
Attribute outAttributeList)
Reads a VisualGraphView from the given InputStream and uses the ViewBuilderFilter. |
static VisualGraphView |
GraphPersistence.readVisualGraphView(AttributeList list,
ViewBuilderFilter listener)
Reads a VisualGraphView from the given InputStream and uses the ViewBuilderFilter. |
static VisualGraphView |
GraphPersistence.readVisualGraphView(java.io.File file)
Reads a VisualGraphView from the File given by
file and returns it. |
static VisualGraphView |
GraphPersistence.readVisualGraphView(java.io.File file,
ViewBuilderFilter listener)
Reads a VisualGraphView from the File given
by file and returns it. |
| Methods in com.tensegrity.graph.persistence with parameters of type VisualGraphView | |
void |
ViewBuilderFilter.afterVisualGraphViewBuild(AttributeList attributes,
VisualGraphView visualgraphview)
This method is called by the API after a VisualGraphView
has been loaded and an instance has been created. |
void |
ViewSerializerFilter.beforeVisualGraphViewSerialize(VisualGraphView visualgraphview)
|
void |
ViewSerializerFilter.afterVisualGraphViewSerialize(VisualGraphView visualgraphview,
AttributeList attributes)
|
static void |
GraphPersistence.writeVisualGraphView(VisualGraphView visualgraphview,
java.io.OutputStream out,
ViewSerializerFilter serializefilter)
Writes the VisualGraphView given by
VisualGraphView to the OutputStream given by
out. |
static void |
GraphPersistence.writeVisualGraphView(VisualGraphView visualgraphview,
java.io.File file)
Writes the VisualGraphView given by
VisualGraphView to the File given by
file. |
static void |
GraphPersistence.writeVisualGraphView(VisualGraphView visualgraphview,
java.io.File file,
ViewSerializerFilter serializefilter,
Attribute preview)
Writes a given VisualGraphView to the given file by using
the SerializeFilter. |
static void |
GraphPersistence.writeVisualGraphView(VisualGraphView visualgraphview,
java.io.File file,
ViewSerializerFilter serializefilter,
Attribute preview,
AttributeList imageList,
AttributeList pageFormat)
Writes the visualgraphview to the file.
|
static void |
GraphPersistence.writeVisualGraphView(VisualGraphView visualgraphview,
java.io.OutputStream outputstream,
ViewSerializerFilter serializefilter,
Attribute preview,
AttributeList imageList,
AttributeList pageFormat)
Writes the visualgraphview to the outputstream.
|
static AttributeList |
GraphPersistence.writeVisualGraphView(VisualGraphView visualgraphview,
ViewSerializerFilter serializefilter,
Attribute preview,
AttributeList imageList,
AttributeList pageFormat)
Returns an AttributeList serialization of a given VisualGraphView
by using the SerializeFilter. |
static void |
GraphPersistence.writeVisualGraphView(VisualGraphView visualgraphview,
java.io.File file,
ViewSerializerFilter serializefilter,
Attribute preview,
AttributeList imageList)
Writes a given VisualGraphView to the given file by using
the SerializeFilter. |
| Uses of VisualGraphView in com.tensegrity.graph.rule.handler |
| Fields in com.tensegrity.graph.rule.handler declared as VisualGraphView | |
VisualGraphView |
VisualNodeGroupDropHighlightInfo.toplevelview
instance variable for the that is
the top-level-container the action occured in |
VisualGraphView |
VisualNodeOverlayIndicationInfo.toplevelview
|
VisualGraphView |
VisualNodeMoveInSubgraphHighlightInfo.toplevelview
instance variable for the that is
the top-level-container the action occured in |
VisualGraphView |
VisualNodeMovedInSubgraphInfo.toplevelview
|
VisualGraphView |
VisualSubgraphRemoveInfo.toplevelview
|
VisualGraphView |
VisualNodeDropInfo.toplevelview
instance variable for the that is
the top-level-container the action occured in |
| Constructors in com.tensegrity.graph.rule.handler with parameters of type VisualGraphView | |
VisualNodeGroupDropHighlightInfo(VisualGraphView toplevelview,
VisualSubgraph visualsubgraph,
VisualNode[] visualnodes)
Constructor for VisualNodeGroupDropHighlightInfo. |
|
VisualNodeOverlayIndicationInfo(VisualGraphView toplevelview,
VisualNode belowVisualNode,
VisualNode[] overlayVisualNodes,
Coordinate cursorlocation)
|
|
VisualNodeMoveInSubgraphHighlightInfo(VisualGraphView toplevelview,
VisualSubgraph visualsubgraph,
VisualNode[] visualnodes,
Coordinate cursorlocation)
Constructor for VisualNodeMoveInSubgraphHighlightInfo. |
|
VisualNodeMovedInSubgraphInfo(VisualGraphView toplevelview,
VisualSubgraph visualsubgraph,
VisualNode[] visualnodes,
Coordinate cursorlocation)
|
|
VisualSubgraphRemoveInfo(VisualGraphView toplevelview,
VisualSubgraph visualsubgraph,
VisualNode[] visualnodes,
java.util.Map vn2oldID)
|
|
VisualNodeDropInfo(VisualGraphView toplevelview,
VisualSubgraph visualsubgraph,
VisualNode[] visualnodes,
Coordinate cursorlocation)
Constructor for VisualNodeDropInfo. |
|
| Uses of VisualGraphView in com.tensegrity.graph.view |
| Methods in com.tensegrity.graph.view that return VisualGraphView | |
VisualGraphView |
VisualGraphView.deepCopy(GraphController controller)
Makes a deep copy of the VisualGraph and registers the
copy with the given GraphController. |
VisualGraphView |
VisualGraphView.deepCopyWithoutNodesAndEdges(GraphController controller)
Makes a deep copy of the VisualGraph and registers the copy with the
given controller. |
abstract VisualGraphView |
GraphViewFactory.newVisualGraphView(GraphController graphcontroller)
Constructs a returns a new VisualGraphView object. |
abstract VisualGraphView |
GraphViewFactory.newVisualGraphView(GraphController graphcontroller,
java.lang.String nodeGeometry,
java.lang.String nodeStyle,
java.lang.String edgeStyle)
Constructs a returns a new VisualGraphView object. |
| Methods in com.tensegrity.graph.view with parameters of type VisualGraphView | |
static VisualEdge |
VisualGraphOperations.createVisualEdge(VisualGraphView visualgraphview,
VisualNode sourceNode,
VisualPort sourcePort,
VisualNode targetNode,
VisualPort targetPort)
Creates a VisualEdge between the VisualNodes
given by sourceNode and targetNode. |
static VisualEdge |
VisualGraphOperations.createVisualEdge(CompositeHierarchy hierarchy,
VisualGraphView visualgraphview,
VisualNode sourceNode,
VisualPort sourcePort,
VisualNode targetNode,
VisualPort targetPort)
Creates a VisualEdge between the VisualNodes
given by sourceNode and targetNode. |
static int |
VisualGraphOperations.findSnapToPortDistance(VisualEdge vEdge,
VisualGraphView vgv)
Determines the used snap to port distance for the given visual edge in the visualgraphview of this SwingGraphPanel |
static void |
VisualGraphViewUtil.renderSVG(VisualGraphView vgv,
java.io.OutputStream svgOutput)
This method outputs the given VisualGraphView into the
given OutputStream. |
static void |
VisualGraphViewUtil.renderSVG(VisualGraphView vgv,
java.io.OutputStream svgOutput,
boolean closeStream)
Renders the SVG to the given outputstream. |
static void |
VisualGraphViewUtil.renderSVG(VisualGraphView vgv,
java.io.OutputStream svgOutput,
boolean closeStream,
boolean compress)
Renders the SVG to the given outputstream. |
static void |
VisualGraphViewUtil.renderSVG(VisualGraphView vgv,
java.io.OutputStream svgOutput,
boolean closeStream,
boolean compress,
boolean optimize)
This method outputs the given VisualGraphView into the
given OutputStream. |
static void |
VisualGraphViewUtil.renderSVG(VisualGraphView vgv,
java.io.OutputStream svgOutput,
boolean closeStream,
boolean compress,
boolean optimize,
Boundary insets)
This method outputs the given VisualGraphView into the
given OutputStream. |
static void |
VisualGraphViewUtil.renderSVG(VisualGraphView vgv,
java.io.OutputStream svgOutput,
boolean closeStream,
boolean compress,
boolean optimize,
Boundary insets,
double[] viewValues,
double[] viewportValues)
This method outputs the given VisualGraphView into the
given OutputStream. |
static void |
VisualGraphViewUtil.setDefaultEdgeType(VisualGraphView vgv,
java.lang.String elementName)
Sets the default edge geometry, style and rule in the given VisualGraphView according to the element in the ElementPool. |
static int |
VisualOperations.computeIncountRecursively(VisualGraphView visualgraphview,
VisualNode visualnode)
Iterate over all ports and count the incoming edges. |
static int |
VisualOperations.computeOutcountRecursively(VisualGraphView visualgraphview,
VisualNode visualnode)
Iterate over all ports and count the outgoing edges. |
static java.util.Collection |
VisualOperations.computeInboundCollectionRecursively(VisualGraphView visualgraphview,
VisualNode visualnode)
Iterate over all ports and return the incoming edges. |
static java.util.Collection |
VisualOperations.computeOutboundCollectionRecursively(VisualGraphView visualgraphview,
VisualNode visualnode)
Iterate over all ports and return the outgoing edges. |
static void |
VisualOperations.translateViewportAccordingToGraph(VisualGraphView visualgraphview)
This method set the viewport of the VisualGraphView given
by visualgraphview so that the graph is centered within
the viewport. |
static void |
VisualOperations.translateViewportAroundCenter(VisualGraphView vgv,
double cx,
double cy)
This method will set the viewport so that it is centered around the given coordinates. |
static void |
VisualOperations.centerGraph(VisualGraphView visualgraphview,
java.util.Collection objects)
Centers the given objects in the VisualGraphView. |
static void |
VisualOperations.makeOrthogonalVerticalLines(VisualGraphView visualgraphview,
java.util.Iterator visualedges)
Turns all given VisualEdges to vertical orthogonal lines. |
static void |
VisualOperations.makeOrthogonalVerticalLine(VisualGraphView visualgraphview,
VisualEdge visualedge)
Turns the given VisualEdges into an vertical orthogonal
line. |
static void |
VisualOperations.makeOrthogonalHorizontalLines(VisualGraphView visualgraphview,
java.util.Iterator visualedges)
Makes all the given VisualEdge objects to horizontal
orthogonal lines. |
static void |
VisualOperations.makeOrthogonalHorizontalLine(VisualGraphView visualgraphview,
VisualEdge visualedge)
Turns the given VisualEdge objects into an horizontal
orthogonal line. |
static void |
VisualOperations.zoomToFitNoMagnification(VisualGraphView visualgraphview)
Zooms the VisualGraphView so that it fits the view. |
static void |
VisualOperations.zoomToFitProportional(VisualGraphView visualgraphview,
Boundary destBoundary)
Zooms the VisualGraphView so that it fits the view. |
static void |
VisualOperations.zoomToFitProportional(VisualGraphView visualgraphview,
java.util.Collection visualobjects,
Boundary destBoundary)
Zooms the VisualGraphView so that the given object fit into
the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview)
Zooms the VisualGraphView so that it fits the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview,
Boundary insets)
Zooms the VisualGraphView so that it fits the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview,
Boundary insets,
double maxZoom)
Zooms the VisualGraphView so that it fits the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview,
java.util.Collection visualobjects)
Zooms the VisualGraphView so that the given object fit into
the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview,
java.util.Collection visualobjects,
Boundary insets)
Zooms the VisualGraphView so that the given object fit into
the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview,
java.util.Collection visualobjects,
Boundary insets,
double maxZoom)
Zooms the VisualGraphView so that the given object fit into
the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview,
java.util.Collection visualobjects,
Boundary insets,
double maxZoom,
boolean noZoomIn)
Zooms the VisualGraphView so that the given object fit into
the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview,
java.awt.Rectangle bounds,
Boundary insets)
Zooms the VisualGraphView so that the given object fit into
the view. |
static void |
VisualOperations.zoomToFit(VisualGraphView visualgraphview,
java.awt.Rectangle bounds,
Boundary insets,
double maxZoom,
boolean noZoomIn)
Zooms the VisualGraphView so that the given object fit into
the view. |
static Transform2D |
VisualOperations.computeTransformToVisualSubgraph(VisualGraphView visualgraphview,
VisualSubgraph visualsubgraph)
Computes the Transform2D that transforms coordinates
from the top-level CompositeView to the
given VisualSubgraph.
|
static Transform2D |
VisualOperations.computeTransformFromVisualSubgraph(VisualGraphView visualgraphview,
VisualSubgraph visualsubgraph)
Computes the Transform2D that transforms coordinates
from the given VisualSubgraph
to the top-level CompositeView.
|
static java.util.HashMap |
VisualOperations.computeVisualNode2VisualSubgraphMap(VisualGraphView vsg)
This method will compute a map with VisualNode objects as
keys and the VisualSubgraphs they are part of as values.
|
static java.util.HashMap |
VisualOperations.computeVisualEdge2VisualSubgraphMap(VisualGraphView vsg)
This method will compute a map with visualedges as keys and the visualsubgraphs they are part of as values. |
static StableHashMap |
VisualOperations.computeDeepestSelection(VisualGraphView visualgraphview)
Compute the deepest selection by considering the hierarchy of nested subgraphs and not just the toplevel-view. |
static java.util.Collection |
VisualOperations.getDeepSelection(VisualGraphView visualgraphview)
Compute the deepest selection by considering the hierarchy of nested subgraphs and not just the toplevel-view. |
static void |
VisualOperations.recursiveSelection(VisualGraphView visualgraphview,
boolean selected)
Deprecated. make use of CompositeViewOperations.recursiveSelection(CompositeView, boolean)
instead. |
static void |
VisualOperations.applyScale(VisualGraphView visualgraphview,
double sx,
double sy)
Applies a scaling transform to the given VisualGraphView
instance. |
static double[] |
VisualOperations.findBoundsVisualGraphOrSelection(VisualGraphView visualgraphview)
Helper to find the bounds of either the entire VisualGraphView or of the selection. |
boolean |
NestedVisualEdgeCreationController.preVisualEdgeCreate(VisualGraphView visualgraphview,
VisualNode source,
VisualNode target)
Callback method that returns a boolean value that indicates whether the desired connection of two nested VisualNodes
that are somewhere in the hierarchy is allowed or not. |
| Uses of VisualGraphView in com.tensegrity.graph.view.image |
| Methods in com.tensegrity.graph.view.image with parameters of type VisualGraphView | |
Size |
ImageExportViewConfigurator.prepareView(VisualGraphView visualgraphview)
Prepares the view to be rendered to an image using the registered configuration. |
void |
ImageExportViewConfigurator.resetView(VisualGraphView visualgraphview)
Resets the view to it's former state. |
java.lang.Object |
ImageExporter.exportImage(VisualGraphView vgv,
ImageExportViewConfigurator ievc)
This method renders the view to an image. |
| Uses of VisualGraphView in com.tensegrity.gui.graphdocument |
| Methods in com.tensegrity.gui.graphdocument that return VisualGraphView | |
VisualGraphView |
GraphPanel.getVisualGraph()
Gets the visual graph instance that is currently displayed in the graphpanel. |
| Methods in com.tensegrity.gui.graphdocument with parameters of type VisualGraphView | |
void |
GraphPanelAttributableOnSetDelegate.determineAttributableOnSet(AttributeEditor attributeeditor,
VisualGraphView view)
|
protected void |
GraphPanelAttributableOnSetDelegate.updateGraphAttributes(Graph activegraph,
VisualGraphView activevisualgraph)
The method updateGraphAttributes adds all the Graph related attributes to the internal attributable instance. |
protected void |
GraphPanelAttributableOnSetDelegate.updateLayoutAttributes(VisualGraphView activevisualgraph)
Updates the Attributes of the view. |
void |
GraphPanelAttributableOnSetDelegate.updateViewAttributes(VisualGraphView vgv)
Updates the Attributes of the view. |
static void |
GraphPanelDnDGeometryAdjustmentUtil.adjustGeometry(VisualGraphView vgv,
VisualNode vn)
Adjusts the geometry of the given VisualNode object to the
coordinate system of the given VisualGraphView object.
|
static void |
GraphPanelDnDGeometryAdjustmentUtil.adjustGeometry(VisualGraphView vgv,
VisualEdge ve)
Adjusts the geometry of the given VisualEdge object to the
coordinate system of the given VisualGraphView object. |
static void |
GraphPanelDnDGeometryAdjustmentUtil.applyLayout(VisualGraphView vgv,
VisualSubgraph vsg)
Applies the layout, the LayoutController associated to the
given VisualGraphView object is configured to, to the given
VisualSubgraph object.
|
void |
ElementConflictListener.vetoableCopyOnMove(VisualGraphView visualgraphview,
CompositeHierarchy hierarchySelection,
VisualGraphObject originalVisualGraphObject,
VisualGraphObject copiedVisualGraphObject)
|
void |
ElementConflictListener.vetoablePaste(VisualGraphView visualgraphview,
VisualGraphObjectContainer visualgraphobjectcontainer,
VisualGraphObject visualgraphobject,
VisualGraphView origin)
|
protected abstract void |
ElementConflictListener.resolveConflicts(java.util.List ruleConflicts,
java.util.List layoutConflicts,
LayoutController lcSource,
VisualGraphView vgv,
VisualGraphObject[] vgos)
|
abstract GraphDocument |
DocumentFactory.newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
This method returns a new graphdocument. |
abstract GraphDocument |
DocumentFactory.newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview)
This method returns a new graphdocument. |
GraphDocument |
DocumentFactory.newGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
Deprecated. Use DocumentFactory.newGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView, DragContext) instead! |
abstract GraphDocument |
DocumentFactory.newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext dragcontext)
This method returns a new graphdocument. |
GraphDocument |
DocumentFactory.newGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview)
Deprecated. Use DocumentFactory.newGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView) instead! |
abstract GraphDocument |
DocumentFactory.newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview)
This method returns a new graphdocument. |
void |
GraphPanel.setGraphController(GraphController graphcontroller,
VisualGraphView visualgraphview)
Sets a visualgraph to display along with a controller. |
void |
GraphPanel.setVisualGraph(VisualGraphView visualgraphview)
Sets the VisualGraph to display in the graphpanel. |
static void |
ElementDefinitionUtil.applyLayoutConfiguration(AttributeSet layoutConfiguration,
AttributeList xmlData,
LayoutController defaultLayoutController,
VisualGraphView vgv,
int applyAction,
java.util.List visualGraphViews,
java.util.List layoutConflicts,
boolean addUnconflictingContexts,
java.util.Map layoutsRenameMap,
int layoutDomain)
Applies the layout configuration. |
static void |
ElementDefinitionUtil.applyLayoutConfiguration(AttributeSet layoutConfiguration,
AttributeList xmlData,
LayoutController defaultLayoutController,
VisualGraphView vgv,
int applyAction,
java.util.List visualGraphViews,
java.util.List layoutConflicts,
boolean addUnconflictingContexts,
java.util.Map layoutsRenameMap,
int layoutDomain,
boolean setGlobalOptions)
Applies the layout configuration. |
static void |
ElementDefinitionUtil.applyGeometries(AttributeList geometries,
java.util.List[] geometryConflicts,
VisualGraphView vgv,
AttributeList xmlData,
int applyAction,
java.util.Map renameMapDesc,
java.util.Map renameMapItem)
Applies the geometry in the given attribute list according to the applyAction. |
static void |
ElementDefinitionUtil.applyPoolStyles(VisualGraphView vgv,
java.util.List[] styleConflicts)
Applies the styles from the pool on the elements of the visualgraphview |
static void |
ElementDefinitionUtil.applyStyles(AttributeList styles,
java.util.List[] styleConflicts,
VisualGraphView vgv,
AttributeList xmlData,
int applyAction,
RepositoryContainer repository,
java.util.List visualGraphViews,
java.util.Map renameMapDesc,
java.util.Map renameMapItem)
Applies the geometry in the given attribute list according to the applyAction. |
static void |
ElementDefinitionUtil.applyRules(RuleRegistry rules,
RuleRegistry baseRegistry,
java.util.List ruleConflicts,
VisualGraphView vgv,
AttributeList xmlData,
java.util.List visualGraphViews,
int applyAction,
java.util.Map renameMap)
Apply the rules registry |
static void |
ElementDefinitionUtil.applyRules(RuleRegistry rules,
RuleRegistry baseRegistry,
java.util.List ruleConflicts,
VisualGraphView vgv,
AttributeList xmlData,
java.util.List visualGraphViews,
int applyAction,
java.util.Map renameMap,
boolean addUnconflicting)
Apply the rules registry |
static ElementDefinitionUtil.RenameAttributable |
ElementDefinitionUtil.checkForMissingLayoutContexts(java.lang.String[] controllerContexts,
VisualGraphView vgv)
Checks, if elements in the VisualGraphView are using a layout context
that is not defined in the layout controller. |
static void |
ElementDefinitionUtil.renameMissingLayoutContexts(VisualGraphView vgv,
ElementDefinitionUtil.RenameAttributable attributable,
java.lang.String[] controllerContexts)
Renames the missing layout contexts according to the given rename attributable |
static ElementDefinitionUtil.UsedItemInfo |
ElementDefinitionUtil.gatherUsedItems(VisualGraphView vgv)
Gathers all items of type StyleDescriptor, StyleItem, GeometryDescriptor, GeometryItem and Rule that are used in the given GraphDocument. |
void |
GraphDocument.setVisualGraphView(VisualGraphView visualgraphview,
GraphController graphcontroller)
Sets the VisualGraphView to be shown in the this
GraphDocument. |
| Uses of VisualGraphView in com.tensegrity.gui.graphdocument.persistence |
| Methods in com.tensegrity.gui.graphdocument.persistence that return VisualGraphView | |
protected VisualGraphView |
GraphDocumentReader.loadVisualGraphView(GraphDocument graphdocument)
Method openXMLFile reads a VisualGraphView from a given file by using the appropriate Builder instances. |
| Methods in com.tensegrity.gui.graphdocument.persistence with parameters of type VisualGraphView | |
protected void |
GraphDocumentReader.applyLayoutContext(VisualGraphView vgv,
java.lang.String recentNLC,
java.lang.String recentELC,
int apply_what)
Whenever a document is loaded, we might need to handle a previously stored LayoutContext. |
| Uses of VisualGraphView in com.tensegrity.gui.inplaceediting |
| Methods in com.tensegrity.gui.inplaceediting with parameters of type VisualGraphView | |
static int[] |
InplaceConductor.getLabelCoordinates(VisualGraphView visualGraphView,
BaseComposite baseComposite,
Label2D label)
Static helper method to retrieve position of the label in the coordinates system of the panel. |
static int[] |
InplaceConductor.getLabelCoordinates(VisualGraphView visualGraphView,
BaseComposite baseComposite,
double[] labelCoords)
Static helper method to retrieve position of the label in the coordinates system of the panel. |
static int[] |
InplaceConductor.getLabelOfTableCoords(VisualGraphView visualGraphView,
Composite composite,
Label2D label,
CompositeTable table)
Static helper method to retrieve position of a label inside a given table |
| Uses of VisualGraphView in com.tensegrity.gui.printing |
| Methods in com.tensegrity.gui.printing with parameters of type VisualGraphView | |
static PrintUtil.BookParameter |
PrintUtil.createBookParameter(BasePageFormat pageFormat,
VisualGraphView view)
Creates a BookParameter instance which describes the amount
of pages needed to print the given view with the specified page format. |
static PrintUtil.BookParameter |
PrintUtil.createBookParameter(BasePageFormat pageFormat,
VisualGraphView view,
int dpi)
Creates a BookParameter instance which describes the amount
of pages needed to print the given view with the specified page format
using a certain resolution. |
static void |
PrintUtil.growBoundingBoxForStrokeZoom(VisualGraphView view,
Boundary bboxComposites)
This method resizes a bounding box to include the strokes that are lying on the border of the bounds. |
static Boundary |
PrintUtil.getViewBounds(VisualGraphView view)
Calculates the boundaries of the view that should be used for printing |
| Uses of VisualGraphView in com.tensegrity.gui.swing.control.tree |
| Methods in com.tensegrity.gui.swing.control.tree that return VisualGraphView | |
protected VisualGraphView |
TreeOutliner.getGraphFromDocument(Document doc)
Utility method. |
| Uses of VisualGraphView in com.tensegrity.gui.swing.dialog |
| Methods in com.tensegrity.gui.swing.dialog with parameters of type VisualGraphView | |
void |
ElementConflictDialog.resolveRuleConflict(VisualGraphView vgv,
VisualGraphObject[] VGOs)
Resolves the rule conflicts by using the selected options after displaying the dialog. |
| Uses of VisualGraphView in com.tensegrity.gui.swing.dialog.ruleeditor |
| Constructors in com.tensegrity.gui.swing.dialog.ruleeditor with parameters of type VisualGraphView | |
RuleEditorDialogOld(UIManager uiManager,
java.awt.Frame frame,
VisualGraphView visualgraphview)
Deprecated. Constructs a new RuleEditorDialog instance. |
|
RuleEditorDialogOld(UIManager uiManager,
java.awt.Frame frame,
VisualGraphView visualgraphview,
java.util.Set includeSet)
Deprecated. Constructs a new RuleEditorDialog instance. |
|
| Uses of VisualGraphView in com.tensegrity.gui.swing.document |
| Methods in com.tensegrity.gui.swing.document with parameters of type VisualGraphView | |
GraphDocument |
DocumentFactoryImpl.newGraphDocument(java.lang.String name,
ApplicationFrame appFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
|
GraphDocument |
DocumentFactoryImpl.newGraphDocument(java.lang.String name,
ApplicationFrame appFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview)
|
GraphDocument |
DocumentFactoryImpl.newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
|
GraphDocument |
DocumentFactoryImpl.newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview)
|
void |
SwingGraphDocument.setVisualGraphView(VisualGraphView visualgraphview,
GraphController graphcontroller)
|
| Constructors in com.tensegrity.gui.swing.document with parameters of type VisualGraphView | |
SwingGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview)
Deprecated. Use SwingGraphDocument.SwingGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView) instead! |
|
SwingGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
Deprecated. Use SwingGraphDocument.SwingGraphDocument(String, ApplicationFrame, GraphController, VisualGraphView, DragContext) instead! |
|
SwingGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview)
Constructor for GraphDocument. |
|
SwingGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
Constructor for GraphDocument. |
|
SwingGraphDocument(java.lang.String name,
ApplicationFrame appFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview)
Constructor for GraphDocument specifying a name, the GraphApplication and the graph controller and
VisualGraphView to use. |
|
SwingGraphDocument(java.lang.String name,
ApplicationFrame appFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
Constructor for GraphDocument. |
|
SwingTemplateDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
Creates the SwingTemplateDocument based on the given
name. |
|
| Uses of VisualGraphView in com.tensegrity.gui.swing.graph |
| Methods in com.tensegrity.gui.swing.graph that return VisualGraphView | |
VisualGraphView |
SwingGraphPanel.getVisualGraph()
Gets the VisualGraph
instance that is currently displayed in the
graphpanel. |
| Methods in com.tensegrity.gui.swing.graph with parameters of type VisualGraphView | |
void |
AttributableOnSetDelegate.determineAttributableOnSet(AttributeEditor attributeEditor,
VisualGraphView view)
This method is called when its required to set an AttributableOnSet on the parameter attributeEditor. |
void |
SwingGraphPanel.setGraphController(GraphController graphcontroller,
VisualGraphView visualgraphview)
Sets a VisualGraph to display along
with a controller.
|
void |
SwingGraphPanel.setVisualGraph(VisualGraphView visualgraphview)
Sets the VisualGraph
to display in the graphpanel. |
protected void |
AbstractLayoutObserver.updateVisualGraphView(VisualGraphView visualgraphview)
This routine updates the view ports before the layout is performed depending on the view port adjustment instance variable (which is either ADJUST_VIEWPORT_LEFTTOP or
ADJUST_VIEWPORT_ACCORDING_TO_GRAPH).
|
java.lang.Object |
SwingImageExporter.exportImage(VisualGraphView vgv,
ImageExportViewConfigurator ievc)
|
static Size |
VisualGraphImageUtil.getPreferredSize(VisualGraphView visualgraphview)
Returns the preferred size for an unscaled export of the current VisualGraphView. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
java.awt.Insets insets)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
int width,
int height,
java.awt.Insets insets)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
java.awt.Insets insets)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
java.awt.Insets insets,
boolean preserveRatio)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
int width,
int height,
java.awt.Insets insets,
boolean preserveRatio)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
java.awt.Insets insets,
boolean preserveRatio,
boolean forceSize,
boolean centerImage)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
java.awt.Insets insets,
boolean preserveRatio,
boolean forceSize,
boolean centerImage,
Transform2D transform)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
java.awt.Insets insets,
boolean preserveRatio,
boolean forceSize,
boolean centerImage,
Transform2D transform,
java.awt.Color bgColor)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.renderToImage(VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
java.awt.Insets insets,
boolean preserveRatio,
boolean forceSize,
boolean centerImage,
Transform2D transform,
java.awt.Color bgColor,
boolean antiAlias)
Create an image of the panel's contents with the given size. |
static java.awt.image.BufferedImage |
VisualGraphImageUtil.exportToImage(VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
java.awt.Insets ins,
java.awt.Color bgColor)
Exports the given VisualGraphView to an image. |
| Uses of VisualGraphView in com.tensegrity.gui.swing.print |
| Methods in com.tensegrity.gui.swing.print with parameters of type VisualGraphView | |
java.awt.print.Book |
SwingPrintContext.createBook(BasePageFormat pageFormat,
VisualGraphView view)
Method createBook creates a book according to current screen resolution. |
java.awt.print.Book |
SwingPrintContext.createBook(BasePageFormat pageFormat,
VisualGraphView view,
boolean drawScissorBorder)
Method createBook creates a book according to current screen resolution. |
java.awt.print.Book |
SwingPrintContext.createBook(BasePageFormat pageFormat,
VisualGraphView view,
boolean drawScissorBorder,
boolean forPrint)
Method createBook creates a book according to current screen resolution. |
| Constructors in com.tensegrity.gui.swing.print with parameters of type VisualGraphView | |
PrintPreviewDialog(UIManager uiManager,
java.awt.Frame owner,
java.lang.String title,
CommandRegistry registry,
VisualGraphView view,
boolean modal)
Constructor for PrintPreviewDialog. |
|
PrintPreviewDialog(UIManager uiManager,
java.awt.Frame owner,
java.lang.String title,
CommandRegistry registry,
VisualGraphView view,
boolean modal,
java.lang.String jobName)
Constructor for PrintPreviewDialog. |
|
PageSetupDialog(UIManager uiManager,
java.awt.Frame owner,
BasePageFormat format,
VisualGraphView view)
Creates a new PageSetupDialog for a given view |
|
PageSetupDialog(UIManager uiManager,
javax.swing.JDialog owner,
BasePageFormat format,
VisualGraphView view)
Constructor for PageSetupDialog. |
|
| Uses of VisualGraphView in com.tensegrity.gui.swt.dialog |
| Methods in com.tensegrity.gui.swt.dialog with parameters of type VisualGraphView | |
void |
SWTElementConflictDialog.resolveRuleConflict(VisualGraphView vgv,
VisualGraphObject[] VGOs)
Resolves the rule conflicts by using the selected options after displaying the dialog. |
| Uses of VisualGraphView in com.tensegrity.gui.swt.document |
| Methods in com.tensegrity.gui.swt.document with parameters of type VisualGraphView | |
GraphDocument |
DocumentFactoryImpl.newGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview)
Note that this implementation assumes that the passsed
is also an
implementation. |
GraphDocument |
DocumentFactoryImpl.newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview)
|
GraphDocument |
DocumentFactoryImpl.newGraphDocument(java.lang.String name,
ApplicationFrame appFrame,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
Note that this implementation assumes that the passsed
is also an
implementation. |
GraphDocument |
DocumentFactoryImpl.newGraphDocument(java.lang.String name,
GraphController graphcontroller,
VisualGraphView visualgraphview,
DragContext vgoDragSource)
|
void |
SwtGraphDocument.setVisualGraphView(VisualGraphView visualgraphview,
GraphController graphcontroller)
|
protected void |
SwtGraphDocumentReader.applyLayoutContext(VisualGraphView vgv,
java.lang.String recentNLC,
java.lang.String recentELC,
int apply_what)
|
| Constructors in com.tensegrity.gui.swt.document with parameters of type VisualGraphView | |
SwtGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
org.eclipse.swt.widgets.Composite parentContainer,
VisualGraphView visualgraphview)
Deprecated. Use SwtGraphDocument.SwtGraphDocument(String, ApplicationFrame, GraphController, Composite, VisualGraphView) instead! |
|
SwtGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
org.eclipse.swt.widgets.Composite parentContainer,
VisualGraphView visualgraphview)
Constructor for SwtGraphDocuments. |
|
SwtGraphDocument(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
org.eclipse.swt.widgets.Composite parentContainer,
VisualGraphView visualgraphview,
DragContext dragContext)
Deprecated. Use #SwtGraphDocument(String, ApplicationFrame, GraphApplication, GraphController, Composite, VisualGraphView, DragContext) instead! |
|
SwtGraphDocument(java.lang.String name,
ApplicationFrame applicationFrame,
GraphController graphcontroller,
org.eclipse.swt.widgets.Composite parentContainer,
VisualGraphView visualgraphview,
DragContext dragContext)
Constructor for SwtGraphDocuments. |
|
| Uses of VisualGraphView in com.tensegrity.gui.swt.graph |
| Methods in com.tensegrity.gui.swt.graph that return VisualGraphView | |
VisualGraphView |
SwtGraphPanel.getVisualGraph()
|
| Methods in com.tensegrity.gui.swt.graph with parameters of type VisualGraphView | |
protected static int[] |
GraphPanelUtility.clientToView(VisualGraphView vgv,
int x,
int y,
int viewportwidth,
int viewportheight)
Returns the values of x and y in vgv's
coordinate system.
|
static VisualNode |
GraphPanelUtility.getDeepestVisualNodeAt(VisualGraphView visualgraphview,
int x,
int y)
Returns the deepest VisualNode at the coordinate given by
x and y that can be found in the
hierarchy. |
static VisualNode |
GraphPanelUtility.getDeepestVisualNodeAt(VisualGraphView visualgraphview,
int x,
int y,
boolean traverseFoldedGroups)
Returns the deepest VisualNode at the coordinate given
x,y that can be found in the hierarchy.
|
static int |
GraphPanelUtility.getVisualGraphImageRequiredSize(VisualGraphView visualgraphview)
Returns the number of pixels that are required for a full unscaled export of the current VisualGraphView. |
static org.eclipse.swt.graphics.Image |
GraphPanelUtility.getVisualGraphImage(VisualGraphView visualgraphview)
Renders a picture for the VisualGraph.
|
java.lang.Object |
SwtImageExporter.exportImage(VisualGraphView vgv,
ImageExportViewConfigurator ievc)
|
void |
SwtGraphPanel.setGraphController(GraphController graphcontroller,
VisualGraphView vgv)
|
void |
SwtGraphPanel.setVisualGraph(VisualGraphView vgv)
|
static Size |
VisualGraphImageUtil.getPreferredSize(VisualGraphView visualgraphview)
Returns the preferred size for an unscaled export of the current VisualGraphView. |
static org.eclipse.swt.graphics.Image |
VisualGraphImageUtil.renderToImage(org.eclipse.swt.graphics.Device swtDevice,
VisualGraphView visualgraphview,
Boundary insets)
Create an image of the panel's contents with the given size. |
static org.eclipse.swt.graphics.Image |
VisualGraphImageUtil.renderToImage(org.eclipse.swt.graphics.Device swtDevice,
VisualGraphView visualgraphview,
int width,
int height,
Boundary insets)
Create an image of the panel's contents with the given size. |
static org.eclipse.swt.graphics.Image |
VisualGraphImageUtil.renderToImage(org.eclipse.swt.graphics.Device swtDevice,
VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
Boundary insets)
Create an image of the panel's contents with the given size. |
static org.eclipse.swt.graphics.Image |
VisualGraphImageUtil.renderToImage(org.eclipse.swt.graphics.Device swtDevice,
VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
Boundary insets,
boolean preserveRatio)
Create an image of the panel's contents with the given size. |
static org.eclipse.swt.graphics.Image |
VisualGraphImageUtil.renderToImage(org.eclipse.swt.graphics.Device swtDevice,
VisualGraphView visualgraphview,
int width,
int height,
Boundary insets,
boolean preserveRatio)
Create an image of the panel's contents with the given size. |
static org.eclipse.swt.graphics.Image |
VisualGraphImageUtil.renderToImage(org.eclipse.swt.graphics.Device swtDevice,
VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
Boundary insets,
boolean preserveRatio,
boolean forceSize,
boolean centerImage,
Transform2D transform)
Create an image of the panel's contents with the given size. |
static org.eclipse.swt.graphics.Image |
VisualGraphImageUtil.renderToImage(org.eclipse.swt.graphics.Device swtDevice,
VisualGraphView visualgraphview,
int width,
int height,
Renderer gfxRenderer,
Boundary insets,
boolean preserveRatio,
boolean forceSize,
boolean centerImage,
Transform2D transform,
int bgColor)
Create an image of the panel's contents with the given size. |
static org.eclipse.swt.graphics.Image |
VisualGraphImageUtil.exportToImage(org.eclipse.swt.graphics.Device swtDevice,
VisualGraphView visualgraphview,
int w,
int h,
Renderer gfxRenderer,
Boundary ins,
int bgColor)
Creates and returns an of the passed
with the specified size.
|
| Uses of VisualGraphView in com.tensegrity.gui.swt.print |
| Methods in com.tensegrity.gui.swt.print with parameters of type VisualGraphView | |
void |
PrintManager.print(VisualGraphView vgView,
BasePageFormat bpf)
Prints the given visual graph view to the composite specified in the constructor, using the given page format. |
| Constructors in com.tensegrity.gui.swt.print with parameters of type VisualGraphView | |
GraphPrinter(VisualGraphView vgView,
double viewScale,
int rows,
int cols)
Constructs a new GraphPrinter instance for the given VisualGraphView. |
|
PrintPreviewDialog(org.eclipse.swt.widgets.Display dpl,
ApplicationFrame appFrame,
VisualGraphView vgView)
Constructs a new PrintPreviewDialog instance |
|
PageSetupDialog(org.eclipse.swt.widgets.Shell parent,
ApplicationFrame appFrame,
BasePageFormat bpf,
VisualGraphView vgView)
Constructs a new PageSetupDialog instance |
|
| Uses of VisualGraphView in com.tensegrity.skeleton.commands |
| Methods in com.tensegrity.skeleton.commands that return VisualGraphView | |
VisualGraphView |
GraphDocumentCommand.getVisualGraphView()
Returns the VisualGraphView of the currently active document.
|
| Methods in com.tensegrity.skeleton.commands with parameters of type VisualGraphView | |
protected GraphDocument |
CloneDocumentCommand.newDocument(java.lang.String name,
GraphController controller,
VisualGraphView visualgraphview)
This methods adds a new document to the tabbed pane. |
protected GraphDocument |
DocumentCommand.newGraphDocumentFromFactory(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview)
This method invokes the newGraphDocument method in the document factory and can be overridden by subclasses to perform custom post-intialization work. |
static int[] |
TableCommand.getGridCoordinates(VisualGraphView vgv,
CompositeTable table,
int x,
int y)
Returns the corresponding coordinates for the given coordinate-pair in the grid of the CompositeTable. |
static CompositeLabel |
TableCommand.getCompositeLabel(VisualGraphView vgv,
CompositeTable table,
int x,
int y)
Returns the CompositeLabel located at the
(x, y) in the CompositeTable of the given
VisualGraphView. |
| Uses of VisualGraphView in com.tensegrity.skeleton.swt.commands |
| Methods in com.tensegrity.skeleton.swt.commands that return VisualGraphView | |
protected VisualGraphView |
SwtNewDocumentCommand.newVisualGraphView()
This routine creates a new from the
instance then creates and
returns the associated .
|
protected VisualGraphView |
SwtNewDocumentCommand.newVisualGraphView(Graph graph)
Creates and returns a new given
the passed .
|
protected VisualGraphView |
SwtNewDocumentCommand.createDefaultVisualGraph(GraphController controller)
Creates and returns a new given
the passed . |
VisualGraphView |
SwtGraphDocumentCommand.getVisualGraphView()
Returns the VisualGraphView of the currently active graph document.
|
| Methods in com.tensegrity.skeleton.swt.commands with parameters of type VisualGraphView | |
protected GraphDocument |
SwtNewDocumentCommand.newDocument(java.lang.String name,
GraphController controller,
VisualGraphView visualgraphview)
Creates and returns a new GraphDocument.
|
protected GraphDocument |
SwtNewDocumentCommand.newDocument(VisualGraphView visualgraphview)
This methods creates a new GraphDocument. |
protected GraphDocument |
SwtCommonBaseCommand.newGraphDocumentFromFactory(java.lang.String name,
GraphApplication graphapplication,
GraphController graphcontroller,
VisualGraphView visualgraphview)
This method invokes the newGraphDocument method in the document factory and can be overridden by subclasses to perform custom post-intialization work. |
protected GraphDocument |
SwtCloneDocumentCommand.newDocument(java.lang.String name,
GraphController controller,
VisualGraphView visualgraphview)
This methods adds a new document to the tabbed pane. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||