⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 treewrapperdemoframe.form

📁 JGraph扩展应用。自定义Renderer,自定义视图View实现自定义工作流控件
💻 FORM
字号:
<?xml version="1.0" encoding="UTF-8" ?><Form version="1.0" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">  <NonVisualComponents>    <Menu class="javax.swing.JPopupMenu" name="folderPopupMenu">      <SubComponents>        <MenuItem class="javax.swing.JMenuItem" name="mnuShuffleItems">          <Properties>            <Property name="text" type="java.lang.String" value="Shuffle items..."/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuShuffleItemsActionPerformed"/>          </Events>        </MenuItem>      </SubComponents>    </Menu>    <Menu class="javax.swing.JPopupMenu" name="leafPopupMenu">      <SubComponents>        <MenuItem class="javax.swing.JMenuItem" name="mnuDeleteNode">          <Properties>            <Property name="text" type="java.lang.String" value="Delete this node"/>          </Properties>          <Events>            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="mnuDeleteNodeActionPerformed"/>          </Events>        </MenuItem>      </SubComponents>    </Menu>  </NonVisualComponents>  <Properties>    <Property name="defaultCloseOperation" type="int" value="3"/>    <Property name="title" type="java.lang.String" value="TreeWrapper demo"/>  </Properties>  <SyntheticProperties>    <SyntheticProperty name="formSizePolicy" type="int" value="1"/>  </SyntheticProperties>  <AuxValues>    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>    <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,58,0,0,1,-76"/>  </AuxValues>  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>  <SubComponents>    <Container class="javax.swing.JScrollPane" name="jScrollPane1">      <AuxValues>        <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>      </AuxValues>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="5" insetsBottom="5" insetsRight="5" anchor="10" weightX="1.0" weightY="1.0"/>        </Constraint>      </Constraints>      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>      <SubComponents>        <Component class="javax.swing.JTree" name="tree1">          <Properties>            <Property name="autoscrolls" type="boolean" value="true"/>          </Properties>        </Component>      </SubComponents>    </Container>    <Container class="javax.swing.JScrollPane" name="jScrollPane2">      <AuxValues>        <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>      </AuxValues>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="1" gridY="2" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="5" insetsBottom="5" insetsRight="5" anchor="10" weightX="1.0" weightY="1.0"/>        </Constraint>      </Constraints>      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>      <SubComponents>        <Component class="javax.swing.JTree" name="tree2">          <Properties>            <Property name="autoscrolls" type="boolean" value="true"/>          </Properties>        </Component>      </SubComponents>    </Container>    <Component class="javax.swing.JTextField" name="jTextField1">      <Properties>        <Property name="text" type="java.lang.String" value="Write some text here and drag it into the trees (or drag nodes between trees)"/>        <Property name="dragEnabled" type="boolean" value="true"/>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="2" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="5" insetsBottom="0" insetsRight="5" anchor="10" weightX="10.0" weightY="0.0"/>        </Constraint>      </Constraints>    </Component>    <Component class="javax.swing.JLabel" name="jLabel1">      <Properties>        <Property name="text" type="java.lang.String" value="Tree with popup menus"/>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="5" insetsBottom="0" insetsRight="5" anchor="10" weightX="0.0" weightY="0.0"/>        </Constraint>      </Constraints>    </Component>    <Component class="javax.swing.JLabel" name="jLabel2">      <Properties>        <Property name="text" type="java.lang.String" value="Tree without popup menus"/>      </Properties>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="1" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="5" insetsLeft="5" insetsBottom="0" insetsRight="5" anchor="10" weightX="0.0" weightY="0.0"/>        </Constraint>      </Constraints>    </Component>    <Component class="javax.swing.JCheckBox" name="optDisableTree">      <Properties>        <Property name="text" type="java.lang.String" value="Disable tree"/>        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">          <Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">            <EmptyBorder bottom="0" left="0" right="0" top="0"/>          </Border>        </Property>        <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">          <Insets value="[0, 0, 0, 0]"/>        </Property>      </Properties>      <Events>        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="optDisableTreeActionPerformed"/>      </Events>      <Constraints>        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">          <GridBagConstraints gridX="0" gridY="3" gridWidth="2" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="5" insetsRight="5" anchor="10" weightX="1.0" weightY="0.0"/>        </Constraint>      </Constraints>    </Component>  </SubComponents></Form>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -