Revision 1916
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.legend.heatmap.swing.api.HeatmapLegendSwingLibrary |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.api/src/main/java/org/gvsig/legend/heatmap/swing/api/HeatmapLegendSwingLocator.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.legend.heatmap.swing.api; |
|
24 |
|
|
25 |
import org.gvsig.tools.locator.AbstractLocator; |
|
26 |
import org.gvsig.tools.locator.Locator; |
|
27 |
import org.gvsig.tools.locator.LocatorException; |
|
28 |
|
|
29 |
|
|
30 |
public class HeatmapLegendSwingLocator extends AbstractLocator { |
|
31 |
|
|
32 |
private static final String LOCATOR_NAME = "HeatmapLegendSwingLocator"; |
|
33 |
|
|
34 |
public static final String MANAGER_NAME = "HeatmapLegendSwingManager"; |
|
35 |
|
|
36 |
private static final String MANAGER_DESCRIPTION = |
|
37 |
"Swing Heatmap Manager of gvSIG"; |
|
38 |
|
|
39 |
|
|
40 |
/** |
|
41 |
* Unique instance |
|
42 |
*/ |
|
43 |
private static final HeatmapLegendSwingLocator instance = new HeatmapLegendSwingLocator(); |
|
44 |
|
|
45 |
|
|
46 |
@Override |
|
47 |
public String getLocatorName() { |
|
48 |
return LOCATOR_NAME; |
|
49 |
} |
|
50 |
|
|
51 |
|
|
52 |
/** |
|
53 |
* Registers the Class implementing the HeatmapSwingManager interface. |
|
54 |
* |
|
55 |
* @param clazz |
|
56 |
* implementing the HeatmapSwingManager interface |
|
57 |
*/ |
|
58 |
public static void registerHeatmapLegendSwingManager(Class clazz){ |
|
59 |
getInstance().register(MANAGER_NAME, MANAGER_DESCRIPTION, clazz); |
|
60 |
} |
|
61 |
|
|
62 |
/** |
|
63 |
* Registers the default Class implementing the HeatmapSwingManager interface |
|
64 |
* |
|
65 |
* @param clazz |
|
66 |
* implementing the HeatmapSwingManager interface |
|
67 |
*/ |
|
68 |
public static void registerDefaultHeatmapLegendSwingManager(Class clazz){ |
|
69 |
getInstance().registerDefault(MANAGER_NAME, MANAGER_DESCRIPTION, clazz); |
|
70 |
} |
|
71 |
|
|
72 |
/** |
|
73 |
* Return a reference to HeatmapLegendSwingManager. |
|
74 |
* |
|
75 |
* @return a reference to HeatmapLegendSwingManager |
|
76 |
* @throws LocatorException |
|
77 |
* if there is no access to the class or the class |
|
78 |
* cannot be instantiated |
|
79 |
* @see Locator#get(String) |
|
80 |
*/ |
|
81 |
public static HeatmapLegendSwingManager getHeatmapLegendSwingManager() throws LocatorException { |
|
82 |
return (HeatmapLegendSwingManager)(getInstance().get(MANAGER_NAME)); |
|
83 |
} |
|
84 |
|
|
85 |
/** |
|
86 |
* @return |
|
87 |
*/ |
|
88 |
public static Locator getInstance() { |
|
89 |
return instance; |
|
90 |
} |
|
91 |
|
|
92 |
} |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.api/src/main/java/org/gvsig/legend/heatmap/swing/api/HeatmapLegendSwingLibrary.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.legend.heatmap.swing.api; |
|
24 |
|
|
25 |
import org.gvsig.legend.heatmap.lib.api.HeatmapLegendLibrary; |
|
26 |
import org.gvsig.tools.library.AbstractLibrary; |
|
27 |
import org.gvsig.tools.library.LibraryException; |
|
28 |
import org.gvsig.tools.locator.ReferenceNotRegisteredException; |
|
29 |
import org.slf4j.Logger; |
|
30 |
import org.slf4j.LoggerFactory; |
|
31 |
|
|
32 |
|
|
33 |
public class HeatmapLegendSwingLibrary extends AbstractLibrary { |
|
34 |
|
|
35 |
private static final Logger LOG = LoggerFactory.getLogger(HeatmapLegendSwingLibrary.class); |
|
36 |
|
|
37 |
@Override |
|
38 |
protected void doInitialize() throws LibraryException { |
|
39 |
registerAsAPI(HeatmapLegendSwingLibrary.class); |
|
40 |
require(HeatmapLegendLibrary.class); |
|
41 |
} |
|
42 |
|
|
43 |
@Override |
|
44 |
protected void doPostInitialize() throws LibraryException { |
|
45 |
// Validate there is any implementation registered. |
|
46 |
HeatmapLegendSwingManager manager = HeatmapLegendSwingLocator.getHeatmapLegendSwingManager(); |
|
47 |
if (manager == null) { |
|
48 |
throw new ReferenceNotRegisteredException( |
|
49 |
HeatmapLegendSwingLocator.MANAGER_NAME, HeatmapLegendSwingLocator.getInstance()); |
|
50 |
} |
|
51 |
} |
|
52 |
|
|
53 |
|
|
54 |
} |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.api/src/main/java/org/gvsig/legend/heatmap/swing/api/HeatmapLegendSwingManager.java | ||
---|---|---|
1 |
/* gvSIG. Desktop Geographic Information System. |
|
2 |
* |
|
3 |
* Copyright ? 2007-2015 gvSIG Association |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
18 |
* MA 02110-1301, USA. |
|
19 |
* |
|
20 |
* For any additional information, do not hesitate to contact us |
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
22 |
*/ |
|
23 |
package org.gvsig.legend.heatmap.swing.api; |
|
24 |
|
|
25 |
public interface HeatmapLegendSwingManager { |
|
26 |
|
|
27 |
public HeatmapLegendEditor createHeatmapdLegendEditor(); |
|
28 |
} |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.api/src/main/java/org/gvsig/legend/heatmap/swing/api/HeatmapLegendEditor.java | ||
---|---|---|
1 |
|
|
2 |
package org.gvsig.legend.heatmap.swing.api; |
|
3 |
|
|
4 |
import org.gvsig.app.project.documents.view.legend.gui.ILegendPanel; |
|
5 |
|
|
6 |
|
|
7 |
public interface HeatmapLegendEditor extends ILegendPanel { |
|
8 |
|
|
9 |
} |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.api/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<parent> |
|
4 |
<groupId>org.gvsig</groupId> |
|
5 |
<artifactId>org.gvsig.legend.heatmap.swing</artifactId> |
|
6 |
<version>1.0.4</version> |
|
7 |
</parent> |
|
8 |
<groupId>org.gvsig</groupId> |
|
9 |
<artifactId>org.gvsig.legend.heatmap.swing.api</artifactId> |
|
10 |
<name>org.gvsig.legend.heatmap.swing.api</name> |
|
11 |
<dependencies> |
|
12 |
<dependency> |
|
13 |
<groupId>org.gvsig</groupId> |
|
14 |
<artifactId>org.gvsig.tools.swing.api</artifactId> |
|
15 |
<scope>compile</scope> |
|
16 |
</dependency> |
|
17 |
<dependency> |
|
18 |
<groupId>org.gvsig</groupId> |
|
19 |
<artifactId>org.gvsig.legend.heatmap.lib.api</artifactId> |
|
20 |
<scope>compile</scope> |
|
21 |
</dependency> |
|
22 |
<dependency> |
|
23 |
<groupId>org.gvsig</groupId> |
|
24 |
<artifactId>org.gvsig.symbology.swing.api</artifactId> |
|
25 |
<version>2.0.199</version> |
|
26 |
<type>jar</type> |
|
27 |
</dependency> |
|
28 |
</dependencies> |
|
29 |
</project> |
|
0 | 30 |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.legend.heatmap.swing.impl.HeatmapLegendSwingLibrary |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.impl/src/main/java/org/gvsig/legend/heatmap/swing/impl/DefaultHeatmapLegendEditor.java | ||
---|---|---|
1 |
|
|
2 |
package org.gvsig.legend.heatmap.swing.impl; |
|
3 |
|
|
4 |
import java.awt.Color; |
|
5 |
import javax.swing.AbstractButton; |
|
6 |
import javax.swing.ImageIcon; |
|
7 |
import javax.swing.JFormattedTextField; |
|
8 |
import javax.swing.JLabel; |
|
9 |
import javax.swing.JPanel; |
|
10 |
import javax.swing.event.ChangeEvent; |
|
11 |
import javax.swing.event.ChangeListener; |
|
12 |
import org.apache.commons.lang3.StringUtils; |
|
13 |
import org.gvsig.app.gui.styling.ColorSchemeSelector; |
|
14 |
import org.gvsig.app.project.documents.view.legend.gui.Features; |
|
15 |
import org.gvsig.fmap.dal.exception.DataException; |
|
16 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
|
17 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
18 |
import org.gvsig.fmap.dal.feature.FeatureType; |
|
19 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
|
20 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
|
21 |
import org.gvsig.fmap.mapcontext.rendering.legend.ILegend; |
|
22 |
import org.gvsig.legend.heatmap.lib.api.HeatmapLegend; |
|
23 |
import org.gvsig.legend.heatmap.lib.api.HeatmapLegendLocator; |
|
24 |
import org.gvsig.legend.heatmap.swing.api.HeatmapLegendEditor; |
|
25 |
import org.gvsig.tools.ToolsLocator; |
|
26 |
import org.gvsig.tools.i18n.I18nManager; |
|
27 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
|
28 |
import org.gvsig.tools.swing.api.ToolsSwingManager; |
|
29 |
import org.gvsig.tools.swing.api.ColorChooserController; |
|
30 |
import org.gvsig.tools.swing.icontheme.IconTheme; |
|
31 |
|
|
32 |
|
|
33 |
public class DefaultHeatmapLegendEditor extends DefaultHeatmapLegendEditorView implements HeatmapLegendEditor { |
|
34 |
|
|
35 |
private static final long serialVersionUID = 4307714097793669675L; |
|
36 |
|
|
37 |
private HeatmapLegend legend; |
|
38 |
private FLayer layer; |
|
39 |
private final Class<? extends HeatmapLegend> legendClass; |
|
40 |
private ColorChooserController hotColorChooser; |
|
41 |
private ColorChooserController coldColorChooser; |
|
42 |
private ColorSchemeSelector colorSchemaSelector; |
|
43 |
|
|
44 |
public DefaultHeatmapLegendEditor() { |
|
45 |
this.legendClass = HeatmapLegendLocator.getHeatmapLegendManager().getLegendClass(); |
|
46 |
initComponents(); |
|
47 |
} |
|
48 |
|
|
49 |
private void initComponents(){ |
|
50 |
ToolsSwingManager toolsSwingManager = ToolsSwingLocator.getToolsSwingManager(); |
|
51 |
this.hotColorChooser = toolsSwingManager.createColorChooserController(txtHotColorLabel, btnHotColor, sldHotColorAlpha); |
|
52 |
this.coldColorChooser = toolsSwingManager.createColorChooserController(txtColdColorLabel, btnColdColor, sldColdColorAlpha); |
|
53 |
this.colorSchemaSelector = new ColorSchemeSelector(cboColorTable, false); |
|
54 |
this.rdbUseColorRamp.addChangeListener(new ChangeListener() { |
|
55 |
@Override |
|
56 |
public void stateChanged(ChangeEvent e) { |
|
57 |
useColorModeChanged(); |
|
58 |
} |
|
59 |
}); |
|
60 |
this.chkUseField.addChangeListener(new ChangeListener() { |
|
61 |
@Override |
|
62 |
public void stateChanged(ChangeEvent e) { |
|
63 |
useFieldChanged(); |
|
64 |
} |
|
65 |
}); |
|
66 |
this.chkColorTableUseAlpha.addChangeListener(new ChangeListener() { |
|
67 |
@Override |
|
68 |
public void stateChanged(ChangeEvent e) { |
|
69 |
useAlphaInColorTableChanged(); |
|
70 |
} |
|
71 |
}); |
|
72 |
translateAll(); |
|
73 |
} |
|
74 |
|
|
75 |
private void translateAll() { |
|
76 |
this.translate(this.lblDistance); |
|
77 |
this.translate(this.lblPixels); |
|
78 |
this.translate(this.rdbUseColorRamp); |
|
79 |
this.translate(this.lblNumberOfColors); |
|
80 |
this.translate(this.lblHotColor); |
|
81 |
this.translate(this.lblHotColorAlpha); |
|
82 |
this.translate(this.lblColdColor); |
|
83 |
this.translate(this.lblColdColorAlpha); |
|
84 |
this.translate(this.rdbUseColorTable); |
|
85 |
this.translate(this.lblColorTable); |
|
86 |
this.translate(this.chkColorTableUseAlpha); |
|
87 |
this.translate(this.lblHotColorTransparency); |
|
88 |
this.translate(this.lblColdColorTransparency); |
|
89 |
this.translate(this.chkUseField); |
|
90 |
} |
|
91 |
|
|
92 |
private void translate(AbstractButton component) { |
|
93 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
94 |
component.setText(i18n.getTranslation(component.getText())); |
|
95 |
} |
|
96 |
|
|
97 |
private void translate(JLabel component) { |
|
98 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
99 |
component.setText(i18n.getTranslation(component.getText())); |
|
100 |
} |
|
101 |
|
|
102 |
@Override |
|
103 |
public void setData(FLayer layer, ILegend legend) { |
|
104 |
if( layer == this.layer && legend == this.legend ) { |
|
105 |
return; |
|
106 |
} |
|
107 |
this.layer = layer; |
|
108 |
if( this.getLegendClass().isInstance(legend) ) { |
|
109 |
this.legend = (HeatmapLegend) legend; |
|
110 |
} else { |
|
111 |
this.legend = HeatmapLegendLocator.getHeatmapLegendManager().create(); |
|
112 |
} |
|
113 |
this.spnDistance.setValue(this.legend.getDistance()); |
|
114 |
if( this.legend.useRamp() ) { |
|
115 |
this.rdbUseColorRamp.setSelected(true); |
|
116 |
} else { |
|
117 |
this.rdbUseColorTable.setSelected(true); |
|
118 |
} |
|
119 |
if( this.legend.useAlphaInColorTable() ) { |
|
120 |
this.chkColorTableUseAlpha.setSelected(true); |
|
121 |
this.coldColorChooser.set(this.legend.getRampColdColor()); |
|
122 |
this.hotColorChooser.set(this.legend.getRampHotColor()); |
|
123 |
this.spnNumberOfColors.setValue(this.legend.getRampNumColors()); |
|
124 |
|
|
125 |
} else { |
|
126 |
this.chkColorTableUseAlpha.setSelected(false); |
|
127 |
} |
|
128 |
this.sldColorTableColdAlpha.setValue(this.legend.getColorTableColdColorAlpha()); |
|
129 |
this.sldColorTableHotAlpha.setValue(this.legend.getColorTableHotColorAlpha()); |
|
130 |
|
|
131 |
|
|
132 |
this.chkUseField.setEnabled(false); |
|
133 |
this.chkUseField.setSelected(false); |
|
134 |
this.cboFields.setEnabled(false); |
|
135 |
this.cboFields.removeAllItems(); |
|
136 |
if( layer instanceof FLyrVect ) { |
|
137 |
FeatureStore store = ((FLyrVect) layer).getFeatureStore(); |
|
138 |
if( store != null ) { |
|
139 |
try { |
|
140 |
FeatureType ftype = store.getDefaultFeatureType(); |
|
141 |
for( FeatureAttributeDescriptor attr : ftype ) { |
|
142 |
this.cboFields.addItem(attr.getName()); |
|
143 |
} |
|
144 |
if( this.cboFields.getItemCount()>0 ) { |
|
145 |
this.chkUseField.setEnabled(true); |
|
146 |
if( !StringUtils.isEmpty(this.legend.getFieldName()) ) { |
|
147 |
this.chkUseField.setSelected(true); |
|
148 |
this.cboFields.setSelectedItem(this.legend.getFieldName()); |
|
149 |
this.cboFields.setEnabled(true); |
|
150 |
} |
|
151 |
} |
|
152 |
} catch (Exception ex) { |
|
153 |
|
|
154 |
} |
|
155 |
} |
|
156 |
} |
|
157 |
} |
|
158 |
|
|
159 |
private void useColorModeChanged() { |
|
160 |
if( this.rdbUseColorRamp.isSelected() ) { |
|
161 |
this.hotColorChooser.setEnabled(true); |
|
162 |
this.coldColorChooser.setEnabled(true); |
|
163 |
this.spnNumberOfColors.setEnabled(true); |
|
164 |
this.cboColorTable.setEnabled(false); |
|
165 |
this.chkColorTableUseAlpha.setEnabled(false); |
|
166 |
this.sldColorTableColdAlpha.setEnabled(false); |
|
167 |
this.sldColorTableHotAlpha.setEnabled(false); |
|
168 |
this.spnNumberOfColors.setValue(this.legend.getRampNumColors()); |
|
169 |
this.coldColorChooser.set(this.legend.getRampColdColor()); |
|
170 |
this.hotColorChooser.set(this.legend.getRampHotColor()); |
|
171 |
} else { |
|
172 |
this.hotColorChooser.setEnabled(false); |
|
173 |
this.coldColorChooser.setEnabled(false); |
|
174 |
this.spnNumberOfColors.setEnabled(false); |
|
175 |
this.cboColorTable.setEnabled(true); |
|
176 |
this.chkColorTableUseAlpha.setEnabled(true); |
|
177 |
this.sldColorTableColdAlpha.setEnabled(true); |
|
178 |
this.sldColorTableHotAlpha.setEnabled(true); |
|
179 |
this.colorSchemaSelector.setSelectedColors(this.legend.getSourceColorTable()); |
|
180 |
} |
|
181 |
} |
|
182 |
|
|
183 |
private void useFieldChanged() { |
|
184 |
this.cboFields.setEnabled(this.chkUseField.isSelected()); |
|
185 |
} |
|
186 |
|
|
187 |
private void useAlphaInColorTableChanged() { |
|
188 |
boolean x = this.chkColorTableUseAlpha.isSelected(); |
|
189 |
this.sldColorTableColdAlpha.setEnabled(x); |
|
190 |
this.sldColorTableHotAlpha.setEnabled(x); |
|
191 |
} |
|
192 |
|
|
193 |
@Override |
|
194 |
public ILegend getLegend() { |
|
195 |
legend.setDistance((int) spnDistance.getValue()); |
|
196 |
if( this.rdbUseColorRamp.isSelected() ) { |
|
197 |
legend.setColorTable( |
|
198 |
(int) spnNumberOfColors.getValue(), |
|
199 |
coldColorChooser.get(), |
|
200 |
hotColorChooser.get() |
|
201 |
); |
|
202 |
} else { |
|
203 |
legend.setColorTable( this.colorSchemaSelector.getSelectedColors()); |
|
204 |
} |
|
205 |
if( this.chkUseField.isSelected() ) { |
|
206 |
String fieldName = (String) this.cboFields.getSelectedItem(); |
|
207 |
if( fieldName != null ) { |
|
208 |
this.legend.setFieldName(fieldName); |
|
209 |
} |
|
210 |
} |
|
211 |
this.legend.setColorTableColdColorAlpha(this.sldColorTableColdAlpha.getValue()); |
|
212 |
this.legend.setColorTableHotColorAlpha(this.sldColorTableHotAlpha.getValue()); |
|
213 |
this.legend.setUseAlphaInColorTable(this.chkColorTableUseAlpha.isSelected()); |
|
214 |
|
|
215 |
return legend; |
|
216 |
} |
|
217 |
|
|
218 |
@Override |
|
219 |
public String getDescription() { |
|
220 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
221 |
return i18n.getTranslation( "_Heatmap_legend_description"); |
|
222 |
} |
|
223 |
|
|
224 |
@Override |
|
225 |
public ImageIcon getIcon() { |
|
226 |
IconTheme theme = ToolsSwingLocator.getIconThemeManager().getCurrent(); |
|
227 |
return theme.get("legend-overview-vectorial-heatmap"); |
|
228 |
} |
|
229 |
|
|
230 |
@Override |
|
231 |
public Class getParentClass() { |
|
232 |
return Features.class; |
|
233 |
} |
|
234 |
|
|
235 |
@Override |
|
236 |
public String getTitle() { |
|
237 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
238 |
return i18n.getTranslation( "_Heatmap_legend"); |
|
239 |
} |
|
240 |
|
|
241 |
@Override |
|
242 |
public JPanel getPanel() { |
|
243 |
return this; |
|
244 |
} |
|
245 |
|
|
246 |
@Override |
|
247 |
public Class getLegendClass() { |
|
248 |
return this.legendClass; |
|
249 |
} |
|
250 |
|
|
251 |
@Override |
|
252 |
public boolean isSuitableFor(FLayer layer) { |
|
253 |
return true; |
|
254 |
} |
|
255 |
|
|
256 |
private int getIntValue(JFormattedTextField text, int defaultValue) { |
|
257 |
String s = text.getText(); |
|
258 |
if( StringUtils.isEmpty(s) ) { |
|
259 |
return defaultValue; |
|
260 |
} |
|
261 |
int value = defaultValue; |
|
262 |
try { |
|
263 |
value = Integer.parseInt(s); |
|
264 |
} catch(Throwable th) { |
|
265 |
|
|
266 |
} |
|
267 |
return value; |
|
268 |
} |
|
269 |
|
|
270 |
} |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.impl/src/main/java/org/gvsig/legend/heatmap/swing/impl/HeatmapLegendSwingLibrary.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright ? 2007-2015 gvSIG Association |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
|
|
25 |
package org.gvsig.legend.heatmap.swing.impl; |
|
26 |
|
|
27 |
import org.gvsig.legend.heatmap.swing.api.HeatmapLegendSwingLocator; |
|
28 |
import org.gvsig.symbology.swing.SymbologySwingLibrary; |
|
29 |
import org.gvsig.symbology.swing.SymbologySwingLocator; |
|
30 |
import org.gvsig.symbology.swing.SymbologySwingManager; |
|
31 |
import org.gvsig.tools.library.AbstractLibrary; |
|
32 |
import org.gvsig.tools.library.LibraryException; |
|
33 |
|
|
34 |
|
|
35 |
public class HeatmapLegendSwingLibrary extends AbstractLibrary { |
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
@Override |
|
40 |
public void doRegistration() { |
|
41 |
registerAsImplementationOf(HeatmapLegendSwingLibrary.class); |
|
42 |
require(SymbologySwingLibrary.class); |
|
43 |
} |
|
44 |
|
|
45 |
@Override |
|
46 |
protected void doInitialize() throws LibraryException { |
|
47 |
HeatmapLegendSwingLocator.registerHeatmapLegendSwingManager(DefaultHeatmapLegendSwingManager.class); |
|
48 |
} |
|
49 |
|
|
50 |
@Override |
|
51 |
protected void doPostInitialize() throws LibraryException { |
|
52 |
SymbologySwingManager symmnager = SymbologySwingLocator.getSwingManager(); |
|
53 |
symmnager.registerLegendEditor(DefaultHeatmapLegendEditor.class); |
|
54 |
} |
|
55 |
|
|
56 |
} |
org.gvsig.legend.heatmap/tags/org.gvsig.legend.heatmap-1.0.4/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.impl/src/main/java/org/gvsig/legend/heatmap/swing/impl/DefaultHeatmapLegendEditorView.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<object classname="com.jeta.forms.store.memento.FormPackage"> |
|
4 |
<at name="fileversion"> |
|
5 |
<object classname="com.jeta.forms.store.memento.FormsVersion2"> |
|
6 |
<at name="major">2</at> |
|
7 |
<at name="minor">0</at> |
|
8 |
<at name="sub">0</at> |
|
9 |
</object> |
|
10 |
</at> |
|
11 |
<at name="form"> |
|
12 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
13 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
14 |
<at name="cellconstraints"> |
|
15 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
16 |
<at name="column">1</at> |
|
17 |
<at name="row">1</at> |
|
18 |
<at name="colspan">1</at> |
|
19 |
<at name="rowspan">1</at> |
|
20 |
<at name="halign">default</at> |
|
21 |
<at name="valign">default</at> |
|
22 |
<at name="insets" object="insets">0,0,0,0</at> |
|
23 |
</object> |
|
24 |
</at> |
|
25 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
26 |
</super> |
|
27 |
<at name="id">/home/jjdelcerro/data/devel/org.gvsig.legend.heatmap/org.gvsig.legend.heatmap.swing/org.gvsig.legend.heatmap.swing.impl/src/main/java/org/gvsig/legend/heatmap/swing/impl/DefaultHeatmapLegendEditorView.xml</at> |
|
28 |
<at name="rowspecs">CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE</at> |
|
29 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
|
30 |
<at name="components"> |
|
31 |
<object classname="java.util.LinkedList"> |
|
32 |
<item > |
|
33 |
<at name="value"> |
|
34 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
35 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
36 |
<at name="cellconstraints"> |
|
37 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
38 |
<at name="column">4</at> |
|
39 |
<at name="row">2</at> |
|
40 |
<at name="colspan">1</at> |
|
41 |
<at name="rowspan">1</at> |
|
42 |
<at name="halign">default</at> |
|
43 |
<at name="valign">default</at> |
|
44 |
<at name="insets" object="insets">0,0,0,0</at> |
|
45 |
</object> |
|
46 |
</at> |
|
47 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
48 |
</super> |
|
49 |
<at name="id">embedded.1761555303</at> |
|
50 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
|
51 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
|
52 |
<at name="components"> |
|
53 |
<object classname="java.util.LinkedList"> |
|
54 |
<item > |
|
55 |
<at name="value"> |
|
56 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
57 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
58 |
<at name="cellconstraints"> |
|
59 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
60 |
<at name="column">3</at> |
|
61 |
<at name="row">1</at> |
|
62 |
<at name="colspan">1</at> |
|
63 |
<at name="rowspan">1</at> |
|
64 |
<at name="halign">default</at> |
|
65 |
<at name="valign">default</at> |
|
66 |
<at name="insets" object="insets">0,0,0,0</at> |
|
67 |
</object> |
|
68 |
</at> |
|
69 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
70 |
</super> |
|
71 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
72 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
73 |
<at name="beanproperties"> |
|
74 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
75 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
76 |
<at name="properties"> |
|
77 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
78 |
<at name="border"> |
|
79 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
80 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
81 |
<at name="name">border</at> |
|
82 |
</super> |
|
83 |
<at name="borders"> |
|
84 |
<object classname="java.util.LinkedList"> |
|
85 |
<item > |
|
86 |
<at name="value"> |
|
87 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
88 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
89 |
<at name="name">border</at> |
|
90 |
</super> |
|
91 |
</object> |
|
92 |
</at> |
|
93 |
</item> |
|
94 |
</object> |
|
95 |
</at> |
|
96 |
</object> |
|
97 |
</at> |
|
98 |
<at name="name">lblPixels</at> |
|
99 |
<at name="width">33</at> |
|
100 |
<at name="text">pixels</at> |
|
101 |
<at name="fill"> |
|
102 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
103 |
<at name="name">fill</at> |
|
104 |
</object> |
|
105 |
</at> |
|
106 |
<at name="height">14</at> |
|
107 |
</object> |
|
108 |
</at> |
|
109 |
</object> |
|
110 |
</at> |
|
111 |
</object> |
|
112 |
</at> |
|
113 |
</item> |
|
114 |
<item > |
|
115 |
<at name="value"> |
|
116 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
117 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
118 |
<at name="cellconstraints"> |
|
119 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
120 |
<at name="column">1</at> |
|
121 |
<at name="row">1</at> |
|
122 |
<at name="colspan">1</at> |
|
123 |
<at name="rowspan">1</at> |
|
124 |
<at name="halign">default</at> |
|
125 |
<at name="valign">default</at> |
|
126 |
<at name="insets" object="insets">0,0,0,0</at> |
|
127 |
</object> |
|
128 |
</at> |
|
129 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
130 |
</super> |
|
131 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
132 |
<at name="beanclass">javax.swing.JSpinner</at> |
|
133 |
<at name="beanproperties"> |
|
134 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
135 |
<at name="classname">javax.swing.JSpinner</at> |
|
136 |
<at name="properties"> |
|
137 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
138 |
<at name="name">spnDistance</at> |
|
139 |
<at name="width">726</at> |
|
140 |
<at name="height">20</at> |
|
141 |
</object> |
|
142 |
</at> |
|
143 |
</object> |
|
144 |
</at> |
|
145 |
</object> |
|
146 |
</at> |
|
147 |
</item> |
|
148 |
</object> |
|
149 |
</at> |
|
150 |
<at name="properties"> |
|
151 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
152 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
153 |
<at name="properties"> |
|
154 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
155 |
<at name="border"> |
|
156 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
157 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
158 |
<at name="name">border</at> |
|
159 |
</super> |
|
160 |
<at name="borders"> |
|
161 |
<object classname="java.util.LinkedList"/> |
|
162 |
</at> |
|
163 |
</object> |
|
164 |
</at> |
|
165 |
<at name="name"/> |
|
166 |
<at name="fill"> |
|
167 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
168 |
<at name="name">fill</at> |
|
169 |
</object> |
|
170 |
</at> |
|
171 |
<at name="scollBars"> |
|
172 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
173 |
<at name="name">scollBars</at> |
|
174 |
<at name="verticalpolicy">21</at> |
|
175 |
<at name="horizontalpolicy">31</at> |
|
176 |
<at name="border"> |
|
177 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
178 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
179 |
<at name="name">border</at> |
|
180 |
</super> |
|
181 |
<at name="borders"> |
|
182 |
<object classname="java.util.LinkedList"> |
|
183 |
<item > |
|
184 |
<at name="value"> |
|
185 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
186 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
187 |
<at name="name">border</at> |
|
188 |
</super> |
|
189 |
</object> |
|
190 |
</at> |
|
191 |
</item> |
|
192 |
</object> |
|
193 |
</at> |
|
194 |
</object> |
|
195 |
</at> |
|
196 |
</object> |
|
197 |
</at> |
|
198 |
</object> |
|
199 |
</at> |
|
200 |
</object> |
|
201 |
</at> |
|
202 |
<at name="cellpainters"> |
|
203 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
204 |
<at name="rows"> |
|
205 |
<object classname="[Ljava.lang.Object;" size="1"> |
|
206 |
<at name="item" index="0"> |
|
207 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
208 |
</at> |
|
209 |
</object> |
|
210 |
</at> |
|
211 |
</object> |
|
212 |
</at> |
|
213 |
<at name="rowgroups"> |
|
214 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
215 |
<at name="groups"> |
|
216 |
<object classname="java.util.HashMap"/> |
|
217 |
</at> |
|
218 |
</object> |
|
219 |
</at> |
|
220 |
<at name="colgroups"> |
|
221 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
222 |
<at name="groups"> |
|
223 |
<object classname="java.util.HashMap"/> |
|
224 |
</at> |
|
225 |
</object> |
|
226 |
</at> |
|
227 |
</object> |
|
228 |
</at> |
|
229 |
</item> |
|
230 |
<item > |
|
231 |
<at name="value"> |
|
232 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
233 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
234 |
<at name="cellconstraints"> |
|
235 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
236 |
<at name="column">2</at> |
|
237 |
<at name="row">4</at> |
|
238 |
<at name="colspan">1</at> |
|
239 |
<at name="rowspan">1</at> |
|
240 |
<at name="halign">default</at> |
|
241 |
<at name="valign">default</at> |
|
242 |
<at name="insets" object="insets">0,0,0,0</at> |
|
243 |
</object> |
|
244 |
</at> |
|
245 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
246 |
</super> |
|
247 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
248 |
<at name="beanclass">javax.swing.JRadioButton</at> |
|
249 |
<at name="beanproperties"> |
|
250 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
251 |
<at name="classname">javax.swing.JRadioButton</at> |
|
252 |
<at name="properties"> |
|
253 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
254 |
<at name="border"> |
|
255 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
256 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
257 |
<at name="name">border</at> |
|
258 |
</super> |
|
259 |
<at name="borders"> |
|
260 |
<object classname="java.util.LinkedList"> |
|
261 |
<item > |
|
262 |
<at name="value"> |
|
263 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
264 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
265 |
<at name="name">border</at> |
|
266 |
</super> |
|
267 |
</object> |
|
268 |
</at> |
|
269 |
</item> |
|
270 |
</object> |
|
271 |
</at> |
|
272 |
</object> |
|
273 |
</at> |
|
274 |
<at name="actionCommand">Use color ramp</at> |
|
275 |
<at name="buttonGroup"> |
|
276 |
<object classname="com.jeta.forms.store.properties.ButtonGroupProperty"> |
|
277 |
<at name="name">buttonGroup</at> |
|
278 |
<at name="groupname">1</at> |
|
279 |
</object> |
|
280 |
</at> |
|
281 |
<at name="name">rdbUseColorRamp</at> |
|
282 |
<at name="width">117</at> |
|
283 |
<at name="text">_Use_color_ramp</at> |
|
284 |
<at name="height">16</at> |
|
285 |
</object> |
|
286 |
</at> |
|
287 |
</object> |
|
288 |
</at> |
|
289 |
</object> |
|
290 |
</at> |
|
291 |
</item> |
|
292 |
<item > |
|
293 |
<at name="value"> |
|
294 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
295 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
296 |
<at name="cellconstraints"> |
|
297 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
298 |
<at name="column">2</at> |
|
299 |
<at name="row">2</at> |
|
300 |
<at name="colspan">1</at> |
|
301 |
<at name="rowspan">1</at> |
|
302 |
<at name="halign">default</at> |
|
303 |
<at name="valign">default</at> |
|
304 |
<at name="insets" object="insets">0,0,0,0</at> |
|
305 |
</object> |
|
306 |
</at> |
|
307 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
308 |
</super> |
|
309 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
310 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
311 |
<at name="beanproperties"> |
|
312 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
313 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
314 |
<at name="properties"> |
|
315 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
316 |
<at name="border"> |
|
317 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
318 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
319 |
<at name="name">border</at> |
|
320 |
</super> |
|
321 |
<at name="borders"> |
|
322 |
<object classname="java.util.LinkedList"> |
|
323 |
<item > |
|
324 |
<at name="value"> |
|
325 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
326 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
327 |
<at name="name">border</at> |
|
328 |
</super> |
|
329 |
</object> |
|
330 |
</at> |
|
331 |
</item> |
|
332 |
</object> |
|
333 |
</at> |
|
334 |
</object> |
|
335 |
</at> |
|
336 |
<at name="name">lblDistance</at> |
|
337 |
<at name="width">117</at> |
|
338 |
<at name="text">_Distance</at> |
|
339 |
<at name="fill"> |
|
340 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
341 |
<at name="name">fill</at> |
|
342 |
</object> |
|
343 |
</at> |
|
344 |
<at name="height">14</at> |
|
345 |
</object> |
|
346 |
</at> |
|
347 |
</object> |
|
348 |
</at> |
|
349 |
</object> |
|
350 |
</at> |
|
351 |
</item> |
|
352 |
<item > |
|
353 |
<at name="value"> |
|
354 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
355 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
356 |
<at name="cellconstraints"> |
|
357 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
358 |
<at name="column">2</at> |
|
359 |
<at name="row">6</at> |
|
360 |
<at name="colspan">3</at> |
|
361 |
<at name="rowspan">1</at> |
|
362 |
<at name="halign">default</at> |
|
363 |
<at name="valign">default</at> |
|
364 |
<at name="insets" object="insets">0,0,0,0</at> |
|
365 |
</object> |
|
366 |
</at> |
|
367 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
368 |
</super> |
|
369 |
<at name="id">embedded.1329759412</at> |
|
370 |
<at name="rowspecs">CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE</at> |
|
371 |
<at name="colspecs">FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0)</at> |
|
372 |
<at name="components"> |
|
373 |
<object classname="java.util.LinkedList"> |
|
374 |
<item > |
|
375 |
<at name="value"> |
|
376 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
377 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
378 |
<at name="cellconstraints"> |
|
379 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
380 |
<at name="column">2</at> |
|
381 |
<at name="row">3</at> |
|
382 |
<at name="colspan">1</at> |
|
383 |
<at name="rowspan">1</at> |
|
384 |
<at name="halign">default</at> |
|
385 |
<at name="valign">default</at> |
|
386 |
<at name="insets" object="insets">0,0,0,0</at> |
|
387 |
</object> |
|
388 |
</at> |
|
389 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
390 |
</super> |
|
391 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
392 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
393 |
<at name="beanproperties"> |
|
394 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
395 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
396 |
<at name="properties"> |
|
397 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
398 |
<at name="border"> |
|
399 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
400 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
401 |
<at name="name">border</at> |
|
402 |
</super> |
|
403 |
<at name="borders"> |
|
404 |
<object classname="java.util.LinkedList"> |
|
405 |
<item > |
|
406 |
<at name="value"> |
|
407 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
408 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
409 |
<at name="name">border</at> |
|
410 |
</super> |
|
411 |
</object> |
|
412 |
</at> |
|
413 |
</item> |
|
414 |
</object> |
|
415 |
</at> |
|
416 |
</object> |
|
417 |
</at> |
|
418 |
<at name="name">lblHotColor</at> |
|
419 |
<at name="width">109</at> |
|
420 |
<at name="text">_Hot_color</at> |
|
421 |
<at name="fill"> |
|
422 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
423 |
<at name="name">fill</at> |
|
424 |
</object> |
|
425 |
</at> |
|
426 |
<at name="height">14</at> |
|
427 |
</object> |
|
428 |
</at> |
|
429 |
</object> |
|
430 |
</at> |
|
431 |
</object> |
|
432 |
</at> |
|
433 |
</item> |
|
434 |
<item > |
|
435 |
<at name="value"> |
|
436 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
437 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
438 |
<at name="cellconstraints"> |
|
439 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
440 |
<at name="column">2</at> |
|
441 |
<at name="row">5</at> |
|
442 |
<at name="colspan">1</at> |
|
443 |
<at name="rowspan">1</at> |
|
444 |
<at name="halign">default</at> |
|
445 |
<at name="valign">default</at> |
|
446 |
<at name="insets" object="insets">0,0,0,0</at> |
|
447 |
</object> |
|
448 |
</at> |
|
449 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
450 |
</super> |
|
451 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
452 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
453 |
<at name="beanproperties"> |
|
454 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
455 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
456 |
<at name="properties"> |
|
457 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
458 |
<at name="border"> |
|
459 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
460 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
461 |
<at name="name">border</at> |
|
462 |
</super> |
|
463 |
<at name="borders"> |
|
464 |
<object classname="java.util.LinkedList"> |
|
465 |
<item > |
|
466 |
<at name="value"> |
|
467 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
468 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
469 |
<at name="name">border</at> |
|
470 |
</super> |
|
471 |
</object> |
|
472 |
</at> |
|
473 |
</item> |
|
474 |
</object> |
|
475 |
</at> |
|
476 |
</object> |
|
477 |
</at> |
|
478 |
<at name="name">lblColdColor</at> |
|
479 |
<at name="width">109</at> |
|
480 |
<at name="text">_Cold_color</at> |
|
481 |
<at name="fill"> |
|
482 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
483 |
<at name="name">fill</at> |
|
484 |
</object> |
|
485 |
</at> |
|
486 |
<at name="height">14</at> |
|
487 |
</object> |
|
488 |
</at> |
|
489 |
</object> |
|
490 |
</at> |
|
491 |
</object> |
|
492 |
</at> |
|
493 |
</item> |
|
494 |
<item > |
|
495 |
<at name="value"> |
|
496 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
497 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
498 |
<at name="cellconstraints"> |
|
499 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
500 |
<at name="column">4</at> |
|
501 |
<at name="row">3</at> |
|
502 |
<at name="colspan">1</at> |
|
503 |
<at name="rowspan">1</at> |
|
504 |
<at name="halign">default</at> |
|
505 |
<at name="valign">default</at> |
|
506 |
<at name="insets" object="insets">0,0,0,0</at> |
|
507 |
</object> |
|
508 |
</at> |
|
509 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
510 |
</super> |
|
511 |
<at name="id">embedded.1433828143</at> |
|
512 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
|
513 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,LEFT:DEFAULT:NONE</at> |
|
514 |
<at name="components"> |
|
515 |
<object classname="java.util.LinkedList"> |
|
516 |
<item > |
|
517 |
<at name="value"> |
|
518 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
519 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
520 |
<at name="cellconstraints"> |
|
521 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
522 |
<at name="column">1</at> |
|
523 |
<at name="row">1</at> |
|
524 |
<at name="colspan">1</at> |
|
525 |
<at name="rowspan">1</at> |
|
526 |
<at name="halign">default</at> |
|
527 |
<at name="valign">default</at> |
|
528 |
<at name="insets" object="insets">0,0,0,0</at> |
|
529 |
</object> |
|
530 |
</at> |
|
531 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
532 |
</super> |
|
533 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
534 |
<at name="beanclass">javax.swing.JTextField</at> |
|
535 |
<at name="beanproperties"> |
|
536 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
537 |
<at name="classname">javax.swing.JTextField</at> |
|
538 |
<at name="properties"> |
|
539 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
540 |
<at name="border"> |
|
541 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
542 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
543 |
<at name="name">border</at> |
|
544 |
</super> |
|
545 |
<at name="borders"> |
|
546 |
<object classname="java.util.LinkedList"> |
|
547 |
<item > |
|
548 |
<at name="value"> |
|
549 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
550 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
551 |
<at name="name">border</at> |
|
552 |
</super> |
|
553 |
</object> |
|
554 |
</at> |
|
555 |
</item> |
|
556 |
</object> |
|
557 |
</at> |
|
558 |
</object> |
|
559 |
</at> |
|
560 |
<at name="horizontalAlignment">4</at> |
|
561 |
<at name="background" object="color">236,233,216</at> |
|
562 |
<at name="editable">false</at> |
|
563 |
<at name="name">txtHotColorLabel</at> |
|
564 |
<at name="width">449</at> |
|
565 |
<at name="height">20</at> |
|
566 |
</object> |
|
567 |
</at> |
|
568 |
</object> |
|
569 |
</at> |
|
570 |
</object> |
|
571 |
</at> |
|
572 |
</item> |
|
573 |
<item > |
|
574 |
<at name="value"> |
|
575 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
576 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
577 |
<at name="cellconstraints"> |
|
578 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
579 |
<at name="column">3</at> |
|
580 |
<at name="row">1</at> |
|
581 |
<at name="colspan">1</at> |
|
582 |
<at name="rowspan">1</at> |
|
583 |
<at name="halign">default</at> |
|
584 |
<at name="valign">default</at> |
|
585 |
<at name="insets" object="insets">0,0,0,0</at> |
|
586 |
</object> |
|
587 |
</at> |
|
588 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
589 |
</super> |
|
590 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
591 |
<at name="beanclass">javax.swing.JButton</at> |
|
592 |
<at name="beanproperties"> |
|
593 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
594 |
<at name="classname">javax.swing.JButton</at> |
|
595 |
<at name="properties"> |
|
596 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
597 |
<at name="border"> |
|
598 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
599 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
600 |
<at name="name">border</at> |
|
601 |
</super> |
|
602 |
<at name="borders"> |
|
603 |
<object classname="java.util.LinkedList"> |
|
604 |
<item > |
|
605 |
<at name="value"> |
|
606 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
607 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
608 |
<at name="name">border</at> |
|
609 |
</super> |
|
610 |
</object> |
|
611 |
</at> |
|
612 |
</item> |
|
613 |
</object> |
|
614 |
</at> |
|
615 |
</object> |
|
616 |
</at> |
|
617 |
<at name="actionCommand">...</at> |
|
618 |
<at name="name">btnHotColor</at> |
|
619 |
<at name="width">44</at> |
|
620 |
<at name="text">...</at> |
|
621 |
<at name="height">22</at> |
|
622 |
</object> |
|
623 |
</at> |
|
624 |
</object> |
|
625 |
</at> |
|
626 |
</object> |
|
627 |
</at> |
|
628 |
</item> |
|
629 |
<item > |
|
630 |
<at name="value"> |
|
631 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
632 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
633 |
<at name="cellconstraints"> |
|
634 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
635 |
<at name="column">5</at> |
|
636 |
<at name="row">1</at> |
|
637 |
<at name="colspan">1</at> |
|
638 |
<at name="rowspan">1</at> |
|
639 |
<at name="halign">default</at> |
|
640 |
<at name="valign">default</at> |
|
641 |
<at name="insets" object="insets">0,0,0,0</at> |
|
642 |
</object> |
|
643 |
</at> |
|
644 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
645 |
</super> |
|
646 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
647 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
648 |
<at name="beanproperties"> |
|
649 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
650 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
651 |
<at name="properties"> |
|
652 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
653 |
<at name="border"> |
|
654 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
655 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
656 |
<at name="name">border</at> |
|
657 |
</super> |
|
658 |
<at name="borders"> |
|
659 |
<object classname="java.util.LinkedList"> |
|
660 |
<item > |
|
661 |
<at name="value"> |
|
662 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
663 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
664 |
<at name="name">border</at> |
|
665 |
</super> |
|
666 |
</object> |
|
667 |
</at> |
|
668 |
</item> |
|
669 |
</object> |
|
670 |
</at> |
|
671 |
</object> |
|
672 |
</at> |
|
673 |
<at name="name">lblHotColorAlpha</at> |
|
674 |
<at name="width">31</at> |
|
675 |
<at name="text">Alpha</at> |
|
676 |
<at name="fill"> |
|
677 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
678 |
<at name="name">fill</at> |
|
679 |
</object> |
|
680 |
</at> |
|
681 |
<at name="height">14</at> |
|
682 |
</object> |
|
683 |
</at> |
|
684 |
</object> |
|
685 |
</at> |
|
686 |
</object> |
|
687 |
</at> |
|
688 |
</item> |
|
689 |
<item > |
|
690 |
<at name="value"> |
|
691 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
692 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
693 |
<at name="cellconstraints"> |
|
694 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
695 |
<at name="column">7</at> |
|
696 |
<at name="row">1</at> |
|
697 |
<at name="colspan">1</at> |
|
698 |
<at name="rowspan">1</at> |
|
699 |
<at name="halign">default</at> |
|
700 |
<at name="valign">default</at> |
|
701 |
<at name="insets" object="insets">0,0,0,0</at> |
|
702 |
</object> |
|
703 |
</at> |
|
704 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
705 |
</super> |
|
706 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
707 |
<at name="beanclass">javax.swing.JSlider</at> |
|
708 |
<at name="beanproperties"> |
|
709 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
710 |
<at name="classname">javax.swing.JSlider</at> |
|
711 |
<at name="properties"> |
|
712 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
713 |
<at name="border"> |
|
714 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
715 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
716 |
<at name="name">border</at> |
|
717 |
</super> |
|
718 |
<at name="borders"> |
|
719 |
<object classname="java.util.LinkedList"> |
|
720 |
<item > |
|
721 |
<at name="value"> |
|
722 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
723 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
724 |
<at name="name">border</at> |
|
725 |
</super> |
|
726 |
</object> |
|
727 |
</at> |
|
728 |
</item> |
|
729 |
</object> |
|
730 |
</at> |
|
731 |
</object> |
|
732 |
</at> |
|
733 |
<at name="name">sldHotColorAlpha</at> |
|
734 |
<at name="width">200</at> |
|
735 |
<at name="maximum">255</at> |
|
736 |
<at name="majorTickSpacing">20</at> |
|
737 |
<at name="value">255</at> |
|
738 |
<at name="height">16</at> |
|
739 |
</object> |
|
740 |
</at> |
|
741 |
</object> |
|
742 |
</at> |
|
743 |
</object> |
|
744 |
</at> |
|
745 |
</item> |
|
746 |
</object> |
|
747 |
</at> |
|
748 |
<at name="properties"> |
|
749 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
750 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
751 |
<at name="properties"> |
|
752 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
753 |
<at name="border"> |
|
754 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
755 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
756 |
<at name="name">border</at> |
|
757 |
</super> |
|
758 |
<at name="borders"> |
|
759 |
<object classname="java.util.LinkedList"/> |
|
760 |
</at> |
|
761 |
</object> |
|
762 |
</at> |
|
763 |
<at name="name"/> |
|
764 |
<at name="fill"> |
|
765 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
766 |
<at name="name">fill</at> |
|
767 |
</object> |
|
768 |
</at> |
|
769 |
<at name="scollBars"> |
|
770 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
771 |
<at name="name">scollBars</at> |
|
772 |
<at name="verticalpolicy">21</at> |
|
773 |
<at name="horizontalpolicy">31</at> |
|
774 |
<at name="border"> |
|
775 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
776 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
777 |
<at name="name">border</at> |
|
778 |
</super> |
|
779 |
<at name="borders"> |
|
780 |
<object classname="java.util.LinkedList"> |
|
781 |
<item > |
|
782 |
<at name="value"> |
|
783 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
784 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
785 |
<at name="name">border</at> |
|
786 |
</super> |
|
787 |
</object> |
|
788 |
</at> |
|
789 |
</item> |
|
790 |
</object> |
|
791 |
</at> |
|
792 |
</object> |
|
793 |
</at> |
|
794 |
</object> |
|
795 |
</at> |
|
796 |
</object> |
|
797 |
</at> |
|
798 |
</object> |
|
799 |
</at> |
|
800 |
<at name="cellpainters"> |
|
801 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
802 |
<at name="rows"> |
|
803 |
<object classname="[Ljava.lang.Object;" size="1"> |
|
804 |
<at name="item" index="0"> |
|
805 |
<object classname="[Ljava.lang.Object;" size="7"/> |
|
806 |
</at> |
|
807 |
</object> |
|
808 |
</at> |
|
809 |
</object> |
|
810 |
</at> |
|
811 |
<at name="rowgroups"> |
|
812 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
813 |
<at name="groups"> |
|
814 |
<object classname="java.util.HashMap"/> |
|
815 |
</at> |
|
816 |
</object> |
|
817 |
</at> |
|
818 |
<at name="colgroups"> |
|
819 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
820 |
<at name="groups"> |
|
821 |
<object classname="java.util.HashMap"/> |
|
822 |
</at> |
|
823 |
</object> |
|
824 |
</at> |
|
825 |
</object> |
|
826 |
</at> |
|
827 |
</item> |
|
828 |
<item > |
|
829 |
<at name="value"> |
|
830 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
831 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
832 |
<at name="cellconstraints"> |
|
833 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
834 |
<at name="column">4</at> |
|
835 |
<at name="row">5</at> |
|
836 |
<at name="colspan">1</at> |
|
837 |
<at name="rowspan">1</at> |
|
838 |
<at name="halign">default</at> |
|
839 |
<at name="valign">default</at> |
|
840 |
<at name="insets" object="insets">0,0,0,0</at> |
|
841 |
</object> |
|
842 |
</at> |
|
843 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
844 |
</super> |
|
845 |
<at name="id">embedded.1993136119</at> |
|
846 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
|
847 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,LEFT:DEFAULT:NONE</at> |
|
848 |
<at name="components"> |
|
849 |
<object classname="java.util.LinkedList"> |
|
850 |
<item > |
|
851 |
<at name="value"> |
|
852 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
853 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
854 |
<at name="cellconstraints"> |
|
855 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
856 |
<at name="column">3</at> |
|
857 |
<at name="row">1</at> |
|
858 |
<at name="colspan">1</at> |
|
859 |
<at name="rowspan">1</at> |
|
860 |
<at name="halign">default</at> |
|
861 |
<at name="valign">default</at> |
|
862 |
<at name="insets" object="insets">0,0,0,0</at> |
|
863 |
</object> |
|
864 |
</at> |
|
865 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
866 |
</super> |
|
867 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
868 |
<at name="beanclass">javax.swing.JButton</at> |
|
869 |
<at name="beanproperties"> |
|
870 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
871 |
<at name="classname">javax.swing.JButton</at> |
|
872 |
<at name="properties"> |
|
873 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
874 |
<at name="border"> |
|
875 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
876 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
877 |
<at name="name">border</at> |
|
878 |
</super> |
|
879 |
<at name="borders"> |
|
880 |
<object classname="java.util.LinkedList"> |
|
881 |
<item > |
|
882 |
<at name="value"> |
|
883 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
884 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
885 |
<at name="name">border</at> |
|
886 |
</super> |
|
887 |
</object> |
|
888 |
</at> |
|
889 |
</item> |
|
890 |
</object> |
|
891 |
</at> |
|
892 |
</object> |
|
893 |
</at> |
|
894 |
<at name="actionCommand">...</at> |
|
895 |
<at name="name">btnColdColor</at> |
|
896 |
<at name="width">44</at> |
|
897 |
<at name="text">...</at> |
|
898 |
<at name="height">22</at> |
|
899 |
</object> |
|
900 |
</at> |
|
901 |
</object> |
|
902 |
</at> |
Also available in: Unified diff