public class HistoryStack extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
HistoryStack.EmptyAction |
| Constructor and Description |
|---|
HistoryStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(HistoryAction e) |
void |
addListener(HistoryListener listener) |
void |
back(int t) |
void |
clear() |
void |
forward(int t) |
int |
getCurrentRedoCount() |
int |
getCurrentUndoCount() |
HistoryAction |
getEvent(int i) |
List<HistoryAction> |
getHistory() |
int |
getSelectedIndex() |
void |
gotoEnd() |
void |
gotoTime(int t) |
void |
move(int t) |
void |
removeListener(HistoryListener listener) |
int |
size() |
public void addListener(HistoryListener listener)
listener - public void removeListener(HistoryListener listener)
listener - public List<HistoryAction> getHistory()
public void addEvent(HistoryAction e)
e - public HistoryAction getEvent(int i)
i - public void gotoTime(int t)
t - public void gotoEnd()
public void move(int t)
t - public void forward(int t)
t - public void back(int t)
t - public int getSelectedIndex()
public int getCurrentUndoCount()
public int getCurrentRedoCount()
public int size()
public void clear()
Copyright © 2011-2014. All Rights Reserved.