Revision 12224
trunk/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/WindowInfo.java | ||
---|---|---|
106 | 106 |
* JDesktopPane.PALETTE_LAYER |
107 | 107 |
*/ |
108 | 108 |
private boolean palette = false; |
109 |
|
|
110 |
private String additionalInfo = null; |
|
109 | 111 |
|
110 | 112 |
/** These properties store the dimension and position of the frame */ |
111 | 113 |
private int width = -1; |
... | ... | |
502 | 504 |
this.maximizable = vi.maximizable; |
503 | 505 |
this.isMaximized = vi.isMaximized; |
504 | 506 |
this.iconifiable = vi.iconifiable; |
507 |
this.additionalInfo = vi.additionalInfo; |
|
505 | 508 |
this.modal = vi.modal; |
506 | 509 |
this.modeless = vi.modeless; |
507 | 510 |
if (vi.width!=-1) |
... | ... | |
1008 | 1011 |
xml.putProperty("isModal", this.isModal(), false); |
1009 | 1012 |
xml.putProperty("isModeless", this.isModeless(), false); |
1010 | 1013 |
xml.putProperty("isClosed", this.isClosed(), false); |
1014 |
xml.putProperty("ParentName", this.getAdditionalInfo(), false); |
|
1011 | 1015 |
if (this.isMaximized()==true) { |
1012 | 1016 |
xml.putProperty("isMaximized", this.isMaximized(), false); |
1013 | 1017 |
xml.putProperty("normalX", this.getNormalX(), false); |
... | ... | |
1036 | 1040 |
result.setHeight(xml.getIntProperty("Height")); |
1037 | 1041 |
result.setWidth(xml.getIntProperty("Width")); |
1038 | 1042 |
result.setClosed(xml.getBooleanProperty("isClosed")); |
1043 |
result.setAdditionalInfo(xml.getStringProperty("AdditionalInfo")); |
|
1039 | 1044 |
if (xml.contains("isMaximized")) { |
1040 | 1045 |
boolean maximized = xml.getBooleanProperty("isMaximized"); |
1041 | 1046 |
result.setMaximized(maximized); |
... | ... | |
1067 | 1072 |
this.height = xml.getIntProperty("Height"); |
1068 | 1073 |
this.width = xml.getIntProperty("Width"); |
1069 | 1074 |
this.isClosed = xml.getBooleanProperty("isClosed"); |
1075 |
this.additionalInfo = xml.getStringProperty("AdditionalInfo"); |
|
1070 | 1076 |
if (xml.contains("isMaximized")) { |
1071 | 1077 |
boolean maximized = xml.getBooleanProperty("isMaximized"); |
1072 | 1078 |
this.isMaximized = maximized; |
... | ... | |
1075 | 1081 |
} |
1076 | 1082 |
} |
1077 | 1083 |
} |
1084 |
|
|
1085 |
/** |
|
1086 |
* Obtiene informaci?n adicional de la ventana. Esta etiqueta podr? llevar cualquier |
|
1087 |
* tipo de informaci?n que queramos almacenar. |
|
1088 |
* @return Informaci?n adicional |
|
1089 |
*/ |
|
1090 |
public String getAdditionalInfo() { |
|
1091 |
return additionalInfo; |
|
1092 |
} |
|
1093 |
|
|
1094 |
/** |
|
1095 |
* Asigna informaci?n adicional de la ventana. Esta etiqueta podr? llevar cualquier |
|
1096 |
* tipo de informaci?n que queramos almacenar. |
|
1097 |
* @return Informaci?n adicional |
|
1098 |
*/ |
|
1099 |
public void setAdditionalInfo(String additionalInfo) { |
|
1100 |
this.additionalInfo = additionalInfo; |
|
1101 |
} |
|
1102 |
|
|
1078 | 1103 |
} |
Also available in: Unified diff