edu.uci.ics.jung.visualization.transform
Interface MutableTransformer

All Superinterfaces:
BidirectionalTransformer, ChangeEventSupport, ShapeTransformer
All Known Implementing Classes:
HyperbolicShapeTransformer, HyperbolicTransformer, LensTransformer, MagnifyShapeTransformer, MagnifyTransformer, MutableAffineTransformer, MutableTransformerDecorator, PerspectiveShapeTransformer, PerspectiveTransformer

public interface MutableTransformer
extends ShapeTransformer, ChangeEventSupport

Provides an API for the mutation of a transformer and for adding listeners for changes on the transformer

Author:
Tom Nelson

Method Summary
 void concatenate(AffineTransform transform)
           
 double getRotation()
           
 double getScale()
           
 double getScaleX()
           
 double getScaleY()
           
 double getShearX()
           
 double getShearY()
           
 AffineTransform getTransform()
           
 double getTranslateX()
           
 double getTranslateY()
           
 void preConcatenate(AffineTransform transform)
           
 void rotate(double radians, double x, double y)
           
 void rotate(double radians, Point2D point)
           
 void scale(double sx, double sy, Point2D point)
           
 void setScale(double sx, double sy, Point2D point)
           
 void setToIdentity()
           
 void setTranslate(double dx, double dy)
           
 void shear(double shx, double shy, Point2D from)
           
 void translate(double dx, double dy)
           
 
Methods inherited from interface edu.uci.ics.jung.visualization.transform.shape.ShapeTransformer
inverseTransform, transform
 
Methods inherited from interface edu.uci.ics.jung.visualization.transform.BidirectionalTransformer
inverseTransform, transform
 
Methods inherited from interface edu.uci.ics.jung.visualization.util.ChangeEventSupport
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
 

Method Detail

translate

void translate(double dx,
               double dy)

setTranslate

void setTranslate(double dx,
                  double dy)

scale

void scale(double sx,
           double sy,
           Point2D point)

setScale

void setScale(double sx,
              double sy,
              Point2D point)

rotate

void rotate(double radians,
            Point2D point)

rotate

void rotate(double radians,
            double x,
            double y)

shear

void shear(double shx,
           double shy,
           Point2D from)

concatenate

void concatenate(AffineTransform transform)

preConcatenate

void preConcatenate(AffineTransform transform)

getScaleX

double getScaleX()

getScaleY

double getScaleY()

getScale

double getScale()

getTranslateX

double getTranslateX()

getTranslateY

double getTranslateY()

getShearX

double getShearX()

getShearY

double getShearY()

getTransform

AffineTransform getTransform()

setToIdentity

void setToIdentity()

getRotation

double getRotation()


Copyright © 2009. All Rights Reserved.