01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08: package com.gwtext.client.core;
09:
10: /**
11: * Direction constants.
12: */
13: public class Direction {
14:
15: public static Direction LEFT = new Direction("left");
16: public static Direction RIGHT = new Direction("right");
17: public static Direction TOP = new Direction("top");
18: public static Direction UP = new Direction("up");
19: public static Direction BOTTOM = new Direction("bottom");
20: public static Direction DOWN = new Direction("down");
21:
22: private String direction;
23:
24: private Direction(String position) {
25: this .direction = position;
26: }
27:
28: public String getDirection() {
29: return direction;
30: }
31: }
|