Uses of Class
com.tensegrity.generic.math.Transform2D

Packages that use Transform2D
com.tensegrity.composite The Tensgrity Graph Framework supports complex visual representations of nodes and edges.  
com.tensegrity.composite.coordinate Provides interfaces and classes for creating and dealing with coordinate systems. 
com.tensegrity.composite.label Contains classes used by the CompositeLabel
com.tensegrity.composite.persistence Provides classes for making composite objects persistent. 
com.tensegrity.composite.util   
com.tensegrity.generic.math Math related code (e.g. matrices, transforms, algorithms).  
com.tensegrity.graph.view Contains the graph view interface.  
com.tensegrity.graph.view.image   
com.tensegrity.graphics Contains basic classes and interfaces of the Tensegrity graphics framework.  
com.tensegrity.graphics.awt Contains basic helper classes for working with AWT.  
com.tensegrity.graphics.device Contains classes and interfaces defining devices that accomplish the drawing.  
com.tensegrity.graphics.interaction Contains classes and interfaces for handling graphic interactions.  
com.tensegrity.graphics.primitive2D Contains classes that define graphical primitives in 2D space.  
com.tensegrity.graphics.swt Provides constants and methods which are useful in an SWT context.  
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.swt.graph   
 

Uses of Transform2D in com.tensegrity.composite
 

Methods in com.tensegrity.composite that return Transform2D
 Transform2D CompositeView.getViewTransform(Transform2D xform_context)
          Returns the Transform2D of this view.
 Transform2D CompositeNavigator.getViewTransform(Transform2D xform_context)
          Returns the Transform2D of the navigator's view.
 Transform2D Composite.getTransform()
          Returns the transformation the composite currently is transformed by.
 Transform2D Composite.getCoordinateSytemTransform(int type)
          Returns a Tranform2D that can be used to calculate the transformation from or the transformation to this Composite depending on the given type.
 Transform2D CompositeViewGrid.getContextTransform()
          Returns the context transformation that is used for drawing instead of the default context transformation of the view.
 

Methods in com.tensegrity.composite with parameters of type Transform2D
 Transform2D CompositeView.getViewTransform(Transform2D xform_context)
          Returns the Transform2D of this view.
 void CompositeView.draw(Renderer renderer, Device device, Transform2D xform_context)
          Draws the Primitives and Composites added to the CompositeView with the Renderer given by renderer onto the Device given by device.
 void CompositeView.draw(Renderer renderer, Device device, Transform2D xform_context, int drawflags)
          Draws the Primitives and Composites added to the CompositeView with the Renderer given by renderer onto the Device given by device.
 void CompositeView.print(Renderer renderer, Device device, Transform2D xform_context, BoundingBox bbox, int drawFlags)
          This method can be used to print the content of this CompositeView on a printing device.
 void CompositeLabelRepresentation.revalidate(Transform2D xform_context, ScaleValues scalevalues)
          Called whenever this instance has to be adjusted and re-layouted.
 void CompositeLabelRepresentation.draw(Renderer renderer, Device device, Transform2D xform_composite)
          Does the actual drawing of this molding.
static boolean CompositeUtilities.isHit(Transform2D xForm, BaseComposite composite, int x, int y)
          Checks if the given BaseComposite is hit at the given coordinates
static boolean CompositeUtilities.isHit(Transform2D xForm, BaseComposite composite, int x, int y, int minLabelWidth, int minLabelHeight)
          Checks if the given BaseComposite is hit at the given coordinates
static void CompositeBBoxOperations.transform(Transform2D xform, Boundary bbox)
          Transforms the given Boundary by meams of the given Tramsform2D.
static Boundary CompositeBBoxOperations.transform_createnew(Transform2D xform, Boundary bbox)
          Returns a new Boundary that is a transformation of the given Boundary by meams of the given Tramsform2D.
 Transform2D CompositeNavigator.getViewTransform(Transform2D xform_context)
          Returns the Transform2D of the navigator's view.
 void CompositeNavigator.draw(Renderer renderer, Device device, Transform2D xform_context)
          Draws the content provided by the current CompositeNavigatorProvider with the specified Renderer onto the specified Device.
 void Composite.setTransform(Transform2D xform)
          Sets the transform the composite is transformed by.
 void CompositeLine.setLabel(Transform2D xform_context, ScaleValues scalevalues, java.lang.String text)
          Deprecated. use .setSignVisible() and .adjustGeometry() instead [NOTICE: method will be removed in the near future]
 void CompositeLine.setLabelVisible(Transform2D xform_context, ScaleValues scalevalues, boolean visible)
          Deprecated. use .setSignVisible() and .adjustGeometry() instead [NOTICE: method will be removed in the near future]
 void CompositeLabel.adjustSize(Transform2D xform_context, ScaleValues scalevalues)
          Adjusts the size of the CompositeLabel according to the size adjustment mode that is currently set and the given transformation and zoom values.
 void CompositeViewGrid.setContextTransform(Transform2D trans)
          Sets the context transformation that should be used instead of the default.
 void BaseComposite.adjustGeometry(Transform2D xform_context, ScaleValues scalevalues)
           Adjusts the geometry of the BaseComposite.
 void BaseComposite.draw(Renderer renderer, Device device, Transform2D xform_context)
          This method is called from the context the BaseComposite lies within.
 void BaseComposite.drawComposite(Renderer renderer, Device device, Transform2D xform_composite)
          This method is called from BaseComposite.draw(Renderer, Device, Transform2D) or from BaseComposite.draw(Renderer, Device, int, int, int, int).
 

