1 package edu.uci.ics.jung.visualization;
2
3 import java.awt.Shape;
4 import java.awt.geom.Point2D;
5
6 import edu.uci.ics.jung.visualization.transform.BidirectionalTransformer;
7 import edu.uci.ics.jung.visualization.transform.MutableTransformer;
8 import edu.uci.ics.jung.visualization.transform.shape.ShapeTransformer;
9 import edu.uci.ics.jung.visualization.util.ChangeEventSupport;
10
11 public interface MultiLayerTransformer extends BidirectionalTransformer, ShapeTransformer, ChangeEventSupport {
12
13
14
15
16
17 void setTransformer(Layer layer, MutableTransformer transformer);
18
19
20
21
22 MutableTransformer getTransformer(Layer layer);
23
24
25
26 Point2D inverseTransform(Layer layer, Point2D p);
27
28
29
30 Point2D transform(Layer layer, Point2D p);
31
32
33
34 Shape transform(Layer layer, Shape shape);
35
36 Shape inverseTransform(Layer layer, Shape shape);
37
38 void setToIdentity();
39
40 }