Action.java 475 B

123456789101112131415161718
  1. package algorithm;
  2. /**
  3. * An action some kind of command that can be send to the {@link Algorithm} from the {@link AnimationController}.
  4. * {@code FORWARD} tells the {@link Algorithm} to perform one more step in the layout process.
  5. * {@code BACKWARD} tells the {@link Algorithm} to undo the last step in the layout process.
  6. *
  7. * @author kolja
  8. *
  9. */
  10. public enum Action {
  11. FORWARD,
  12. FORWARD_OVER,
  13. FORWARD_OUT,
  14. BACKWARD,
  15. BACKWARD_OVER,
  16. BACKWARD_OUT
  17. }