KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectstyle > cayenne > modeler > pref > _ComponentGeometry


1 package org.objectstyle.cayenne.modeler.pref;
2
3 /** Class _ComponentGeometry was generated by Cayenne.
4   * It is probably a good idea to avoid changing this class manually,
5   * since it may be overwritten next time code is regenerated.
6   * If you need to make any customizations, please use subclass.
7   */

8 public class _ComponentGeometry extends org.objectstyle.cayenne.pref.PreferenceDetail {
9
10     public static final String JavaDoc HEIGHT_PROPERTY = "height";
11     public static final String JavaDoc WIDTH_PROPERTY = "width";
12     public static final String JavaDoc X_PROPERTY = "x";
13     public static final String JavaDoc Y_PROPERTY = "y";
14
15     public static final String JavaDoc ID_PK_COLUMN = "id";
16
17     public void setHeight(Integer JavaDoc height) {
18         writeProperty("height", height);
19     }
20     public Integer JavaDoc getHeight() {
21         return (Integer JavaDoc)readProperty("height");
22     }
23     
24     
25     public void setWidth(Integer JavaDoc width) {
26         writeProperty("width", width);
27     }
28     public Integer JavaDoc getWidth() {
29         return (Integer JavaDoc)readProperty("width");
30     }
31     
32     
33     public void setX(Integer JavaDoc x) {
34         writeProperty("x", x);
35     }
36     public Integer JavaDoc getX() {
37         return (Integer JavaDoc)readProperty("x");
38     }
39     
40     
41     public void setY(Integer JavaDoc y) {
42         writeProperty("y", y);
43     }
44     public Integer JavaDoc getY() {
45         return (Integer JavaDoc)readProperty("y");
46     }
47     
48     
49 }
50
Popular Tags