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