View Javadoc

1   /***
2    * 
3    */
4   package org.kite9.diagram.position;
5   
6   public enum VPos {
7   	
8   	
9   	UP, DOWN;
10  	
11  	
12  	
13  	public Direction getDirection() {
14  		if (this.ordinal()==0) {
15  			return Direction.UP;
16  		} else {
17  			return Direction.DOWN;
18  		}
19  	}
20  	
21  }