1 29 30 package nextapp.echo2.app; 31 32 42 public class Column extends Component { 43 44 public static final String PROPERTY_BORDER = "border"; 45 public static final String PROPERTY_CELL_SPACING = "cellSpacing"; 46 public static final String PROPERTY_INSETS = "insets"; 47 48 51 public Column() { 52 super(); 53 } 54 55 60 public Border getBorder() { 61 return (Border) getProperty(PROPERTY_BORDER); 62 } 63 64 71 public Extent getCellSpacing() { 72 return (Extent) getProperty(PROPERTY_CELL_SPACING); 73 } 74 75 82 public Insets getInsets() { 83 return (Insets) getProperty(PROPERTY_INSETS); 84 } 85 86 91 public void setBorder(Border newValue) { 92 setProperty(PROPERTY_BORDER, newValue); 93 } 94 95 102 public void setCellSpacing(Extent newValue) { 103 setProperty(PROPERTY_CELL_SPACING, newValue); 104 } 105 106 113 public void setInsets(Insets newValue) { 114 setProperty(PROPERTY_INSETS, newValue); 115 } 116 } 117 | Popular Tags |