1 29 30 package nextapp.echo2.app.layout; 31 32 import nextapp.echo2.app.Alignment; 33 import nextapp.echo2.app.FillImage; 34 import nextapp.echo2.app.Color; 35 import nextapp.echo2.app.Extent; 36 import nextapp.echo2.app.Insets; 37 import nextapp.echo2.app.LayoutData; 38 39 43 public class SplitPaneLayoutData 44 implements LayoutData { 45 46 public static final int OVERFLOW_AUTO = 0; 47 public static final int OVERFLOW_HIDDEN = 1; 48 public static final int OVERFLOW_SCROLL = 2; 49 50 private int overflow; 51 private Alignment alignment; 52 private Color background; 53 private Extent maximumSize; 54 private Extent minimumSize; 55 private FillImage backgroundImage; 56 private Insets insets; 57 58 63 public Alignment getAlignment() { 64 return alignment; 65 } 66 67 72 public Color getBackground() { 73 return background; 74 } 75 76 82 public FillImage getBackgroundImage() { 83 return backgroundImage; 84 } 85 86 93 public Insets getInsets() { 94 return insets; 95 } 96 97 104 public Extent getMaximumSize() { 105 return maximumSize; 106 } 107 108 115 public Extent getMinimumSize() { 116 return minimumSize; 117 } 118 119 130 public int getOverflow() { 131 return overflow; 132 } 133 134 139 public void setAlignment(Alignment newValue) { 140 alignment = newValue; 141 } 142 143 148 public void setBackground(Color newValue) { 149 background = newValue; 150 } 151 152 158 public void setBackgroundImage(FillImage newValue) { 159 backgroundImage = newValue; 160 } 161 162 169 public void setInsets(Insets newValue) { 170 insets = newValue; 171 } 172 173 180 public void setMaximumSize(Extent newValue) { 181 maximumSize = newValue; 182 } 183 184 191 public void setMinimumSize(Extent newValue) { 192 minimumSize = newValue; 193 } 194 195 206 public void setOverflow(int newValue) { 207 overflow = newValue; 208 } 209 } 210 | Popular Tags |