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: * Position constants.
12: */
13: public class Position {
14:
15: public static Position LEFT = new Position("left");
16: public static Position RIGHT = new Position("right");
17: public static Position CENTER = new Position("center");
18: public static Position TOP = new Position("top");
19: public static Position BOTTOM = new Position("bottom");
20: public static Position AUTO = new Position("auto");
21:
22: private String position;
23:
24: private Position(String position) {
25: this .position = position;
26: }
27:
28: public String getPosition() {
29: return position;
30: }
31: }
|