JFontChooser.form 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
  3. <AuxValues>
  4. <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
  5. <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
  6. <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
  7. <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
  8. <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
  9. <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
  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,44,0,0,1,-112"/>
  14. </AuxValues>
  15. <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
  16. <SubComponents>
  17. <Container class="javax.swing.JPanel" name="fontPanel">
  18. <AuxValues>
  19. <AuxValue name="JavaCodeGenerator_AddingCodePost" type="java.lang.String" value="familyLabel.setDisplayedMnemonic(bundle.getString(&quot;font.family.mnemonic&quot;).charAt(0));&#xd;&#xa;familyLabel.setText(bundle.getString(&quot;font.family&quot;));&#xd;&#xa;styleLabel.setDisplayedMnemonic(bundle.getString(&quot;font.style.mnemonic&quot;).charAt(0));&#xd;&#xa;styleLabel.setText(bundle.getString(&quot;font.style&quot;));&#xd;&#xa;sizeLabel.setDisplayedMnemonic(bundle.getString(&quot;font.size.mnemonic&quot;).charAt(0));&#xd;&#xa;sizeLabel.setText(bundle.getString(&quot;font.size&quot;));&#xd;&#xa;previewLabel.setDisplayedMnemonic(bundle.getString(&quot;font.preview.mnemonic&quot;).charAt(0));&#xd;&#xa;previewLabel.setText(bundle.getString(&quot;font.preview&quot;));"/>
  20. </AuxValues>
  21. <Constraints>
  22. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
  23. <BorderConstraints direction="Center"/>
  24. </Constraint>
  25. </Constraints>
  26. <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
  27. <SubComponents>
  28. <Component class="javax.swing.JLabel" name="familyLabel">
  29. <Properties>
  30. <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
  31. <ComponentRef name="familyList"/>
  32. </Property>
  33. </Properties>
  34. <Constraints>
  35. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  36. <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="11" anchor="17" weightX="0.0" weightY="0.0"/>
  37. </Constraint>
  38. </Constraints>
  39. </Component>
  40. <Component class="javax.swing.JLabel" name="styleLabel">
  41. <Properties>
  42. <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
  43. <ComponentRef name="styleList"/>
  44. </Property>
  45. </Properties>
  46. <Constraints>
  47. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  48. <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="11" anchor="17" weightX="0.0" weightY="0.0"/>
  49. </Constraint>
  50. </Constraints>
  51. </Component>
  52. <Component class="javax.swing.JLabel" name="sizeLabel">
  53. <Properties>
  54. <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
  55. <ComponentRef name="sizeList"/>
  56. </Property>
  57. </Properties>
  58. <Constraints>
  59. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  60. <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
  61. </Constraint>
  62. </Constraints>
  63. </Component>
  64. <Container class="javax.swing.JScrollPane" name="familyScrollPane">
  65. <Properties>
  66. <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  67. <Dimension value="[80, 50]"/>
  68. </Property>
  69. <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  70. <Dimension value="[240, 150]"/>
  71. </Property>
  72. </Properties>
  73. <AuxValues>
  74. <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
  75. </AuxValues>
  76. <Constraints>
  77. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  78. <GridBagConstraints gridX="-1" gridY="1" gridWidth="1" gridHeight="2" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="11" insetsRight="11" anchor="17" weightX="1.0" weightY="1.0"/>
  79. </Constraint>
  80. </Constraints>
  81. <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
  82. <SubComponents>
  83. <Component class="javax.swing.JList" name="familyList">
  84. </Component>
  85. </SubComponents>
  86. </Container>
  87. <Container class="javax.swing.JScrollPane" name="styleScrollPane">
  88. <Properties>
  89. <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  90. <Dimension value="[60, 120]"/>
  91. </Property>
  92. <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  93. <Dimension value="[80, 150]"/>
  94. </Property>
  95. </Properties>
  96. <AuxValues>
  97. <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
  98. </AuxValues>
  99. <Constraints>
  100. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  101. <GridBagConstraints gridX="-1" gridY="1" gridWidth="1" gridHeight="2" fill="3" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="11" insetsRight="11" anchor="17" weightX="0.0" weightY="1.0"/>
  102. </Constraint>
  103. </Constraints>
  104. <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
  105. <SubComponents>
  106. <Component class="javax.swing.JList" name="styleList">
  107. </Component>
  108. </SubComponents>
  109. </Container>
  110. <Component class="javax.swing.JSpinner" name="sizeSpinner">
  111. <Properties>
  112. <Property name="model" type="javax.swing.SpinnerModel" editor="org.netbeans.modules.form.editors2.SpinnerModelEditor">
  113. <SpinnerModel initial="12" maximum="128" minimum="6" numberType="java.lang.Integer" stepSize="1" type="number"/>
  114. </Property>
  115. </Properties>
  116. <AuxValues>
  117. <AuxValue name="JavaCodeGenerator_CreateCodePost" type="java.lang.String" value="int spinnerHeight = (int)sizeSpinner.getPreferredSize().getHeight();&#xd;&#xa;sizeSpinner.setPreferredSize(new Dimension(60, spinnerHeight));"/>
  118. </AuxValues>
  119. <Constraints>
  120. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  121. <GridBagConstraints gridX="2" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
  122. </Constraint>
  123. </Constraints>
  124. </Component>
  125. <Container class="javax.swing.JScrollPane" name="sizeScrollPane">
  126. <Properties>
  127. <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  128. <Dimension value="[50, 120]"/>
  129. </Property>
  130. <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  131. <Dimension value="[60, 150]"/>
  132. </Property>
  133. </Properties>
  134. <AuxValues>
  135. <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
  136. </AuxValues>
  137. <Constraints>
  138. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  139. <GridBagConstraints gridX="-1" gridY="2" gridWidth="1" gridHeight="1" fill="3" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="11" insetsRight="0" anchor="17" weightX="0.0" weightY="1.0"/>
  140. </Constraint>
  141. </Constraints>
  142. <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
  143. <SubComponents>
  144. <Component class="javax.swing.JList" name="sizeList">
  145. </Component>
  146. </SubComponents>
  147. </Container>
  148. </SubComponents>
  149. </Container>
  150. <Container class="javax.swing.JPanel" name="previewPanel">
  151. <Constraints>
  152. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
  153. <BorderConstraints direction="South"/>
  154. </Constraint>
  155. </Constraints>
  156. <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
  157. <SubComponents>
  158. <Component class="javax.swing.JLabel" name="previewLabel">
  159. <Constraints>
  160. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  161. <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
  162. </Constraint>
  163. </Constraints>
  164. </Component>
  165. <Container class="javax.swing.JPanel" name="previewAreaPanel">
  166. <Properties>
  167. <Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
  168. <Color blue="ff" green="ff" red="ff" type="rgb"/>
  169. </Property>
  170. <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
  171. <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo">
  172. <EtchetBorder/>
  173. </Border>
  174. </Property>
  175. <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
  176. <Dimension value="[200, 80]"/>
  177. </Property>
  178. </Properties>
  179. <Constraints>
  180. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
  181. <GridBagConstraints gridX="-1" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
  182. </Constraint>
  183. </Constraints>
  184. <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
  185. <SubComponents>
  186. <Component class="javax.swing.JLabel" name="previewAreaLabel">
  187. <Properties>
  188. <Property name="horizontalAlignment" type="int" value="0"/>
  189. </Properties>
  190. <Constraints>
  191. <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
  192. <BorderConstraints direction="Center"/>
  193. </Constraint>
  194. </Constraints>
  195. </Component>
  196. </SubComponents>
  197. </Container>
  198. </SubComponents>
  199. </Container>
  200. </SubComponents>
  201. </Form>