Uses of Transform2D in com.tensegrity.composite.coordinate
 

Methods in com.tensegrity.composite.coordinate that return Transform2D
 Transform2D CoordinateSystem.getTransform2D(double minimumX, double maximumX, double minimumY, double maximumY)
          Returns the Transform2D resulting from the given min and max values (defining a bounding-box) and the scalefactors used by the Scales of this CoordinateSystem.
 Transform2D CoordinateSystem.getTransform2D_inverse(double minimumX, double maximumX, double minimumY, double maximumY)
          Returns the inverse Transform2D resulting from the given min and max values (defining a bounding-box) and the scalefactors used by the Scales of this CoordinateSystem.
 

Uses of Transform2D in com.tensegrity.composite.label
 

Methods in com.tensegrity.composite.label with parameters of type Transform2D
 void CompositeLabelRectangle.revalidate(Transform2D xform_context, ScaleValues scalevalues)
           
 void CompositeLabelRectangle.draw(Renderer renderer, Device device, Transform2D xform_composite)
           
 void CompositeLabelEllipse.revalidate(Transform2D xform_context, ScaleValues scalevalues)
           
 void CompositeLabelEllipse.draw(Renderer renderer, Device device, Transform2D xform_composite)
           
 

Uses of Transform2D in com.tensegrity.composite.persistence
 

Methods in com.tensegrity.composite.persistence that return Transform2D
protected  Transform2D CompositeBuilder.getTransform(java.lang.String s)
          Returns the Transform2D instance based on a given String.
 

Methods in com.tensegrity.composite.persistence with parameters of type Transform2D
static void CompositeConstants.addTransform(Transform2D transform, AttributeList list)
          Adds the Transform2D transform to the given AttributeList.
 

Uses of Transform2D in com.tensegrity.composite.util
 

Methods in com.tensegrity.composite.util that return Transform2D
 Transform2D CompositeHierarchyPath.buildTransform(int type)
          Returns a transformation that is defined through the constant given by type and can be used to constant transformation type CompositeHierarchyUtilities.TRANSFORM_FROM_VIEW_TO_COMPOSITE transform a coordinate from the coordinate system of the view into the coordinate system of the composite CompositeHierarchyUtilities.TRANSFORM_FROM_COMPOSITE_TO_VIEW transform a coordinate from the coordinate system of the composite into the coordinate system of the view CompositeHierarchyUtilities.TRANSFORM_FROM_VIEW_TO_CONTAINER transform a coordinate from the coordinate system of the view into the coordinate system of the composites container CompositeHierarchyUtilities.TRANSFORM_FROM_CONTAINER_TO_VIEW transform a coordinate from the coordinate system of the composites container into the coordinate system of the view
static Transform2D CompositeHierarchyUtilities.buildTransformation(CompositeHierarchyPath hierarchypath, int type)
          Returns the transformation of type type for the given CompositeHierarchyPath.
 

Uses of Transform2D in com.tensegrity.generic.math
 

Methods in com.tensegrity.generic.math that return Transform2D
static Transform2D Transform2D.createTranslation(double dx, double dy)
          Conveniece method that creates a new translation transform.
static Transform2D Transform2D.createScale(double sx, double sy)
          Conveniece method that creates a new scaling transform.
static Transform2D Transform2D.createRotation(double angle)
          Conveniece method that creates a new rotation transform.
static Transform2D Transform2D.combine(Transform2D xform1, Transform2D xform2)
          Combines the two given transformations to one transformation.
static Transform2D Transform2D.combineInverse(Transform2D xform1, Transform2D xform2)
          Combines the inverse transformations of the two given transformations to one transformation.
 

Methods in com.tensegrity.generic.math with parameters of type Transform2D
 void Transform2D.set(Transform2D transform)
          Sets this transform to the specified transform.
 void Transform2D.combine(Transform2D transform)
          Multiplies another transform onto this transform, thereby combined the affine transforms into an accumulated form.
static Transform2D Transform2D.combine(Transform2D xform1, Transform2D xform2)
          Combines the two given transformations to one transformation.
static Transform2D Transform2D.combineInverse(Transform2D xform1, Transform2D xform2)
          Combines the inverse transformations of the two given transformations to one transformation.
 boolean Transform2D.equalsTransform(Transform2D transform)
          Returns true, if the two transforms contain the same elements (Object.equals wasn't overridden to prevent unexpected behavior)
 

Constructors in com.tensegrity.generic.math with parameters of type Transform2D
Transform2D(Transform2D transform)
          Constructs by copying the values from another transform into this transform.
 

Uses of Transform2D in com.tensegrity.graph.view
 

Methods in com.tensegrity.graph.view that return Transform2D
static Transform2D VisualOperations.goodfit(java.util.Collection visualobjects, java.awt.Rectangle region)
          Computes a transform that fits the visualobjects into the given region.
static Transform2D VisualOperations.center(java.util.Iterator visualobjects, double centerX, double centerY)
          Centers the graph around the given point (centerX, centerY).
static Transform2D VisualOperations.fit(java.util.Collection visualobjects, java.awt.Rectangle region)
          Computes a transform that fits the VisualObjects into the given region.
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.
 

Methods in com.tensegrity.graph.view with parameters of type Transform2D
static void VisualOperations.translate(java.util.Iterator visualobjects, Transform2D transform)
          Translate the specified visualobjects.
static void VisualOperations.applyTransformToCenterOfComposite(Composite composite, Transform2D xform)
          Applies the given transformation on the center of a Composite object.
static void VisualOperations.convertCoordinates(Composite composite, Transform2D transform)
          Converts the boundary of the given Composite by the given transformation.
static void VisualOperations.convertCoordinates(VisualEdge visualedge, Transform2D transform)
          Converts all the coordinates of the given VisualEdge by the given transformation.
static void VisualOperations.convertCoordinates(Coordinate[] coordinates, Transform2D transform)
          Converts all the coordinates of the given array by the given transformation.
static void VisualOperations.convertCoordinates(CompositeLine compositeline, Transform2D transform)
          Converts all the coordinates of the given CompositeLine by the given transformation.
static void VisualOperations.convertCoordinates(Boundary boundary, Transform2D transform)
          Converts the given boundary by the given transformation.
 

Uses of Transform2D in com.tensegrity.graph.view.image
 

Methods in com.tensegrity.graph.view.image that return Transform2D
 Transform2D ImageExportConfiguration.getTransform()
          Returns the Transform2D instance that can be used to transform graph coordinates to image coordinates.
 

Uses of Transform2D in com.tensegrity.graphics
 

Methods in com.tensegrity.graphics that return Transform2D
 Transform2D TextFormatter.getTransform2D()
          Returns the actual set Transform2D of the formatter.
 Transform2D AbstractPrimitive.getTransform()
           
 Transform2D Illustrator.getContextTransformation()
          Returns the transformation of the context for the object the illustrator is assigned to.
 Transform2D Illustrator.getObjectTranformation()
          Returns the transformation for the object the illustrator is assigned to.
 Transform2D Primitive.getTransform()
          Returns a Transform2D currently used to transform the coordinates of the graphical Primitive.
 

Methods in com.tensegrity.graphics with parameters of type Transform2D
 void TextFormatter.setTransform(Transform2D xform)
          Sets the Transform2D to be used for the calculations of this formatter.
 java.lang.String[] TextFormatter.getLines(Transform2D xform_context, ScaleValues scalevalues)
          Returns a String-array containing the text broken up into text-lines by means of the settings of this instance.
 int[] TextFormatter.getLineWidths(Transform2D xform_context, ScaleValues scalevalues)
          Returns a int-array containg the widths of the broken single lines of text.
 int[] TextFormatter.getLineHeights(Transform2D xform_context, ScaleValues scalevalues)
          Returns a int-array containg the heights of the text-lines of this formatter.
 int TextFormatter.getTextHeight(Transform2D xform_context, ScaleValues scalevalues)
          Returns the overall height for the formatted text under the given Transform2D.
 int TextFormatter.getPreferredHeight(Transform2D xform_context, ScaleValues scalevalues)
          Returns the preferred overall height for the formatted text under the given Transform2D.
 Size TextFormatter.getPreferredSize(Transform2D xform_context, ScaleValues scalevalues)
          Returns the preferred overall size (height and width) for the formatted text under the given Transform2D.
static void CoordinateOperations.transform(Transform2D xform, Coordinate coordinate)
          Transforms the Coordinate given by coordinate with the Transform2D given by xform.
static void CoordinateOperations.transform(Transform2D[] xform, Coordinate coordinate)
           
static Coordinate CoordinateOperations.transform_createnew(Transform2D xform, Coordinate coordinate)
          Transforms the Coordinate given by coordinate with the Transform2D given by xform.
static void CoordinateOperations.transform(Transform2D xform, Coordinate[] coordinates)
          Transforms the Coordinates given by coordinates with the Transform2D given by xform.
static Coordinate[] CoordinateOperations.transform_createnew(Transform2D xform, Coordinate[] coordinates)
          Transforms the Coordinates given by coordinates with the Transform2D given by xform.
 void AbstractPrimitive.setTransform(Transform2D transform)
           
 RenderingData AbstractPrimitive.getRenderingData(Transform2D xform_context)
           
static void BBoxOperations.transform(Transform2D xform, Boundary bbox)
          Transforms the given Boundary by meams of the given Tramsform2D.
static Boundary BBoxOperations.transform_createnew(Transform2D xform, Boundary bbox)
          Returns a new Boundary that is a transformation of the given Boundary by meams of the given Tramsform2D.
static void BBoxOperations.transform(Transform2D xform, BoundingBox bbox)
          Transforms the given Boundary by meams of the given Tramsform2D.
static BoundingBox BBoxOperations.transform_createnew(Transform2D xform, BoundingBox bbox)
          Returns a new Boundary that is a transformation of the given Boundary by meams of the given Tramsform2D.
 void Viewport.getTransform(Transform2D xform)
          Returns the transform that this View defines.
 void Primitive.setTransform(Transform2D transform)
          Sets the Transform2D given by transform as the new transform for the coordinates of the Primitive.
 Illustrator Primitive.getIllustrator(Transform2D xform_context)
          Returns the Primitives illustrator object.
 RenderingData Primitive.getRenderingData(Transform2D xform_context)
          Returns a RenderingData instance, which are used by a Renderer implementation to render a Primitive.
 void View.getTransform(Transform2D xform)
          Returns the transform that this View defines.
 double TextOperations.computeWidth(FontFormat font, Transform2D xform, java.lang.String text)
          Computes the width of the text given by text when using the FontFormat given by font and the transformation given by xform.
 double TextOperations.computeWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text)
          Computes the width of the text given by text when using the FontFormat rendering data given by fontdata and the transformation given by xform.
 double TextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text)
          Computes the height of the text given by text when using the FontFormat given by font and the transformation given by xform.
 double TextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text, boolean multiline)
          Computes the height of the text given by text when using the FontFormat given by font and the transformation given by xform.
 double TextOperations.computeHeight(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text)
          Computes the height of the text given by text when using the FontFormat rendering data given by fontdata and the transformation given by xform.
 double TextOperations.computeHeight(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, boolean multiline)
          Computes the height of the text given by text when using the FontFormat rendering data given by fontdata and the transformation given by xform.
 Coordinate TextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double[] lineScales)
          Computes the origin for the text given by text within the BoundingBox given by bbox with respect to the alignments given by alignments, the FontFormat rendering data given by fontdata and the transformation given by xform.
 Coordinate TextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double[] lineScales, boolean multiline)
          Computes the origin for the text given by text within the BoundingBox given by bbox with respect to the alignments given by alignments, the FontFormat rendering data given by fontdata and the transformation given by xform.
 BoundingBox TextOperations.computeBoundingBox(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY)
           
 BoundingBox TextOperations.computeBoundingBox(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY, boolean multiline)
           
 Coordinate TextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY)
          Computes the origin for the text given by text within the BoundingBox given by bbox with respect to the alignments given by alignments, the FontFormat rendering data given by fontdata, the transformation given by xform and the text scalings in x and y direction given by textScaleX and textScaleY.
 Coordinate TextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY, boolean multiline)
          Computes the origin for the text given by text within the BoundingBox given by bbox with respect to the alignments given by alignments, the FontFormat rendering data given by fontdata, the transformation given by xform and the text scalings in x and y direction given by textScaleX and textScaleY.
 java.lang.String TextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width)
          Cuts the text given by text to the given width with respect to the FontFormat given by font and the transformation given by xform.
 java.lang.String TextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width)
          Cuts the text given by text to the given width with respect to the FontFormat redering data given by fontdata and the transformation given by xform.
 java.lang.String TextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
          Cuts the text given by text to the given width with respect to the FontFormat given by font, the transformation given by xform and the text scalings in x and y direction given by textScaleX and textScaleY.
 java.lang.String TextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
          Cuts the text given by text to the given width with respect to the FontFormat given by font, the transformation given by xform and the text scalings in x and y direction given by textScaleX and textScaleY.
 java.lang.String TextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
          Cuts the text given by text to the given width with respect to the FontFormat redering data given by fontdata, the transformation given by xform and the text scalings in x and y direction given by textScaleX and textScaleY.
 java.lang.String TextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
          Cuts the text given by text to the given width with respect to the FontFormat redering data given by fontdata, the transformation given by xform and the text scalings in x and y direction given by textScaleX and textScaleY.
 Coordinate[] TextOperations.computeLineCoordinates(FontFormat font, Transform2D xform, java.lang.String text, int lineType)
          Computes the start and end coordinates of a line decorating a text given by text when using the FontFormat given by font and the transformation given by xform.
 Coordinate[] TextOperations.computeLineCoordinates(java.lang.Object[] fontData, Transform2D xform, java.lang.String text, int lineType)
          Computes the start and end coordinates of a line decorating a text given by text when using the FontFormat given by font and the transformation given by xform.
 

