Changeset 101 in tmcsimulator-scriptbuilder for trunk/src/event/editor/frame/Editor.form


Ignore:
Timestamp:
08/30/2017 10:05:35 AM (9 years ago)
Author:
bmcguffin
Message:

Added text field, txtEventStart, to bottom of event editor screen. This text field by default displays the time that the event starts. Altering this field will change the start time of the selected event to the new value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/event/editor/frame/Editor.form

    r93 r101  
    287287      <Group type="103" groupAlignment="0" attributes="0"> 
    288288          <Component id="jTabbedPane1" alignment="1" max="32767" attributes="0"/> 
    289           <Component id="jPanel2" alignment="0" max="32767" attributes="0"/> 
     289          <Group type="102" alignment="0" attributes="0"> 
     290              <EmptySpace max="-2" attributes="0"/> 
     291              <Component id="txtEventStart" min="-2" max="-2" attributes="0"/> 
     292              <EmptySpace max="-2" attributes="0"/> 
     293              <Component id="jPanel2" max="32767" attributes="0"/> 
     294              <EmptySpace max="-2" attributes="0"/> 
     295              <Component id="btnRemoveCurrentEvent" min="-2" pref="226" max="-2" attributes="0"/> 
     296              <EmptySpace max="-2" attributes="0"/> 
     297          </Group> 
    290298      </Group> 
    291299    </DimensionLayout> 
     
    294302          <Group type="102" alignment="0" attributes="0"> 
    295303              <EmptySpace max="-2" attributes="0"/> 
    296               <Component id="jTabbedPane1" pref="539" max="32767" attributes="0"/> 
    297               <EmptySpace max="-2" attributes="0"/> 
    298               <Component id="jPanel2" min="-2" max="-2" attributes="0"/> 
     304              <Component id="jTabbedPane1" pref="534" max="32767" attributes="0"/> 
     305              <EmptySpace max="-2" attributes="0"/> 
     306              <Group type="103" groupAlignment="0" attributes="0"> 
     307                  <Component id="jPanel2" min="-2" max="-2" attributes="0"/> 
     308                  <Component id="txtEventStart" min="-2" max="-2" attributes="0"/> 
     309                  <Component id="btnRemoveCurrentEvent" min="-2" max="-2" attributes="0"/> 
     310              </Group> 
    299311          </Group> 
    300312      </Group> 
     
    311323        <DimensionLayout dim="0"> 
    312324          <Group type="103" groupAlignment="0" attributes="0"> 
    313               <Group type="102" alignment="1" attributes="0"> 
    314                   <EmptySpace pref="701" max="32767" attributes="0"/> 
    315                   <Component id="btnRemoveCurrentEvent" min="-2" pref="226" max="-2" attributes="0"/> 
    316                   <EmptySpace max="-2" attributes="0"/> 
    317               </Group> 
     325              <EmptySpace min="0" pref="613" max="32767" attributes="0"/> 
    318326          </Group> 
    319327        </DimensionLayout> 
    320328        <DimensionLayout dim="1"> 
    321329          <Group type="103" groupAlignment="0" attributes="0"> 
    322               <Component id="btnRemoveCurrentEvent" min="-2" max="-2" attributes="0"/> 
     330              <EmptySpace min="0" pref="34" max="32767" attributes="0"/> 
    323331          </Group> 
    324332        </DimensionLayout> 
    325333      </Layout> 
    326       <SubComponents> 
    327         <Component class="javax.swing.JButton" name="btnRemoveCurrentEvent"> 
    328           <Properties> 
    329             <Property name="text" type="java.lang.String" value="Remove This Event"/> 
    330           </Properties> 
    331           <Events> 
    332             <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnRemoveCurrentEventActionPerformed"/> 
    333           </Events> 
    334         </Component> 
    335       </SubComponents> 
    336334    </Container> 
     335    <Component class="javax.swing.JTextField" name="txtEventStart"> 
     336      <Properties> 
     337        <Property name="text" type="java.lang.String" value="00:00:00"/> 
     338      </Properties> 
     339    </Component> 
     340    <Component class="javax.swing.JButton" name="btnRemoveCurrentEvent"> 
     341      <Properties> 
     342        <Property name="text" type="java.lang.String" value="Remove This Event"/> 
     343      </Properties> 
     344      <Events> 
     345        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="btnRemoveCurrentEventActionPerformed"/> 
     346      </Events> 
     347    </Component> 
    337348  </SubComponents> 
    338349</Form> 
Note: See TracChangeset for help on using the changeset viewer.