org.apache.batik.apps.svgbrowser
public class TransformHistory extends Object
| Field Summary | |
|---|---|
| protected int | position
The current position in the stack. |
| protected List | transforms
The transform stack. |
| Method Summary | |
|---|---|
| void | back()
Goes back of one position in the history.
|
| boolean | canGoBack()
Whether it is possible to go back. |
| boolean | canGoForward()
Whether it is possible to go forward. |
| AffineTransform | currentTransform()
Returns the current transform. |
| void | forward()
Goes forward of one position in the history.
|
| void | update(AffineTransform at)
Adds a transform to the history. |