Newer
Older
CasicTimeGuard / src / main / java / com / casic / swing / ui / TimeGuardNtp.form
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.casic.swing.ui.TimeGuardNtp">
  <grid id="27dc6" binding="ntpPanel" layout-manager="GridBagLayout">
    <constraints>
      <xy x="20" y="20" width="600" height="400"/>
    </constraints>
    <properties/>
    <border type="empty">
      <size top="10" left="10" bottom="10" right="10"/>
    </border>
    <children>
      <component id="b6e4c" class="javax.swing.JLabel">
        <constraints>
          <grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="授时状态:"/>
        </properties>
      </component>
      <component id="c3382" class="javax.swing.JLabel">
        <constraints>
          <grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="最近同步时间:"/>
        </properties>
      </component>
      <component id="bc2bd" class="javax.swing.JLabel" binding="recentlyTimeLabel">
        <constraints>
          <grid row="2" column="1" row-span="1" col-span="2" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag top="5" left="0" bottom="5" right="0" weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="5 Jan 11:20:24"/>
        </properties>
      </component>
      <component id="d3d4f" class="javax.swing.JLabel">
        <constraints>
          <grid row="6" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="授时中心服务器:"/>
        </properties>
      </component>
      <component id="f1817" class="javax.swing.JButton" binding="updateTimeButton">
        <constraints>
          <grid row="7" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
          <gridbag top="10" left="0" bottom="10" right="0" weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="手动同步"/>
        </properties>
      </component>
      <component id="3a427" class="javax.swing.JLabel">
        <constraints>
          <grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="当前时间:"/>
        </properties>
      </component>
      <component id="af75c" class="javax.swing.JLabel" binding="currentTimeLabel">
        <constraints>
          <grid row="0" column="1" row-span="1" col-span="2" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag top="5" left="0" bottom="5" right="0" weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <foreground color="-4473925"/>
          <text value="5 Jan 11:20:24"/>
        </properties>
      </component>
      <component id="ff586" class="javax.swing.JLabel" binding="stateView">
        <constraints>
          <grid row="1" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag top="5" left="5" bottom="5" right="0" weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="未同步"/>
        </properties>
      </component>
      <grid id="e30b1" binding="dotPanel" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
        <margin top="0" left="0" bottom="0" right="0"/>
        <constraints>
          <grid row="1" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <background color="-16711936"/>
          <enabled value="true"/>
          <minimumSize width="15" height="15"/>
          <preferredSize width="15" height="15"/>
          <visible value="true"/>
        </properties>
        <border type="none">
          <font/>
          <title-color color="-4473925"/>
        </border>
        <children/>
      </grid>
      <component id="1a653" class="javax.swing.JTextField" binding="hostTextField">
        <constraints>
          <grid row="6" column="1" row-span="1" col-span="2" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
            <preferred-size width="150" height="-1"/>
          </grid>
          <gridbag top="5" left="0" bottom="5" right="0" weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties/>
      </component>
      <component id="61bae" class="javax.swing.JLabel">
        <constraints>
          <grid row="3" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="同步周期(分钟):"/>
        </properties>
      </component>
      <component id="2b567" class="javax.swing.JLabel" binding="frequencyLabel">
        <constraints>
          <grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag top="5" left="0" bottom="5" right="0" weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <font size="14"/>
          <text value="10"/>
        </properties>
      </component>
      <component id="e4a5d" class="javax.swing.JLabel">
        <constraints>
          <grid row="5" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <font size="14"/>
          <text value="本机IP地址:"/>
        </properties>
      </component>
      <component id="afbf0" class="javax.swing.JComboBox" binding="localHostBox">
        <constraints>
          <grid row="5" column="1" row-span="1" col-span="2" vsize-policy="0" hsize-policy="2" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
          <gridbag top="5" left="0" bottom="5" right="0" weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <editable value="false"/>
          <font size="14"/>
        </properties>
      </component>
      <component id="992a6" class="javax.swing.JCheckBox" binding="autoCheckBox">
        <constraints>
          <grid row="7" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <horizontalAlignment value="2"/>
          <horizontalTextPosition value="11"/>
          <selected value="false"/>
          <text value="自动同步"/>
        </properties>
      </component>
      <component id="78f7c" class="javax.swing.JLabel" binding="udpPortTitle">
        <constraints>
          <grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <alignmentY value="0.0"/>
          <font size="14"/>
          <text value="监听端口:"/>
        </properties>
      </component>
      <component id="eeff2" class="javax.swing.JLabel" binding="udpPortLabel">
        <constraints>
          <grid row="4" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
          <gridbag top="5" left="0" bottom="5" right="0" weightx="0.0" weighty="0.0"/>
        </constraints>
        <properties>
          <font size="14"/>
          <text value="100"/>
        </properties>
      </component>
    </children>
  </grid>
</form>