Uses of Transform2D in com.tensegrity.graphics.awt
 

Methods in com.tensegrity.graphics.awt that return Transform2D
static Transform2D AWTUtilities.fromAffineTransform(java.awt.geom.AffineTransform xform)
          Converts the given AffineTransform into a Transform2D.
 

Methods in com.tensegrity.graphics.awt with parameters of type Transform2D
 double AWTTextOperations.computeWidth(FontFormat font, Transform2D xform, java.lang.String text)
           
 double AWTTextOperations.computeWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text)
           
 double AWTTextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text)
           
 double AWTTextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text, boolean multiline)
           
 double AWTTextOperations.computeHeight(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text)
           
 double AWTTextOperations.computeHeight(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, boolean multiline)
           
 Coordinate AWTTextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double[] lineScales)
           
 Coordinate AWTTextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double[] lineScales, boolean multiline)
           
 Coordinate AWTTextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY)
           
 Coordinate AWTTextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY, boolean multiline)
           
 BoundingBox AWTTextOperations.computeBoundingBox(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY)
           
 BoundingBox AWTTextOperations.computeBoundingBox(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY, boolean multiline)
           
 java.lang.String AWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width)
           
 java.lang.String AWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
           
 java.lang.String AWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
           
 java.lang.String AWTTextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width)
           
 java.lang.String AWTTextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
           
 java.lang.String AWTTextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
           
 Coordinate[] AWTTextOperations.computeLineCoordinates(FontFormat font, Transform2D xform, java.lang.String text, int lineType)
           
 Coordinate[] AWTTextOperations.computeLineCoordinates(java.lang.Object[] fontData, Transform2D xform, java.lang.String text, int lineType)
           
 Coordinate[] AWTTextOperations.computeLineCoordinates(java.awt.Font awtFont, Transform2D xform, java.lang.String text, int lineType)
          Computes the start and end coordinates of a line decorating a text given by text when using the FontFormat given by font and the transformation given by xform.
static java.awt.geom.AffineTransform AWTUtilities.toAffineTransform(Transform2D xform)
          Converts the given Transform2D into an AffineTransform.
 

Uses of Transform2D in com.tensegrity.graphics.device
 

Methods in com.tensegrity.graphics.device that return Transform2D
 Transform2D AWTDevice.getTransform()
           
 Transform2D SVGDevice.getTransform()
           
 Transform2D SWTDeviceNonAWTDependent.getTransform()
           
 Transform2D Device.getTransform()
          Returns a copy of the current AffineTransform in the Device.
 

Methods in com.tensegrity.graphics.device with parameters of type Transform2D
 void AWTDevice.setTransform(Transform2D xform)
           
 void SVGDevice.setTransform(Transform2D xform)
           
 void SWTDeviceNonAWTDependent.setTransform(Transform2D xform)
           
 void Device.setTransform(Transform2D xform)
          Sets the Transform2D in the Device.
 

Uses of Transform2D in com.tensegrity.graphics.interaction
 

Methods in com.tensegrity.graphics.interaction that return Transform2D
 Transform2D InteractionRestrictionInfo.getContextTransform()
           
 Transform2D InteractionInfo.getContextTransform()
          Returns the context transformation that in needed by the BaseInteractable to transform his coordinates.
 

Methods in com.tensegrity.graphics.interaction with parameters of type Transform2D
 void TableCellInteractionItem.draw(Device device, Transform2D xform_context)
           
 boolean TableCellInteractionItem.hits(Transform2D xform_context, int x, int y)
           
 void TableCellInteractionItem.moveStart(Transform2D xform_context, int x, int y)
           
 void TableCellInteractionItem.moveStop(Transform2D xform_context, int x, int y)
           
 void TableCellInteractionItem.move(Transform2D xform_context, int x, int y)
           
 java.lang.Object TableCellInteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 void RectInteractionItem.draw(Device device, Transform2D xform_context)
           
 boolean RectInteractionItem.hits(Transform2D xform_context, int x, int y)
           
 void RectInteractionItem.moveStart(Transform2D xform_context, int x, int y)
           
 void RectInteractionItem.moveStop(Transform2D xform_context, int x, int y)
           
 void RectInteractionItem.move(Transform2D xform_context, int x, int y)
           
 java.lang.Object RectInteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 void HandleInteractionItem.draw(Device device, Transform2D xform_context)
           
 boolean HandleInteractionItem.hits(Transform2D xform_context, int x, int y)
           
 void HandleInteractionItem.moveStart(Transform2D xform_context, int x, int y)
           
 void HandleInteractionItem.moveStop(Transform2D xform_context, int x, int y)
           
 void HandleInteractionItem.move(Transform2D xform_context, int x, int y)
           
 java.lang.Object HandleInteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 void InteractionContext.paint(Renderer renderer, Device device, Transform2D xform_context)
          This method has to be called from the objects that holds an instance of InteractionContext to paint the current selection.
 void DefaultInteractionContext.paint(Renderer renderer, Device device, Transform2D xform_context)
           
 void CubicLineInteractionItem.draw(Device device, Transform2D xform_context)
           
 boolean CubicLineInteractionItem.hits(Transform2D xform_context, int x, int y)
           
 void CubicLineInteractionItem.moveStart(Transform2D xform_context, int x, int y)
           
 void CubicLineInteractionItem.moveStop(Transform2D xform_context, int x, int y)
           
 void CubicLineInteractionItem.move(Transform2D xform_context, int x, int y)
           
 java.lang.Object CubicLineInteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 void InteractionItem.setTransform(Transform2D xform_object)
          sets the transform a selectable object is possibly transformed by.
 void InteractionItem.draw(Device device, Transform2D xform_context)
          draws an object that implements this interface if it has a visual representation and is enabled for drawing.
 boolean InteractionItem.hits(Transform2D xform_context, int x, int y)
          checks whether the given point hits the object that implements this interface.
 void InteractionItem.moveStart(Transform2D xform_context, int x, int y)
          This method is called from the InteractionContext when a move is about to start.
 void InteractionItem.moveStop(Transform2D xform_context, int x, int y)
          This method is called from the InteractionContext when a move has been done.
 void InteractionItem.move(Transform2D xform_context, int x, int y)
          This method is called from the InteractionContext when a move occurs.
 java.lang.Object InteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 void PolylineInteractionItem.draw(Device device, Transform2D xform_context)
           
 boolean PolylineInteractionItem.hits(Transform2D xform_context, int x, int y)
           
 void PolylineInteractionItem.moveStart(Transform2D xform_context, int x, int y)
           
 void PolylineInteractionItem.moveStop(Transform2D xform_context, int x, int y)
           
 void PolylineInteractionItem.move(Transform2D xform_context, int x, int y)
           
 java.lang.Object PolylineInteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 void LinearLineInteractionItem.draw(Device device, Transform2D xform_context)
           
 boolean LinearLineInteractionItem.hits(Transform2D xform_context, int x, int y)
           
 void LinearLineInteractionItem.moveStart(Transform2D xform_context, int x, int y)
           
 void LinearLineInteractionItem.moveStop(Transform2D xform_context, int x, int y)
           
 void LinearLineInteractionItem.move(Transform2D xform_context, int x, int y)
           
 java.lang.Object LinearLineInteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 void AreaInteractionItem.draw(Device device, Transform2D xform_context)
           
 boolean AreaInteractionItem.hits(Transform2D xform_context, int x, int y)
           
 void AreaInteractionItem.moveStart(Transform2D xform_context, int x, int y)
           
 void AreaInteractionItem.moveStop(Transform2D xform_context, int x, int y)
           
 void AreaInteractionItem.move(Transform2D xform_context, int x, int y)
           
 java.lang.Object AreaInteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 void MultipleCoordinatesHandleInteractionItem.draw(Device device, Transform2D xform_context)
           
 boolean MultipleCoordinatesHandleInteractionItem.hits(Transform2D xform_context, int x, int y)
           
 void MultipleCoordinatesHandleInteractionItem.moveStart(Transform2D xform_context, int x, int y)
           
 void MultipleCoordinatesHandleInteractionItem.moveStop(Transform2D xform_context, int x, int y)
           
 void MultipleCoordinatesHandleInteractionItem.move(Transform2D xform_context, int x, int y)
           
 java.lang.Object MultipleCoordinatesHandleInteractionItem.calculateMove(Transform2D xform_context, int x, int y)
           
 

Constructors in com.tensegrity.graphics.interaction with parameters of type Transform2D
TableCellInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, Transform2D xformObject)
          Constructor specifying the coordinates, the indices and the tranform.
TableCellInteractionItem(int[] coordsX, int[] coordsY, int indexX1, int indexY1, int indexX2, int indexY2, Transform2D xformObject)
          Constructor specifying the coordinates, the indices and the tranform.
TableCellInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, Transform2D xformObject, int restrictionMove)
          Constructor specifying the coordinates, the indices, the tranform and the restrictions for movement.
RectInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, Transform2D xform_object)
          Constructor for RectInteractionItem.
RectInteractionItem(int[] coordsX, int[] coordsY, int indexX1, int indexY1, int indexX2, int indexY2, Transform2D xform_object)
          Constructor for RectInteractionItem.
RectInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, Transform2D xform_object, int restrictionMove)
          Constructor for RectInteractionItem.
HandleInteractionItem(int[] coordsX, int[] coordsY, int indexX, int indexY, int cursorID, Transform2D xform_object)
          Constructor that creates a HandleInteractionItem with the x component array and the y component array of coordinate given by coordsX and coordsY.
HandleInteractionItem(int[] coordsX, int[] coordsY, int indexX, int indexY, int handleAlignment, int cursorID, Transform2D xform_object)
           
HandleInteractionItem(int[] coordsX, int[] coordsY, int indexX, int indexY, int cursorID, Transform2D xform_object, InteractionItemRestriction restriction)
           
