standup.clouds
Class HistoryCoordinator

java.lang.Object
  extended by standup.clouds.HistoryCoordinator

public class HistoryCoordinator
extends Object

Author:
Ruli Manurung

Field Summary
private  Milestone current
           
private  CloudFrontend frontend
           
private  Stack<Milestone> future
           
private  Stack<Milestone> history
           
 
Constructor Summary
HistoryCoordinator(CloudFrontend _m)
           
 
Method Summary
 void actionPerformed(Milestone m)
           
private  void clearFuture()
           
private  void clearHistory()
           
(package private)  void doProgressAnimation(AnimatorLock al, int direction)
           
(package private)  Milestone getCurrentMilestone()
           
(package private)  Stack<Milestone> getFuture()
           
(package private)  Stack<Milestone> getHistory()
           
(package private)  void goBack()
           
(package private)  void goForward()
           
private  boolean noFuture()
           
private  boolean noHistory()
           
private  Milestone popFuture()
           
private  Milestone popHistory()
           
(package private)  String printFuture()
           
(package private)  String printHistory()
           
private  void pushFuture(Milestone m)
           
private  void pushHistory(Milestone m)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

history

private Stack<Milestone> history

future

private Stack<Milestone> future

frontend

private CloudFrontend frontend

current

private Milestone current
Constructor Detail

HistoryCoordinator

HistoryCoordinator(CloudFrontend _m)
Method Detail

getCurrentMilestone

Milestone getCurrentMilestone()

getHistory

Stack<Milestone> getHistory()

getFuture

Stack<Milestone> getFuture()

noHistory

private boolean noHistory()

noFuture

private boolean noFuture()

popHistory

private Milestone popHistory()

popFuture

private Milestone popFuture()

pushHistory

private void pushHistory(Milestone m)

pushFuture

private void pushFuture(Milestone m)

clearHistory

private void clearHistory()

clearFuture

private void clearFuture()

printFuture

String printFuture()

printHistory

String printHistory()

reset

public void reset()

actionPerformed

public void actionPerformed(Milestone m)

doProgressAnimation

void doProgressAnimation(AnimatorLock al,
                         int direction)

goBack

void goBack()

goForward

void goForward()