01: /*
02: * MyGWT Widget Library
03: * Copyright(c) 2007, MyGWT.
04: * licensing@mygwt.net
05: *
06: * http://mygwt.net/license
07: */
08: package net.mygwt.ui.client.util;
09:
10: /**
11: * Represents a region in the coordinate system.
12: */
13: public class Region {
14:
15: /**
16: * The left value.
17: */
18: public int left;
19:
20: /**
21: * The top value.
22: */
23: public int top;
24:
25: /**
26: * The right value.
27: */
28: public int right;
29:
30: /**
31: * The bottom value.
32: */
33: public int bottom;
34:
35: public Region() {
36:
37: }
38:
39: public Region(int top, int right, int bottom, int left) {
40: this.left = left;
41: this.top = top;
42: this.right = right;
43: this.bottom = bottom;
44: }
45:
46: }
|