HandleInteractionItem(int[] coordsX, int[] coordsY, int indexX, int indexY, int handleAlignment, int cursorID, Transform2D xform_object, InteractionItemRestriction restriction)
           
HandleInteractionItem(int[] coordsX, int[] coordsY, int indexX1, int indexY1, int indexX2, int indexY2, int modemask, int handleAlignment, int cursorID, Transform2D xform_object, InteractionItemRestriction restriction)
           
CubicLineInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, int index1Ref, int index2Ref, Transform2D xform_object)
          Constructor for CubicLineInteractionItem.
CubicLineInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, int index1Ref, int index2Ref, Transform2D xform_object, boolean draw)
          Constructor for CubicLineInteractionItem.
PolylineInteractionItem(int[] coordsX, int[] coordsY, int[] coordsXRef, int[] coordsYRef, int[] segmentTypes, int cursorID, boolean draw, Transform2D xform_object)
          Constructor for PolylineInteractionItem.
InteractionRestrictionInfo(BaseInteractable interactable, InteractionItem item, Coordinate coordinate, Transform2D xform_context, int type)
          TODO : comment
InteractionRestrictionInfo(java.util.Map interactable2item, Coordinate coordinate, Transform2D xform_context, int type)
           
LinearLineInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, Transform2D xform_object)
          Constructor for LinearLineInteractionItem.
LinearLineInteractionItem(int[] coordsX, int[] coordsY, int indexX1, int indexY1, int indexX2, int indexY2, Transform2D xform_object)
          Constructor for LinearLineInteractionItem.
LinearLineInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, Transform2D xform_object, boolean draw)
          Constructor for LinearLineInteractionItem.
LinearLineInteractionItem(int[] coordsX, int[] coordsY, int indexX1, int indexY1, int indexX2, int indexY2, Transform2D xform_object, boolean draw)
          Constructor for LinearLineInteractionItem.
LinearLineInteractionItem(int[] coordsX, int[] coordsY, int[] coordsX2, int[] coordsY2, int indexX1, int indexY1, int indexX2, int indexY2, Transform2D xform_object, boolean draw)
          Constructor for LinearLineInteractionItem.
LinearLineInteractionItem(int[] coordsX, int[] coordsY, int index1, int index2, Transform2D xform_object, boolean draw, int restrictionMove)
          Constructor for LinearLineInteractionItem.
AreaInteractionItem(int[] coordsX, int[] coordsY, Transform2D xform_object)
          Constructor for AreaInteractionItem.
AreaInteractionItem(int[] coordsX, int[] coordsY, Transform2D xform_object, boolean draw)
          Constructor for AreaInteractionItem.
AreaInteractionItem(int[] coordsX, int[] coordsY, int[] indicesX, int[] indicesY, Transform2D xform_object)
          Constructor for AreaInteractionItem.
AreaInteractionItem(int[] coordsX, int[] coordsY, int[] indicesX, int[] indicesY, Transform2D xform_object, boolean draw)
          Constructor for AreaInteractionItem.
MultipleCoordinatesHandleInteractionItem(int[] coordsX, int[] coordsY, int indexX, int indexY, int[][] coordsXAdditional, int[][] coordsYAdditional, int[] indiciesXAdditional, int[] indiciesYAdditional, int cursorID, Transform2D xform_object)
          Constructor that creates a HandleInteractionItem with the x component array and the y component array of coordinate given by coordsX and coordsY.
InteractionInfo(Transform2D xform_context, Coordinate location, Coordinate locationStart)
          Constructor that creates an InteractionInfo instance with the context transformation given by xform_context, the current interaction coordinate given by location and the coordinate the interaction has been started given by locationStart.
InteractionInfo(Transform2D xform_context, Coordinate location, Coordinate locationStart, int keymask, int hotspot)
          Constructor that creates an InteractionInfo instance with the context transformation given by xform_context, the current interaction coordinate given by location, the coordinate the interaction has been started given by locationStart, the given keymask and the type of hotspot to use given by hotspot.
InteractionInfo(Transform2D xform_context, MouseInfo mouseInfo)
          Deprecated. don't use this constructor anymore
InteractionInfo(Transform2D xform_context, MouseInfo mouseInfo, int keymask)
          Deprecated. don't use this constructor anymore
InteractionInfo(Transform2D xform_context, Coordinate location, Coordinate locationStart, MouseInfo mouseInfo, int keymask)
          Constructor that creates an InteractionInfo instance with the context transformation given by xform_context, the current interaction coordinate given by location, the coordinate the interaction has been started given by locationStart, the MouseInfo given by mouseInfo and the given keymask.
InteractionInfo(Transform2D xform_context, Coordinate location, Coordinate locationStart, MouseInfo mouseInfo, int keymask, int hotspot)
           
