source: jclic/trunk/fuentes/src/author/edu/xtec/jclic/misc/GradientEditor.form @ 3466

Last change on this file since 3466 was 3466, checked in by Juanma, 4 years ago

Updated to 3.2.1

File size: 14.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2
3<Form version="1.2" maxVersion="1.2" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4  <AuxValues>
5    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
6    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
7    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
8    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
9    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
10    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
11    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
12    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
13    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,42,0,0,1,-69"/>
14  </AuxValues>
15
16  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
17  <SubComponents>
18    <Container class="javax.swing.JPanel" name="previewPanel">
19      <Properties>
20        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
21          <Border info="org.netbeans.modules.form.compat2.border.SoftBevelBorderInfo">
22            <BevelBorder/>
23          </Border>
24        </Property>
25        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
26          <Dimension value="[100, 100]"/>
27        </Property>
28        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
29          <Dimension value="[100, 100]"/>
30        </Property>
31      </Properties>
32      <AuxValues>
33        <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new GradientPreview();"/>
34      </AuxValues>
35      <Constraints>
36        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
37          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="4" fill="0" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="12" weightX="0.0" weightY="0.0"/>
38        </Constraint>
39      </Constraints>
40
41      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout"/>
42    </Container>
43    <Component class="javax.swing.JLabel" name="startColorLb">
44      <Properties>
45        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
46          <Connection code="options.getMsg(&quot;edit_gradient_startColor&quot;)" type="code"/>
47        </Property>
48        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
49          <Connection component="startColorBtn" type="bean"/>
50        </Property>
51      </Properties>
52      <AuxValues>
53        <AuxValue name="JavaCodeGenerator_VariableLocal" type="java.lang.Boolean" value="true"/>
54        <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/>
55      </AuxValues>
56      <Constraints>
57        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
58          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="13" weightX="0.0" weightY="0.0"/>
59        </Constraint>
60      </Constraints>
61    </Component>
62    <Component class="edu.xtec.jclic.beans.ColorButton" name="startColorBtn">
63      <Properties>
64        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
65          <Connection code="options.getMsg(&quot;edit_gradient_startColor_tooltip&quot;)" type="code"/>
66        </Property>
67      </Properties>
68      <Events>
69        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="startColorBtnActionPerformed"/>
70      </Events>
71      <AuxValues>
72        <AuxValue name="JavaCodeGenerator_CreateCodePost" type="java.lang.String" value="startColorBtn.setOptions(options);"/>
73      </AuxValues>
74      <Constraints>
75        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
76          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="3" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="17" weightX="0.0" weightY="0.0"/>
77        </Constraint>
78      </Constraints>
79    </Component>
80    <Component class="javax.swing.JLabel" name="endColorLb">
81      <Properties>
82        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
83          <Connection code="options.getMsg(&quot;edit_gradient_endColor&quot;)" type="code"/>
84        </Property>
85      </Properties>
86      <AuxValues>
87        <AuxValue name="JavaCodeGenerator_VariableLocal" type="java.lang.Boolean" value="true"/>
88        <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/>
89      </AuxValues>
90      <Constraints>
91        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
92          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="13" weightX="0.0" weightY="0.0"/>
93        </Constraint>
94      </Constraints>
95    </Component>
96    <Component class="edu.xtec.jclic.beans.ColorButton" name="endColorBtn">
97      <Properties>
98        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
99          <Connection code="options.getMsg(&quot;edit_gradient_endColor_tooltip&quot;)" type="code"/>
100        </Property>
101      </Properties>
102      <Events>
103        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="endColorBtnActionPerformed"/>
104      </Events>
105      <AuxValues>
106        <AuxValue name="JavaCodeGenerator_CreateCodePost" type="java.lang.String" value="endColorBtn.setOptions(options);"/>
107      </AuxValues>
108      <Constraints>
109        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
110          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="3" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="17" weightX="0.0" weightY="0.0"/>
111        </Constraint>
112      </Constraints>
113    </Component>
114    <Component class="javax.swing.JLabel" name="cyclesLb">
115      <Properties>
116        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
117          <Connection code="options.getMsg(&quot;edit_gradient_cycles&quot;)" type="code"/>
118        </Property>
119      </Properties>
120      <AuxValues>
121        <AuxValue name="JavaCodeGenerator_VariableLocal" type="java.lang.Boolean" value="true"/>
122        <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/>
123      </AuxValues>
124      <Constraints>
125        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
126          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="13" weightX="0.0" weightY="0.0"/>
127        </Constraint>
128      </Constraints>
129    </Component>
130    <Component class="javax.swing.JTextField" name="cyclesTxt">
131      <Properties>
132        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
133          <Connection code="options.getMsg(&quot;edit_gradient_cycles_tooltip&quot;)" type="code"/>
134        </Property>
135        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
136          <Dimension value="[40, 21]"/>
137        </Property>
138        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
139          <Dimension value="[40, 21]"/>
140        </Property>
141      </Properties>
142      <Events>
143        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cyclesTxtActionPerformed"/>
144      </Events>
145      <Constraints>
146        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
147          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="10" weightX="0.0" weightY="0.0"/>
148        </Constraint>
149      </Constraints>
150    </Component>
151    <Component class="javax.swing.JSlider" name="cyclesSlider">
152      <Properties>
153        <Property name="minorTickSpacing" type="int" value="10"/>
154        <Property name="paintTicks" type="boolean" value="true"/>
155        <Property name="minimum" type="int" value="1"/>
156        <Property name="majorTickSpacing" type="int" value="10"/>
157        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
158          <Connection code="options.getMsg(&quot;edit_gradient_cycles_tooltip&quot;)" type="code"/>
159        </Property>
160        <Property name="maximum" type="int" value="50"/>
161        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
162          <Dimension value="[100, 27]"/>
163        </Property>
164        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
165          <Dimension value="[100, 27]"/>
166        </Property>
167      </Properties>
168      <Events>
169        <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="cyclesSliderStateChanged"/>
170      </Events>
171      <Constraints>
172        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
173          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="10" weightX="0.0" weightY="0.0"/>
174        </Constraint>
175      </Constraints>
176    </Component>
177    <Component class="javax.swing.JLabel" name="orientationLb">
178      <Properties>
179        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
180          <Connection code="options.getMsg(&quot;edit_gradient_orientation&quot;)" type="code"/>
181        </Property>
182      </Properties>
183      <AuxValues>
184        <AuxValue name="JavaCodeGenerator_VariableLocal" type="java.lang.Boolean" value="true"/>
185        <AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/>
186      </AuxValues>
187      <Constraints>
188        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
189          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="13" weightX="0.0" weightY="0.0"/>
190        </Constraint>
191      </Constraints>
192    </Component>
193    <Component class="javax.swing.JTextField" name="orientationTxt">
194      <Properties>
195        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
196          <Connection code="options.getMsg(&quot;edit_gradient_orientation_tooltip&quot;)" type="code"/>
197        </Property>
198      </Properties>
199      <Events>
200        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="orientationTxtActionPerformed"/>
201      </Events>
202      <Constraints>
203        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
204          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="10" weightX="0.0" weightY="0.0"/>
205        </Constraint>
206      </Constraints>
207    </Component>
208    <Component class="javax.swing.JSlider" name="orientationSlider">
209      <Properties>
210        <Property name="minorTickSpacing" type="int" value="30"/>
211        <Property name="paintTicks" type="boolean" value="true"/>
212        <Property name="majorTickSpacing" type="int" value="90"/>
213        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
214          <Connection code="options.getMsg(&quot;edit_gradient_orientation_tooltip&quot;)" type="code"/>
215        </Property>
216        <Property name="maximum" type="int" value="360"/>
217      </Properties>
218      <Events>
219        <EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="orientationSliderStateChanged"/>
220      </Events>
221      <Constraints>
222        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
223          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="3" insetsLeft="3" insetsBottom="3" insetsRight="3" anchor="10" weightX="0.0" weightY="0.0"/>
224        </Constraint>
225      </Constraints>
226    </Component>
227  </SubComponents>
228</Form>
Note: See TracBrowser for help on using the repository browser.