|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.util.UndoableAdapter
org.jhotdraw.figures.FontSizeHandle.UndoActivity
Constructor Summary | |
FontSizeHandle.UndoActivity(DrawingView newView,
java.awt.Font newFont)
|
Method Summary | |
java.awt.Font |
getFont()
|
int |
getOldFontSize()
|
boolean |
redo()
Redo the activity |
protected void |
setFont(java.awt.Font newFont)
|
protected void |
setOldFontSize(int newOldFontSize)
|
protected void |
swapFont()
|
boolean |
undo()
Undo the activity |
Methods inherited from class org.jhotdraw.util.UndoableAdapter |
duplicateAffectedFigures, getAffectedFigures, getAffectedFiguresCount, getAffectedFiguresReversed, getDrawingView, isRedoable, isUndoable, release, rememberFigures, setAffectedFigures, setDrawingView, setRedoable, setUndoable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FontSizeHandle.UndoActivity(DrawingView newView, java.awt.Font newFont)
Method Detail |
public boolean undo()
UndoableAdapter
undo
in interface Undoable
undo
in class UndoableAdapter
public boolean redo()
UndoableAdapter
redo
in interface Undoable
redo
in class UndoableAdapter
protected void swapFont()
protected void setFont(java.awt.Font newFont)
public java.awt.Font getFont()
protected void setOldFontSize(int newOldFontSize)
public int getOldFontSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |