|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.apps.svgbrowser.TransformHistory
public class TransformHistory
This class implements a transform history mechanism.
Field Summary | |
---|---|
protected int |
position
The current position in the stack. |
protected java.util.List |
transforms
The transform stack. |
Constructor Summary | |
---|---|
TransformHistory()
|
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. |
java.awt.geom.AffineTransform |
currentTransform()
Returns the current transform. |
void |
forward()
Goes forward of one position in the history. |
void |
update(java.awt.geom.AffineTransform at)
Adds a transform to the history. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List transforms
protected int position
Constructor Detail |
---|
public TransformHistory()
Method Detail |
---|
public void back()
public boolean canGoBack()
public void forward()
public boolean canGoForward()
public java.awt.geom.AffineTransform currentTransform()
public void update(java.awt.geom.AffineTransform at)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |