PageRenderTime 40ms CodeModel.GetById 35ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/mpv5/ui/panels/SearchPanel.form

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Unknown | 133 lines | 128 code | 5 blank | 0 comment | 0 complexity | abd2b30570c491e4bba248eff6723e22 MD5 | raw file
  1<?xml version="1.1" encoding="UTF-8" ?>
  2
  3<Form version="1.6" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
  4  <Properties>
  5    <Property name="name" type="java.lang.String" value="Form" noResource="true"/>
  6  </Properties>
  7  <AuxValues>
  8    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
  9    <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="true"/>
 10    <AuxValue name="FormSettings_formBundle" type="java.lang.String" value="mpv5/resources/languages/Panels"/>
 11    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
 12    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
 13    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
 14    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
 15    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
 16    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
 17    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
 18  </AuxValues>
 19
 20  <Layout>
 21    <DimensionLayout dim="0">
 22      <Group type="103" groupAlignment="0" attributes="0">
 23          <Component id="results" alignment="0" max="32767" attributes="1"/>
 24          <Component id="searchfields" alignment="0" pref="163" max="32767" attributes="1"/>
 25      </Group>
 26    </DimensionLayout>
 27    <DimensionLayout dim="1">
 28      <Group type="103" groupAlignment="0" attributes="0">
 29          <Group type="102" alignment="0" attributes="0">
 30              <Component id="searchfields" min="-2" pref="55" max="-2" attributes="0"/>
 31              <EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
 32              <Component id="results" max="32767" attributes="0"/>
 33          </Group>
 34      </Group>
 35    </DimensionLayout>
 36  </Layout>
 37  <SubComponents>
 38    <Container class="javax.swing.JPanel" name="searchfields">
 39      <Properties>
 40        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
 41          <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
 42            <TitledBorder title="Search">
 43              <ResourceString PropertyName="titleX" bundle="mpv5/resources/languages/Panels.properties" key="SearchPanel.searchfields.border.title" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
 44            </TitledBorder>
 45          </Border>
 46        </Property>
 47        <Property name="name" type="java.lang.String" value="searchfields" noResource="true"/>
 48      </Properties>
 49
 50      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
 51      <SubComponents>
 52        <Component class="javax.swing.JTextField" name="textfield">
 53          <Properties>
 54            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 55              <ResourceString bundle="mpv5/resources/languages/Panels.properties" key="SearchPanel.textfield.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
 56            </Property>
 57            <Property name="name" type="java.lang.String" value="textfield" noResource="true"/>
 58          </Properties>
 59          <Events>
 60            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="textfieldActionPerformed"/>
 61            <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="textfieldKeyTyped"/>
 62          </Events>
 63        </Component>
 64      </SubComponents>
 65    </Container>
 66    <Container class="javax.swing.JPanel" name="results">
 67      <Properties>
 68        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
 69          <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
 70            <TitledBorder title="Results">
 71              <ResourceString PropertyName="titleX" bundle="mpv5/resources/languages/Panels.properties" key="SearchPanel.results.border.title" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
 72            </TitledBorder>
 73          </Border>
 74        </Property>
 75        <Property name="name" type="java.lang.String" value="results" noResource="true"/>
 76      </Properties>
 77
 78      <Layout>
 79        <DimensionLayout dim="0">
 80          <Group type="103" groupAlignment="0" attributes="0">
 81              <Component id="resultsscrollpane" alignment="0" pref="151" max="32767" attributes="0"/>
 82          </Group>
 83        </DimensionLayout>
 84        <DimensionLayout dim="1">
 85          <Group type="103" groupAlignment="0" attributes="0">
 86              <Component id="resultsscrollpane" alignment="0" pref="158" max="32767" attributes="0"/>
 87          </Group>
 88        </DimensionLayout>
 89      </Layout>
 90      <SubComponents>
 91        <Container class="javax.swing.JScrollPane" name="resultsscrollpane">
 92          <Properties>
 93            <Property name="name" type="java.lang.String" value="resultsscrollpane" noResource="true"/>
 94          </Properties>
 95          <AuxValues>
 96            <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
 97          </AuxValues>
 98
 99          <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
100          <SubComponents>
101            <Component class="javax.swing.JTable" name="lookupResultTable">
102              <Properties>
103                <Property name="autoCreateRowSorter" type="boolean" value="true"/>
104                <Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
105                  <Table columnCount="0" rowCount="4"/>
106                </Property>
107                <Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor">
108                  <TableColumnModel selectionModel="0"/>
109                </Property>
110                <Property name="name" type="java.lang.String" value="lookupResultTable" noResource="true"/>
111                <Property name="selectionModel" type="javax.swing.ListSelectionModel" editor="org.netbeans.modules.form.editors2.JTableSelectionModelEditor">
112                  <JTableSelectionModel selectionMode="0"/>
113                </Property>
114                <Property name="showVerticalLines" type="boolean" value="false"/>
115                <Property name="surrendersFocusOnKeystroke" type="boolean" value="true"/>
116                <Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor">
117                  <TableHeader reorderingAllowed="true" resizingAllowed="true"/>
118                </Property>
119              </Properties>
120              <Events>
121                <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="lookupResultTableMouseClicked"/>
122                <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="lookupResultTableKeyTyped"/>
123              </Events>
124              <AuxValues>
125                <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new  mpv5.ui.misc.MPTable(this) {&#xa;            public Component prepareRenderer(TableCellRenderer renderer,&#xa;                int rowIndex, int vColIndex) {&#xa;                Component c = super.prepareRenderer(renderer, rowIndex, vColIndex);&#xa;                if (c instanceof JComponent) {&#xa;                    JComponent jc = (JComponent)c;&#xa;                    jc.setToolTipText(String.valueOf(getValueAt(rowIndex, vColIndex)));&#xa;                }&#xa;                return c;&#xa;            }&#xa;        }"/>
126              </AuxValues>
127            </Component>
128          </SubComponents>
129        </Container>
130      </SubComponents>
131    </Container>
132  </SubComponents>
133</Form>