InteractionInfo(Transform2D xform_context, Boundary bbox, Coordinate location, Coordinate locationStart, MouseInfo mouseInfo, int keymask)
          Constructor that creates an InteractionInfo instance with the context transformation given by xform_context, the transformed bounding box for the BaseInteractable, the current interaction coordinate given by location, the coordinate the interaction has been started given by locationStart, the MouseInfo given by mouseInfo and the given keymask.
 

Uses of Transform2D in com.tensegrity.graphics.primitive2D
 

Methods in com.tensegrity.graphics.primitive2D that return Transform2D
 Transform2D Label2D.internalGetLocalTransform()
          Returns the local transform which contains a transformation to compensate a stretching that occurred through size adjustment
 

Methods in com.tensegrity.graphics.primitive2D with parameters of type Transform2D
 Illustrator Polygon2D.getIllustrator(Transform2D xform_context)
           
 Illustrator Ellipse2D.getIllustrator(Transform2D xform_context)
           
static void Marker2D.paint(Device device, Transform2D xform_context, java.lang.Object[][] markerdata, double direction, double org_x, double org_y)
          Global method that renders a Marker2D specified through the given markerdata onto the Device given by device at the coordinate given by org_x and org_y using the context transformation given by xform_context.
static Boundary Marker2D.getBoundingBox(Transform2D xform_context, java.lang.Object[][] markerdata, double direction, double org_x, double org_y)
          Returns the bounding box of the marker with the given properties
 Illustrator Polyline2D.getIllustrator(Transform2D xform_context)
           
 RenderingData Polyline2D.getRenderingData(Transform2D xform_context)
           
 Illustrator Rect2D.getIllustrator(Transform2D xform_context)
           
 Illustrator Line2D.getIllustrator(Transform2D xform_context)
           
 RenderingData Line2D.getRenderingData(Transform2D xform_context)
           
 Illustrator Line2DModel.getIllustrator(Transform2D xform_context)
          Method getIllustrator.
 void Label2D.setSizeAdjustmentMode(Transform2D xform_context, ScaleValues scalevalues, int sizeAdjustmentMode)
          Sets the size adjustment mode for Label2D to the value given by sizeAdjustmentMode.
 int Label2D.getPreferredHeight(Transform2D xform_context, ScaleValues scalevalues)
          Returns the preferred height for the Label2D with respect to the current line length, the line breaks within the current text and the context transformation given by xform_context.
 Size Label2D.getPreferredSize(Transform2D xform_context, ScaleValues scalevalues)
          Returns the preferred size for the Label2D with respect to the line breaks within the current text and the context transformation given by xform_context.
 void Label2D.setTransform(Transform2D transform)
           
 Illustrator Label2D.getIllustrator(Transform2D xform_context)
           
 RenderingData Label2D.getRenderingData(Transform2D xform_context)
           
 void Label2D.internalSetLocalTransform(Transform2D trans, boolean compensate)
          Sets the local transform that is usually generated by a composite that contains this label.
 

Uses of Transform2D in com.tensegrity.graphics.swt
 

Methods in com.tensegrity.graphics.swt with parameters of type Transform2D
 double SWTTextOperations.computeWidth(FontFormat font, Transform2D xform, java.lang.String text)
           
 double SWTTextOperations.computeWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text)
           
 double SWTTextOperations.computeHeight(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text)
           
 double SWTTextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text)
           
 Coordinate SWTTextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY)
           
 BoundingBox SWTTextOperations.computeBoundingBox(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY)
           
 java.lang.String SWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width)
           
 java.lang.String SWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
           
 java.lang.String SWTTextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width)
           
 java.lang.String SWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
           
 java.lang.String SWTTextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
           
 java.lang.String SWTTextOperations.cutToWidth(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
           
 Coordinate SWTTextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double[] lineScales)
           
 Coordinate[] SWTTextOperations.computeLineCoordinates(FontFormat font, Transform2D xform, java.lang.String text, int lineType)
           
 Coordinate[] SWTTextOperations.computeLineCoordinates(java.lang.Object[] fontData, Transform2D xform, java.lang.String text, int lineType)
           
 double SWTTextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text, boolean multiline)
           
 double SWTTextOperations.computeHeight(java.lang.Object[] fontdata, Transform2D xform, java.lang.String text, boolean multiline)
           
 Coordinate SWTTextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double[] lineScales, boolean multiline)
           
 BoundingBox SWTTextOperations.computeBoundingBox(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY, boolean mutliline)
           
 Coordinate SWTTextOperations.computeOrigin(java.lang.Object[] fontdata, BoundingBox bbox, Transform2D xform, java.lang.String text, int[] alignments, double textScaleX, double textScaleY, boolean multiline)
           
 

Uses of Transform2D in com.tensegrity.gui.swing.graph
 

Methods in com.tensegrity.gui.swing.graph with parameters of type Transform2D
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.
 

Uses of Transform2D in com.tensegrity.gui.swt.graph
 

Methods in com.tensegrity.gui.swt.graph with parameters of type Transform2D
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.
 



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.