1 7 8 package org.gjt.jclasslib.mdi; 9 10 import java.util.List ; 11 12 18 public class MDIConfig { 19 20 private List internalFrameDescs; 21 private InternalFrameDesc activeFrameDesc; 22 23 27 public List getInternalFrameDescs() { 28 return internalFrameDescs; 29 } 30 31 35 public void setInternalFrameDescs(List internalFrameDescs) { 36 this.internalFrameDescs = internalFrameDescs; 37 } 38 39 43 public InternalFrameDesc getActiveFrameDesc() { 44 return activeFrameDesc; 45 } 46 47 51 public void setActiveFrameDesc(InternalFrameDesc activeFrameDesc) { 52 this.activeFrameDesc = activeFrameDesc; 53 } 54 55 58 public static class InternalFrameDesc { 59 60 private String className; 61 private Object initParam; 62 private int x; 63 private int y; 64 private int width; 65 private int height; 66 private boolean maximized; 67 private boolean iconified; 68 69 73 public String getClassName() { 74 return className; 75 } 76 77 81 public void setClassName(String className) { 82 this.className = className; 83 } 84 85 89 public Object getInitParam() { 90 return initParam; 91 } 92 93 97 public void setInitParam(Object initParam) { 98 this.initParam = initParam; 99 } 100 101 105 public int getX() { 106 return x; 107 } 108 109 113 public void setX(int x) { 114 this.x = x; 115 } 116 117 121 public int getY() { 122 return y; 123 } 124 125 129 public void setY(int y) { 130 this.y = y; 131 } 132 133 137 public int getWidth() { 138 return width; 139 } 140 141 145 public void setWidth(int width) { 146 this.width = width; 147 } 148 149 153 public int getHeight() { 154 return height; 155 } 156 157 161 public void setHeight(int height) { 162 this.height = height; 163 } 164 165 169 public boolean isMaximized() { 170 return maximized; 171 } 172 173 177 public void setMaximized(boolean maximized) { 178 this.maximized = maximized; 179 } 180 181 185 public boolean isIconified() { 186 return iconified; 187 } 188 189 193 public void setIconified(boolean iconified) { 194 this.iconified = iconified; 195 } 196 } 197 198 } 199 | Popular Tags |