diff --git a/GUI/src/main/java/cz/fidentis/analyst/gui/AligmentTopComponent.form b/GUI/src/main/java/cz/fidentis/analyst/gui/AligmentTopComponent.form index 22e942afa3749da0c028d70a97d82cafbc43a763..27e282065c02aac4f9692445fa792cb33b8c8419 100644 --- a/GUI/src/main/java/cz/fidentis/analyst/gui/AligmentTopComponent.form +++ b/GUI/src/main/java/cz/fidentis/analyst/gui/AligmentTopComponent.form @@ -49,8 +49,8 @@ <EmptySpace max="-2" attributes="0"/> <Component id="jSplitPane1" max="-2" attributes="0"/> <EmptySpace type="unrelated" max="-2" attributes="0"/> - <Component id="jPanel1" min="-2" max="-2" attributes="0"/> - <EmptySpace max="-2" attributes="0"/> + <Component id="jPanel1" min="-2" pref="294" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> @@ -60,9 +60,9 @@ <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> - <Component id="jPanel1" pref="578" max="32767" attributes="0"/> + <Component id="jPanel1" pref="824" max="32767" attributes="0"/> </Group> - <Component id="jSplitPane1" alignment="0" pref="589" max="32767" attributes="0"/> + <Component id="jSplitPane1" alignment="0" pref="835" max="32767" attributes="0"/> </Group> <EmptySpace max="-2" attributes="0"/> </Group> @@ -91,8 +91,9 @@ <Component id="jLabel2" min="-2" max="-2" attributes="0"/> <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <Component id="secondaryColorPanel" min="-2" max="-2" attributes="0"/> + <Component id="postRegistrationCP1" alignment="0" min="-2" pref="282" max="-2" attributes="0"/> </Group> - <EmptySpace min="0" pref="100" max="32767" attributes="0"/> + <EmptySpace min="0" pref="12" max="32767" attributes="0"/> </Group> </Group> </DimensionLayout> @@ -110,6 +111,8 @@ <Component id="jLabel3" min="-2" max="-2" attributes="0"/> <EmptySpace type="unrelated" max="-2" attributes="0"/> <Component id="secondaryColorPanel" min="-2" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="postRegistrationCP1" min="-2" pref="606" max="-2" attributes="0"/> <EmptySpace min="0" pref="0" max="32767" attributes="0"/> </Group> </Group> @@ -193,6 +196,8 @@ </DimensionLayout> </Layout> </Container> + <Component class="cz.fidentis.analyst.newgui.PostRegistrationCP" name="postRegistrationCP1"> + </Component> </SubComponents> </Container> <Container class="javax.swing.JSplitPane" name="jSplitPane1"> diff --git a/GUI/src/main/java/cz/fidentis/analyst/gui/AligmentTopComponent.java b/GUI/src/main/java/cz/fidentis/analyst/gui/AligmentTopComponent.java index 05d09082e3973fdfce1f242c0a0e73ce2da54478..b6569dc4caf6e8348740d928eaae05f167cda52f 100644 --- a/GUI/src/main/java/cz/fidentis/analyst/gui/AligmentTopComponent.java +++ b/GUI/src/main/java/cz/fidentis/analyst/gui/AligmentTopComponent.java @@ -74,6 +74,7 @@ public final class AligmentTopComponent extends TopComponent { jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); secondaryColorPanel = new javax.swing.JPanel(); + postRegistrationCP1 = new cz.fidentis.analyst.newgui.PostRegistrationCP(); jSplitPane1 = new javax.swing.JSplitPane(); canvas1 = new cz.fidentis.analyst.gui.Canvas(); canvas2 = new cz.fidentis.analyst.gui.Canvas(); @@ -144,8 +145,9 @@ public final class AligmentTopComponent extends TopComponent { .addComponent(primaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jLabel2) .addComponent(jLabel3) - .addComponent(secondaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) - .addGap(0, 100, Short.MAX_VALUE)) + .addComponent(secondaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(postRegistrationCP1, javax.swing.GroupLayout.PREFERRED_SIZE, 282, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGap(0, 12, Short.MAX_VALUE)) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) @@ -161,6 +163,8 @@ public final class AligmentTopComponent extends TopComponent { .addComponent(jLabel3) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(secondaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(postRegistrationCP1, javax.swing.GroupLayout.PREFERRED_SIZE, 606, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE)) ); @@ -181,8 +185,8 @@ public final class AligmentTopComponent extends TopComponent { .addContainerGap() .addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addContainerGap()) + .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 294, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) @@ -190,8 +194,8 @@ public final class AligmentTopComponent extends TopComponent { .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() - .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 578, Short.MAX_VALUE)) - .addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 589, Short.MAX_VALUE)) + .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 824, Short.MAX_VALUE)) + .addComponent(jSplitPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 835, Short.MAX_VALUE)) .addContainerGap()) ); }// </editor-fold>//GEN-END:initComponents @@ -223,6 +227,7 @@ public final class AligmentTopComponent extends TopComponent { private javax.swing.JLabel jLabel3; private javax.swing.JPanel jPanel1; private javax.swing.JSplitPane jSplitPane1; + private cz.fidentis.analyst.newgui.PostRegistrationCP postRegistrationCP1; private javax.swing.JPanel primaryColorPanel; private javax.swing.JPanel secondaryColorPanel; // End of variables declaration//GEN-END:variables diff --git a/GUI/src/main/java/cz/fidentis/analyst/gui/RegistrationTestTopComponent.form b/GUI/src/main/java/cz/fidentis/analyst/gui/RegistrationTestTopComponent.form index 0401264b2e812394c168e1944c7833d3bc4b25a0..4fcb128f231ed03c4468524b797be31d91cd379b 100644 --- a/GUI/src/main/java/cz/fidentis/analyst/gui/RegistrationTestTopComponent.form +++ b/GUI/src/main/java/cz/fidentis/analyst/gui/RegistrationTestTopComponent.form @@ -37,13 +37,25 @@ <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> - <EmptySpace min="0" pref="301" max="32767" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="postRegistrationCP1" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + </Group> </Group> </DimensionLayout> <DimensionLayout dim="1"> <Group type="103" groupAlignment="0" attributes="0"> - <EmptySpace min="0" pref="344" max="32767" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <EmptySpace max="-2" attributes="0"/> + <Component id="postRegistrationCP1" min="-2" max="-2" attributes="0"/> + <EmptySpace pref="33" max="32767" attributes="0"/> + </Group> </Group> </DimensionLayout> </Layout> + <SubComponents> + <Component class="cz.fidentis.analyst.newgui.PostRegistrationCP" name="postRegistrationCP1"> + </Component> + </SubComponents> </Form> diff --git a/GUI/src/main/java/cz/fidentis/analyst/gui/RegistrationTestTopComponent.java b/GUI/src/main/java/cz/fidentis/analyst/gui/RegistrationTestTopComponent.java index 017a4a5d03081974fb9d7ed2beddaf1a49bff74d..1de5ab978fb70f547e17fd1c3a9ea073f42cdc34 100644 --- a/GUI/src/main/java/cz/fidentis/analyst/gui/RegistrationTestTopComponent.java +++ b/GUI/src/main/java/cz/fidentis/analyst/gui/RegistrationTestTopComponent.java @@ -52,19 +52,28 @@ public final class RegistrationTestTopComponent extends TopComponent { // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { + postRegistrationCP1 = new cz.fidentis.analyst.newgui.PostRegistrationCP(); + javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGap(0, 301, Short.MAX_VALUE) + .addGroup(layout.createSequentialGroup() + .addContainerGap() + .addComponent(postRegistrationCP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGap(0, 344, Short.MAX_VALUE) + .addGroup(layout.createSequentialGroup() + .addContainerGap() + .addComponent(postRegistrationCP1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap(33, Short.MAX_VALUE)) ); }// </editor-fold>//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables + private cz.fidentis.analyst.newgui.PostRegistrationCP postRegistrationCP1; // End of variables declaration//GEN-END:variables @Override public void componentOpened() { diff --git a/GUI/src/main/java/cz/fidentis/analyst/newgui/PostRegistrationCP.form b/GUI/src/main/java/cz/fidentis/analyst/newgui/PostRegistrationCP.form index 16be530f8295fd57d9b7ee3015067c853bacf1cb..35dfcef92f458384bec710d5432463f3a493fc10 100644 --- a/GUI/src/main/java/cz/fidentis/analyst/newgui/PostRegistrationCP.form +++ b/GUI/src/main/java/cz/fidentis/analyst/newgui/PostRegistrationCP.form @@ -3,7 +3,7 @@ <Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> <Properties> <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> - <Dimension value="[400, 300]"/> + <Dimension value="[310, 500]"/> </Property> </Properties> <AuxValues> @@ -24,50 +24,147 @@ <Group type="102" attributes="0"> <EmptySpace max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> - <Component id="jSeparator2" alignment="0" max="32767" attributes="0"/> <Group type="102" attributes="0"> <Group type="103" groupAlignment="0" attributes="0"> - <Group type="103" groupAlignment="0" max="-2" attributes="0"> - <Group type="102" alignment="0" attributes="0"> - <Component id="transparencyButton" min="-2" max="-2" attributes="0"/> - <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="transparencySlider" pref="0" max="32767" attributes="0"/> + <Component id="jSeparator5" min="-2" pref="292" max="-2" attributes="0"/> + <Component id="applyButton" alignment="0" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace min="0" pref="30" max="32767" attributes="0"/> + </Group> + <Group type="102" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="translationButton" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="19" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="1" max="-2" attributes="0"> + <Group type="102" attributes="0"> + <Component id="leftTranslationXButton" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="rightTranslationXButton1" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="translationXButton" min="-2" pref="59" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="translationXFTF" min="-2" pref="57" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="20" max="-2" attributes="0"/> + </Group> </Group> - <Group type="102" alignment="0" attributes="0"> - <Group type="103" groupAlignment="0" attributes="0"> - <Component id="modelLabel" min="-2" max="-2" attributes="0"/> - <Component id="colorButton" min="-2" pref="73" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Component id="translationYFTF" alignment="1" max="32767" attributes="0"/> + <Component id="translationYButton" alignment="1" pref="57" max="32767" attributes="0"/> + <Group type="102" attributes="0"> + <Component id="leftTranslationYButton" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="rightTranslationYButton" min="-2" max="-2" attributes="0"/> </Group> - <EmptySpace type="separate" max="-2" attributes="0"/> - <Group type="103" groupAlignment="0" max="-2" attributes="0"> - <Group type="102" attributes="0"> - <Component id="primaryColorPanel" min="-2" max="-2" attributes="0"/> - <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="secondaryColorPanel" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Group type="102" attributes="0"> + <Component id="leftTranslationZButton" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="rightTranslationZButton" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="translationZButton" min="-2" max="-2" attributes="0"/> + <Component id="translationZFTF" alignment="0" min="-2" pref="59" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0"> + <Component id="jSeparator2" pref="292" max="32767" attributes="0"/> + <Group type="103" alignment="0" groupAlignment="0" max="-2" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="transparencyButton" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="transparencySlider" pref="0" max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="modelLabel" min="-2" max="-2" attributes="0"/> + <Component id="colorButton" min="-2" pref="73" max="-2" attributes="0"/> </Group> - <Group type="102" attributes="0"> - <Component id="primaryLabel" min="-2" max="-2" attributes="0"/> - <EmptySpace max="32767" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="primaryColorPanel" alignment="0" min="-2" max="-2" attributes="0"/> + <Component id="primaryLabel" alignment="0" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> <Component id="secondaryLabel" min="-2" max="-2" attributes="0"/> + <Component id="secondaryColorPanel" min="-2" max="-2" attributes="0"/> </Group> </Group> </Group> + <Component id="jSeparator1" alignment="1" max="32767" attributes="0"/> + </Group> + <Group type="103" alignment="0" groupAlignment="1" max="-2" attributes="0"> + <Component id="jSeparator4" alignment="0" max="32767" attributes="0"/> + <Component id="jSeparator3" alignment="0" max="32767" attributes="0"/> <Group type="102" alignment="0" attributes="0"> - <Component id="viewLabel" min="-2" max="-2" attributes="0"/> + <Component id="rotationButton" min="-2" pref="63" max="-2" attributes="0"/> <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="frontButton" min="-2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Group type="103" groupAlignment="1" max="-2" attributes="0"> + <Group type="102" alignment="1" attributes="0"> + <Component id="leftRotationXButton" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="rightRotationXButton" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="rotationXButton" alignment="1" min="-2" pref="59" max="-2" attributes="0"/> + </Group> + <EmptySpace type="separate" max="-2" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="rotationXFTF" min="-2" pref="57" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="20" max="-2" attributes="0"/> + </Group> + </Group> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Component id="rotationYFTF" alignment="1" max="32767" attributes="0"/> + <Component id="rotationYButton" alignment="1" pref="57" max="32767" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <Component id="leftRotationYButton" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="rightRotationYButton" min="-2" max="-2" attributes="0"/> + </Group> + </Group> <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="profileButton" min="-2" max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" max="-2" attributes="0"> + <Group type="102" alignment="0" attributes="0"> + <Component id="leftRotationZButton" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="rightRotationZButton" min="-2" max="-2" attributes="0"/> + </Group> + <Component id="rotationZButton" alignment="0" min="-2" max="-2" attributes="0"/> + <Component id="rotationZFTF" alignment="0" min="-2" pref="59" max="-2" attributes="0"/> + </Group> </Group> </Group> - <Component id="translationButton" min="-2" max="-2" attributes="0"/> - <Component id="rotationButton" alignment="0" min="-2" max="-2" attributes="0"/> - <Component id="scaleButton" alignment="0" min="-2" max="-2" attributes="0"/> + <Group type="102" attributes="0"> + <Component id="scaleButton" min="-2" pref="63" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="scalePlusButton" min="-2" pref="35" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="scaleMinusButton" min="-2" pref="35" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="scaleFTF" min="-2" pref="57" max="-2" attributes="0"/> + </Group> </Group> - <EmptySpace min="0" pref="63" max="32767" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + </Group> + <Group type="102" alignment="0" attributes="0"> + <Component id="viewLabel" min="-2" max="-2" attributes="0"/> + <EmptySpace max="32767" attributes="0"/> + <Component id="frontButton" min="-2" max="-2" attributes="0"/> + <EmptySpace type="separate" max="-2" attributes="0"/> + <Component id="profileButton" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="100" max="-2" attributes="0"/> </Group> </Group> - <EmptySpace max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> @@ -75,12 +172,10 @@ <Group type="103" groupAlignment="0" attributes="0"> <Group type="102" alignment="0" attributes="0"> <EmptySpace max="-2" attributes="0"/> - <Group type="103" groupAlignment="0" attributes="0"> - <Group type="103" groupAlignment="3" attributes="0"> - <Component id="primaryLabel" alignment="3" min="-2" max="-2" attributes="0"/> - <Component id="modelLabel" alignment="3" min="-2" max="-2" attributes="0"/> - </Group> - <Component id="secondaryLabel" alignment="1" max="32767" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="primaryLabel" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="modelLabel" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="secondaryLabel" max="32767" attributes="0"/> </Group> <EmptySpace type="unrelated" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" attributes="0"> @@ -92,10 +187,10 @@ <Group type="102" alignment="0" attributes="0"> <EmptySpace min="-2" pref="2" max="-2" attributes="0"/> <Group type="103" groupAlignment="0" max="-2" attributes="0"> - <Component id="secondaryColorPanel" pref="23" max="32767" attributes="0"/> - <Component id="primaryColorPanel" min="-2" max="-2" attributes="0"/> + <Component id="primaryColorPanel" pref="25" max="32767" attributes="0"/> + <Component id="secondaryColorPanel" pref="25" max="32767" attributes="0"/> </Group> - <EmptySpace max="-2" attributes="0"/> + <EmptySpace min="-2" pref="8" max="-2" attributes="0"/> <Component id="transparencySlider" min="-2" max="-2" attributes="0"/> </Group> </Group> @@ -109,19 +204,91 @@ <Component id="profileButton" alignment="3" min="-2" max="-2" attributes="0"/> </Group> </Group> - <EmptySpace type="separate" max="-2" attributes="0"/> - <Component id="translationButton" min="-2" max="-2" attributes="0"/> - <EmptySpace min="-2" pref="33" max="-2" attributes="0"/> - <Component id="rotationButton" min="-2" max="-2" attributes="0"/> - <EmptySpace min="-2" pref="33" max="-2" attributes="0"/> - <Component id="scaleButton" min="-2" max="-2" attributes="0"/> - <EmptySpace pref="508" max="32767" attributes="0"/> + <EmptySpace type="unrelated" max="-2" attributes="0"/> + <Component id="jSeparator1" min="-2" pref="10" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="translationButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="translationYButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="translationXButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="translationZButton" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="leftTranslationXButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rightTranslationXButton1" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="leftTranslationYButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="leftTranslationZButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rightTranslationYButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rightTranslationZButton" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="translationXFTF" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="translationYFTF" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="translationZFTF" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Component id="jSeparator3" min="-2" pref="10" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="0" attributes="0"> + <Component id="rotationButton" min="-2" max="-2" attributes="0"/> + <Group type="102" alignment="0" attributes="0"> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="rotationYButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rotationXButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rotationZButton" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="leftRotationXButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rightRotationXButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="leftRotationYButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="leftRotationZButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rightRotationYButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rightRotationZButton" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="rotationXFTF" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rotationYFTF" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="rotationZFTF" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + </Group> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Component id="jSeparator4" min="-2" pref="10" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Group type="103" groupAlignment="3" attributes="0"> + <Component id="scaleButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="scalePlusButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="scaleMinusButton" alignment="3" min="-2" max="-2" attributes="0"/> + <Component id="scaleFTF" alignment="3" min="-2" max="-2" attributes="0"/> + </Group> + <EmptySpace max="-2" attributes="0"/> + <Component id="jSeparator5" min="-2" pref="10" max="-2" attributes="0"/> + <EmptySpace max="-2" attributes="0"/> + <Component id="applyButton" min="-2" max="-2" attributes="0"/> + <EmptySpace min="-2" pref="362" max="-2" attributes="0"/> </Group> </Group> </DimensionLayout> </Layout> <SubComponents> <Container class="javax.swing.JPanel" name="primaryColorPanel"> + <Properties> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo"> + <LineBorder/> + </Border> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> + <Dimension value="[72, 14]"/> + </Property> + </Properties> <Events> <EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="primaryColorPanelMouseClicked"/> </Events> @@ -141,6 +308,14 @@ </Container> <Container class="javax.swing.JPanel" name="secondaryColorPanel"> <Properties> + <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> + <Border info="org.netbeans.modules.form.compat2.border.LineBorderInfo"> + <LineBorder/> + </Border> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> <Dimension value="[70, 14]"/> </Property> @@ -152,7 +327,7 @@ <Layout> <DimensionLayout dim="0"> <Group type="103" groupAlignment="0" attributes="0"> - <EmptySpace min="0" pref="70" max="32767" attributes="0"/> + <EmptySpace min="0" pref="68" max="32767" attributes="0"/> </Group> </DimensionLayout> <DimensionLayout dim="1"> @@ -186,6 +361,12 @@ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.colorButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.colorButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> <Property name="horizontalAlignment" type="int" value="2"/> <Property name="horizontalTextPosition" type="int" value="0"/> <Property name="iconTextGap" type="int" value="0"/> @@ -202,6 +383,12 @@ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.transparencyButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.transparencyButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> <Insets value="[2, 2, 2, 2]"/> </Property> @@ -231,6 +418,12 @@ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.frontButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.frontButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> </Properties> </Component> <Component class="javax.swing.JButton" name="profileButton"> @@ -238,6 +431,12 @@ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.profileButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.profileButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> </Properties> </Component> <Component class="javax.swing.JButton" name="translationButton"> @@ -245,13 +444,146 @@ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="horizontalAlignment" type="int" value="2"/> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="translationXButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationXButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationXButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="leftTranslationXButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.leftTranslationXButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rightTranslationXButton1"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rightTranslationXButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="translationXFTF"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationXFTF.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationXFTF.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Text Cursor"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="translationXFTFActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="translationYButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationYButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationYButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="translationYFTF"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationYFTF.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="translationYFTFActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="translationZButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationZButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationZButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="translationZButtonActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JFormattedTextField" name="translationZFTF"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.translationZFTF.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="translationZFTFActionPerformed"/> + </Events> </Component> <Component class="javax.swing.JButton" name="rotationButton"> <Properties> <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="horizontalAlignment" type="int" value="2"/> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> </Properties> </Component> <Component class="javax.swing.JButton" name="scaleButton"> @@ -259,7 +591,286 @@ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.scaleButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="horizontalAlignment" type="int" value="2"/> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> </Properties> </Component> + <Component class="javax.swing.JButton" name="applyButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.applyButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="enabled" type="boolean" value="false"/> + </Properties> + </Component> + <Component class="javax.swing.JSeparator" name="jSeparator1"> + </Component> + <Component class="javax.swing.JButton" name="leftTranslationYButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.leftTranslationYButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="leftTranslationZButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.leftTranslationZButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rightTranslationYButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rightTranslationYButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rightTranslationZButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rightTranslationZButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JFormattedTextField" name="rotationXFTF"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationXFTF.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationXFTF.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="rotationXFTFActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="leftRotationXButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.leftRotationXButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rightRotationXButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rightRotationXButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="leftRotationYButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.leftRotationYButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="leftRotationZButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.leftRotationZButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rightRotationYButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rightRotationYButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rightRotationZButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rightRotationZButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rotationXButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationXButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationXButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rotationYButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationYButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationYButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="rotationZButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationZButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationZButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="rotationZButtonActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JFormattedTextField" name="rotationYFTF"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationYFTF.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="rotationYFTFActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JFormattedTextField" name="rotationZFTF"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.rotationZFTF.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="rotationZFTFActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JFormattedTextField" name="scaleFTF"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.scaleFTF.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.scaleFTF.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + </Properties> + <Events> + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="scaleFTFActionPerformed"/> + </Events> + </Component> + <Component class="javax.swing.JButton" name="scaleMinusButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.scaleMinusButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JButton" name="scalePlusButton"> + <Properties> + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> + <ResourceString bundle="cz/fidentis/analyst/newgui/Bundle.properties" key="PostRegistrationCP.scalePlusButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> + </Property> + <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor"> + <Color id="Hand Cursor"/> + </Property> + <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> + <Insets value="[2, 2, 2, 2]"/> + </Property> + </Properties> + </Component> + <Component class="javax.swing.JSeparator" name="jSeparator3"> + </Component> + <Component class="javax.swing.JSeparator" name="jSeparator4"> + </Component> + <Component class="javax.swing.JSeparator" name="jSeparator5"> + </Component> </SubComponents> </Form> diff --git a/GUI/src/main/java/cz/fidentis/analyst/newgui/PostRegistrationCP.java b/GUI/src/main/java/cz/fidentis/analyst/newgui/PostRegistrationCP.java index 69c8260c5a0ddb39484d17638292242ba1167028..bef608d127b31d5c6134e21358e55a2d151a47b4 100644 --- a/GUI/src/main/java/cz/fidentis/analyst/newgui/PostRegistrationCP.java +++ b/GUI/src/main/java/cz/fidentis/analyst/newgui/PostRegistrationCP.java @@ -45,11 +45,46 @@ public class PostRegistrationCP extends javax.swing.JPanel { frontButton = new javax.swing.JButton(); profileButton = new javax.swing.JButton(); translationButton = new javax.swing.JButton(); + translationXButton = new javax.swing.JButton(); + leftTranslationXButton = new javax.swing.JButton(); + rightTranslationXButton1 = new javax.swing.JButton(); + translationXFTF = new javax.swing.JFormattedTextField(); + translationYButton = new javax.swing.JButton(); + translationYFTF = new javax.swing.JFormattedTextField(); + translationZButton = new javax.swing.JButton(); + translationZFTF = new javax.swing.JFormattedTextField(); rotationButton = new javax.swing.JButton(); scaleButton = new javax.swing.JButton(); + applyButton = new javax.swing.JButton(); + jSeparator1 = new javax.swing.JSeparator(); + leftTranslationYButton = new javax.swing.JButton(); + leftTranslationZButton = new javax.swing.JButton(); + rightTranslationYButton = new javax.swing.JButton(); + rightTranslationZButton = new javax.swing.JButton(); + rotationXFTF = new javax.swing.JFormattedTextField(); + leftRotationXButton = new javax.swing.JButton(); + rightRotationXButton = new javax.swing.JButton(); + leftRotationYButton = new javax.swing.JButton(); + leftRotationZButton = new javax.swing.JButton(); + rightRotationYButton = new javax.swing.JButton(); + rightRotationZButton = new javax.swing.JButton(); + rotationXButton = new javax.swing.JButton(); + rotationYButton = new javax.swing.JButton(); + rotationZButton = new javax.swing.JButton(); + rotationYFTF = new javax.swing.JFormattedTextField(); + rotationZFTF = new javax.swing.JFormattedTextField(); + scaleFTF = new javax.swing.JFormattedTextField(); + scaleMinusButton = new javax.swing.JButton(); + scalePlusButton = new javax.swing.JButton(); + jSeparator3 = new javax.swing.JSeparator(); + jSeparator4 = new javax.swing.JSeparator(); + jSeparator5 = new javax.swing.JSeparator(); - setPreferredSize(new java.awt.Dimension(400, 300)); + setPreferredSize(new java.awt.Dimension(310, 500)); + primaryColorPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0))); + primaryColorPanel.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + primaryColorPanel.setPreferredSize(new java.awt.Dimension(72, 14)); primaryColorPanel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { primaryColorPanelMouseClicked(evt); @@ -67,6 +102,8 @@ public class PostRegistrationCP extends javax.swing.JPanel { .addGap(0, 23, Short.MAX_VALUE) ); + secondaryColorPanel.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0))); + secondaryColorPanel.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); secondaryColorPanel.setPreferredSize(new java.awt.Dimension(70, 14)); secondaryColorPanel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent evt) { @@ -78,7 +115,7 @@ public class PostRegistrationCP extends javax.swing.JPanel { secondaryColorPanel.setLayout(secondaryColorPanelLayout); secondaryColorPanelLayout.setHorizontalGroup( secondaryColorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGap(0, 70, Short.MAX_VALUE) + .addGap(0, 68, Short.MAX_VALUE) ); secondaryColorPanelLayout.setVerticalGroup( secondaryColorPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) @@ -91,6 +128,8 @@ public class PostRegistrationCP extends javax.swing.JPanel { org.openide.awt.Mnemonics.setLocalizedText(primaryLabel, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.primaryLabel.text")); // NOI18N org.openide.awt.Mnemonics.setLocalizedText(colorButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.colorButton.text")); // NOI18N + colorButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.colorButton.toolTipText")); // NOI18N + colorButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); colorButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); colorButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); colorButton.setIconTextGap(0); @@ -102,6 +141,8 @@ public class PostRegistrationCP extends javax.swing.JPanel { }); org.openide.awt.Mnemonics.setLocalizedText(transparencyButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.transparencyButton.text")); // NOI18N + transparencyButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.transparencyButton.toolTipText")); // NOI18N + transparencyButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); transparencyButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); transparencyButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { @@ -114,14 +155,182 @@ public class PostRegistrationCP extends javax.swing.JPanel { org.openide.awt.Mnemonics.setLocalizedText(viewLabel, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.viewLabel.text")); // NOI18N org.openide.awt.Mnemonics.setLocalizedText(frontButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.frontButton.text")); // NOI18N + frontButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.frontButton.toolTipText")); // NOI18N + frontButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); org.openide.awt.Mnemonics.setLocalizedText(profileButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.profileButton.text")); // NOI18N + profileButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.profileButton.toolTipText")); // NOI18N + profileButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); org.openide.awt.Mnemonics.setLocalizedText(translationButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationButton.text")); // NOI18N + translationButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationButton.toolTipText")); // NOI18N + translationButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + translationButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); + translationButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(translationXButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationXButton.text")); // NOI18N + translationXButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationXButton.toolTipText")); // NOI18N + translationXButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + translationXButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(leftTranslationXButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.leftTranslationXButton.text")); // NOI18N + leftTranslationXButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + leftTranslationXButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rightTranslationXButton1, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rightTranslationXButton1.text")); // NOI18N + rightTranslationXButton1.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rightTranslationXButton1.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + translationXFTF.setText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationXFTF.text")); // NOI18N + translationXFTF.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationXFTF.toolTipText")); // NOI18N + translationXFTF.setCursor(new java.awt.Cursor(java.awt.Cursor.TEXT_CURSOR)); + translationXFTF.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + translationXFTFActionPerformed(evt); + } + }); + + org.openide.awt.Mnemonics.setLocalizedText(translationYButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationYButton.text")); // NOI18N + translationYButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationYButton.toolTipText")); // NOI18N + translationYButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + translationYButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + translationYFTF.setText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationYFTF.text")); // NOI18N + translationYFTF.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + translationYFTFActionPerformed(evt); + } + }); + + org.openide.awt.Mnemonics.setLocalizedText(translationZButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationZButton.text")); // NOI18N + translationZButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationZButton.toolTipText")); // NOI18N + translationZButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + translationZButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + translationZButton.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + translationZButtonActionPerformed(evt); + } + }); + + translationZFTF.setText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.translationZFTF.text")); // NOI18N + translationZFTF.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + translationZFTFActionPerformed(evt); + } + }); org.openide.awt.Mnemonics.setLocalizedText(rotationButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationButton.text")); // NOI18N + rotationButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationButton.toolTipText")); // NOI18N + rotationButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rotationButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); + rotationButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); org.openide.awt.Mnemonics.setLocalizedText(scaleButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.scaleButton.text")); // NOI18N + scaleButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + scaleButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); + scaleButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(applyButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.applyButton.text")); // NOI18N + applyButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + applyButton.setEnabled(false); + + org.openide.awt.Mnemonics.setLocalizedText(leftTranslationYButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.leftTranslationYButton.text")); // NOI18N + leftTranslationYButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + leftTranslationYButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(leftTranslationZButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.leftTranslationZButton.text")); // NOI18N + leftTranslationZButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + leftTranslationZButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rightTranslationYButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rightTranslationYButton.text")); // NOI18N + rightTranslationYButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rightTranslationYButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rightTranslationZButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rightTranslationZButton.text")); // NOI18N + rightTranslationZButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rightTranslationZButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + rotationXFTF.setText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationXFTF.text")); // NOI18N + rotationXFTF.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationXFTF.toolTipText")); // NOI18N + rotationXFTF.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + rotationXFTFActionPerformed(evt); + } + }); + + org.openide.awt.Mnemonics.setLocalizedText(leftRotationXButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.leftRotationXButton.text")); // NOI18N + leftRotationXButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + leftRotationXButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rightRotationXButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rightRotationXButton.text")); // NOI18N + rightRotationXButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rightRotationXButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(leftRotationYButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.leftRotationYButton.text")); // NOI18N + leftRotationYButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + leftRotationYButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(leftRotationZButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.leftRotationZButton.text")); // NOI18N + leftRotationZButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + leftRotationZButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rightRotationYButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rightRotationYButton.text")); // NOI18N + rightRotationYButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rightRotationYButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rightRotationZButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rightRotationZButton.text")); // NOI18N + rightRotationZButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rightRotationZButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rotationXButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationXButton.text")); // NOI18N + rotationXButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationXButton.toolTipText")); // NOI18N + rotationXButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rotationXButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rotationYButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationYButton.text")); // NOI18N + rotationYButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationYButton.toolTipText")); // NOI18N + rotationYButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rotationYButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(rotationZButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationZButton.text")); // NOI18N + rotationZButton.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationZButton.toolTipText")); // NOI18N + rotationZButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + rotationZButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + rotationZButton.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + rotationZButtonActionPerformed(evt); + } + }); + + rotationYFTF.setText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationYFTF.text")); // NOI18N + rotationYFTF.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + rotationYFTFActionPerformed(evt); + } + }); + + rotationZFTF.setText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.rotationZFTF.text")); // NOI18N + rotationZFTF.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + rotationZFTFActionPerformed(evt); + } + }); + + scaleFTF.setText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.scaleFTF.text")); // NOI18N + scaleFTF.setToolTipText(org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.scaleFTF.toolTipText")); // NOI18N + scaleFTF.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + scaleFTFActionPerformed(evt); + } + }); + + org.openide.awt.Mnemonics.setLocalizedText(scaleMinusButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.scaleMinusButton.text")); // NOI18N + scaleMinusButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + scaleMinusButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); + + org.openide.awt.Mnemonics.setLocalizedText(scalePlusButton, org.openide.util.NbBundle.getMessage(PostRegistrationCP.class, "PostRegistrationCP.scalePlusButton.text")); // NOI18N + scalePlusButton.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); + scalePlusButton.setMargin(new java.awt.Insets(2, 2, 2, 2)); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); @@ -130,49 +339,121 @@ public class PostRegistrationCP extends javax.swing.JPanel { .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jSeparator2) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) - .addGroup(layout.createSequentialGroup() - .addComponent(transparencyButton) + .addComponent(jSeparator5, javax.swing.GroupLayout.PREFERRED_SIZE, 292, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(applyButton)) + .addGap(0, 30, Short.MAX_VALUE)) + .addGroup(layout.createSequentialGroup() + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(layout.createSequentialGroup() + .addComponent(translationButton) + .addGap(19, 19, 19) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) + .addGroup(layout.createSequentialGroup() + .addComponent(leftTranslationXButton) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(rightTranslationXButton1)) + .addComponent(translationXButton, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGap(18, 18, 18)) + .addGroup(layout.createSequentialGroup() + .addComponent(translationXFTF, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(20, 20, 20))) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(translationYFTF, javax.swing.GroupLayout.Alignment.TRAILING) + .addComponent(translationYButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 57, Short.MAX_VALUE) + .addGroup(layout.createSequentialGroup() + .addComponent(leftTranslationYButton) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(rightTranslationYButton))) + .addGap(18, 18, 18) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addGroup(layout.createSequentialGroup() + .addComponent(leftTranslationZButton) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(rightTranslationZButton)) + .addComponent(translationZButton) + .addComponent(translationZFTF, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE))) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) + .addComponent(jSeparator2, javax.swing.GroupLayout.DEFAULT_SIZE, 292, Short.MAX_VALUE) + .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addGroup(layout.createSequentialGroup() + .addComponent(transparencyButton) + .addGap(18, 18, 18) + .addComponent(transparencySlider, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)) + .addGroup(layout.createSequentialGroup() + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(modelLabel) + .addComponent(colorButton, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGap(18, 18, 18) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(primaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(primaryLabel)) + .addGap(18, 18, 18) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(secondaryLabel) + .addComponent(secondaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))) + .addComponent(jSeparator1)) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) + .addComponent(jSeparator4, javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(jSeparator3, javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup() + .addComponent(rotationButton, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) - .addComponent(transparencySlider, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)) - .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(modelLabel) - .addComponent(colorButton, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)) - .addGap(18, 18, 18) - .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) + .addGroup(layout.createSequentialGroup() + .addComponent(leftRotationXButton) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(rightRotationXButton)) + .addComponent(rotationXButton, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGap(18, 18, 18)) .addGroup(layout.createSequentialGroup() - .addComponent(primaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) - .addGap(18, 18, 18) - .addComponent(secondaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addComponent(rotationXFTF, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(20, 20, 20))) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(rotationYFTF, javax.swing.GroupLayout.Alignment.TRAILING) + .addComponent(rotationYButton, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 57, Short.MAX_VALUE) .addGroup(layout.createSequentialGroup() - .addComponent(primaryLabel) + .addComponent(leftRotationYButton) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) - .addComponent(secondaryLabel)))) - .addGroup(layout.createSequentialGroup() - .addComponent(viewLabel) - .addGap(18, 18, 18) - .addComponent(frontButton) + .addComponent(rightRotationYButton))) .addGap(18, 18, 18) - .addComponent(profileButton))) - .addComponent(translationButton) - .addComponent(rotationButton) - .addComponent(scaleButton)) - .addGap(0, 63, Short.MAX_VALUE))) - .addContainerGap()) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addGroup(layout.createSequentialGroup() + .addComponent(leftRotationZButton) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(rightRotationZButton)) + .addComponent(rotationZButton) + .addComponent(rotationZFTF, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)))) + .addGroup(layout.createSequentialGroup() + .addComponent(scaleButton, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(18, 18, 18) + .addComponent(scalePlusButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(scaleMinusButton, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE) + .addGap(18, 18, 18) + .addComponent(scaleFTF, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE))) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(layout.createSequentialGroup() + .addComponent(viewLabel) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addComponent(frontButton) + .addGap(18, 18, 18) + .addComponent(profileButton) + .addGap(100, 100, 100)))) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() - .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) - .addComponent(primaryLabel) - .addComponent(modelLabel)) - .addComponent(secondaryLabel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(primaryLabel) + .addComponent(modelLabel) + .addComponent(secondaryLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() @@ -182,9 +463,9 @@ public class PostRegistrationCP extends javax.swing.JPanel { .addGroup(layout.createSequentialGroup() .addGap(2, 2, 2) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) - .addComponent(secondaryColorPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE) - .addComponent(primaryColorPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(primaryColorPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 25, Short.MAX_VALUE) + .addComponent(secondaryColorPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 25, Short.MAX_VALUE)) + .addGap(8, 8, 8) .addComponent(transparencySlider, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) @@ -194,13 +475,63 @@ public class PostRegistrationCP extends javax.swing.JPanel { .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(frontButton) .addComponent(profileButton))) - .addGap(18, 18, 18) - .addComponent(translationButton) - .addGap(33, 33, 33) - .addComponent(rotationButton) - .addGap(33, 33, 33) - .addComponent(scaleButton) - .addContainerGap(508, Short.MAX_VALUE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) + .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(translationButton) + .addComponent(translationYButton) + .addComponent(translationXButton) + .addComponent(translationZButton)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(leftTranslationXButton) + .addComponent(rightTranslationXButton1) + .addComponent(leftTranslationYButton) + .addComponent(leftTranslationZButton) + .addComponent(rightTranslationYButton) + .addComponent(rightTranslationZButton)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(translationXFTF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(translationYFTF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(translationZFTF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(rotationButton) + .addGroup(layout.createSequentialGroup() + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(rotationYButton) + .addComponent(rotationXButton) + .addComponent(rotationZButton)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(leftRotationXButton) + .addComponent(rightRotationXButton) + .addComponent(leftRotationYButton) + .addComponent(leftRotationZButton) + .addComponent(rightRotationYButton) + .addComponent(rightRotationZButton)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(rotationXFTF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(rotationYFTF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(rotationZFTF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jSeparator4, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(scaleButton) + .addComponent(scalePlusButton) + .addComponent(scaleMinusButton) + .addComponent(scaleFTF, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jSeparator5, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(applyButton) + .addGap(362, 362, 362)) ); }// </editor-fold>//GEN-END:initComponents @@ -226,20 +557,88 @@ public class PostRegistrationCP extends javax.swing.JPanel { // TODO add your handling code here: }//GEN-LAST:event_transparencyButtonActionPerformed + private void translationXFTFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_translationXFTFActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_translationXFTFActionPerformed + + private void translationYFTFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_translationYFTFActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_translationYFTFActionPerformed + + private void translationZFTFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_translationZFTFActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_translationZFTFActionPerformed + + private void translationZButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_translationZButtonActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_translationZButtonActionPerformed + + private void rotationXFTFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rotationXFTFActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_rotationXFTFActionPerformed + + private void rotationZButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rotationZButtonActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_rotationZButtonActionPerformed + + private void rotationYFTFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rotationYFTFActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_rotationYFTFActionPerformed + + private void rotationZFTFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rotationZFTFActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_rotationZFTFActionPerformed + + private void scaleFTFActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_scaleFTFActionPerformed + // TODO add your handling code here: + }//GEN-LAST:event_scaleFTFActionPerformed + // Variables declaration - do not modify//GEN-BEGIN:variables + private javax.swing.JButton applyButton; private javax.swing.JButton colorButton; private javax.swing.JButton frontButton; + private javax.swing.JSeparator jSeparator1; private javax.swing.JSeparator jSeparator2; + private javax.swing.JSeparator jSeparator3; + private javax.swing.JSeparator jSeparator4; + private javax.swing.JSeparator jSeparator5; + private javax.swing.JButton leftRotationXButton; + private javax.swing.JButton leftRotationYButton; + private javax.swing.JButton leftRotationZButton; + private javax.swing.JButton leftTranslationXButton; + private javax.swing.JButton leftTranslationYButton; + private javax.swing.JButton leftTranslationZButton; private javax.swing.JLabel modelLabel; private javax.swing.JPanel primaryColorPanel; private javax.swing.JLabel primaryLabel; private javax.swing.JButton profileButton; + private javax.swing.JButton rightRotationXButton; + private javax.swing.JButton rightRotationYButton; + private javax.swing.JButton rightRotationZButton; + private javax.swing.JButton rightTranslationXButton1; + private javax.swing.JButton rightTranslationYButton; + private javax.swing.JButton rightTranslationZButton; private javax.swing.JButton rotationButton; + private javax.swing.JButton rotationXButton; + private javax.swing.JFormattedTextField rotationXFTF; + private javax.swing.JButton rotationYButton; + private javax.swing.JFormattedTextField rotationYFTF; + private javax.swing.JButton rotationZButton; + private javax.swing.JFormattedTextField rotationZFTF; private javax.swing.JButton scaleButton; + private javax.swing.JFormattedTextField scaleFTF; + private javax.swing.JButton scaleMinusButton; + private javax.swing.JButton scalePlusButton; private javax.swing.JPanel secondaryColorPanel; private javax.swing.JLabel secondaryLabel; private javax.swing.JButton translationButton; + private javax.swing.JButton translationXButton; + private javax.swing.JFormattedTextField translationXFTF; + private javax.swing.JButton translationYButton; + private javax.swing.JFormattedTextField translationYFTF; + private javax.swing.JButton translationZButton; + private javax.swing.JFormattedTextField translationZFTF; private javax.swing.JButton transparencyButton; private javax.swing.JSlider transparencySlider; private javax.swing.JLabel viewLabel; diff --git a/GUI/src/main/resources/cz/fidentis/analyst/newgui/Bundle.properties b/GUI/src/main/resources/cz/fidentis/analyst/newgui/Bundle.properties index 9f9abd4d1d83f19ed67e400b97d172c637a4efab..e3397da85312fa6f20505cc126fbffbcdedb74e7 100644 --- a/GUI/src/main/resources/cz/fidentis/analyst/newgui/Bundle.properties +++ b/GUI/src/main/resources/cz/fidentis/analyst/newgui/Bundle.properties @@ -5,8 +5,51 @@ PostRegistrationCP.secondaryLabel.toolTipText= PostRegistrationCP.secondaryLabel.text=Secondary PostRegistrationCP.primaryLabel.text=Primary PostRegistrationCP.viewLabel.text=View: -PostRegistrationCP.frontButton.text=Front -PostRegistrationCP.profileButton.text=Profile +PostRegistrationCP.frontButton.text=front +PostRegistrationCP.profileButton.text=profile PostRegistrationCP.translationButton.text=Translation PostRegistrationCP.rotationButton.text=Rotation PostRegistrationCP.scaleButton.text=Scale +PostRegistrationCP.applyButton.text=Apply changes +PostRegistrationCP.translationXFTF.text=0 +PostRegistrationCP.translationYFTF.text=0 +PostRegistrationCP.translationZFTF.text=0 +PostRegistrationCP.translationXButton.text=horizontal +PostRegistrationCP.translationYButton.text=vertical +PostRegistrationCP.translationZButton.text=front-back +PostRegistrationCP.translationXFTF.toolTipText= +PostRegistrationCP.colorButton.toolTipText=resets colors +PostRegistrationCP.transparencyButton.toolTipText=resets transparency +PostRegistrationCP.frontButton.toolTipText=model front view +PostRegistrationCP.profileButton.toolTipText=model profile view +PostRegistrationCP.leftTranslationXButton.text=< +PostRegistrationCP.rightTranslationXButton1.text=> +PostRegistrationCP.leftTranslationYButton.text=< +PostRegistrationCP.leftTranslationZButton.text=< +PostRegistrationCP.rightTranslationYButton.text=> +PostRegistrationCP.rightTranslationZButton.text=> +PostRegistrationCP.translationButton.toolTipText=resets translation +PostRegistrationCP.translationXButton.toolTipText=resets horizontal translation +PostRegistrationCP.translationYButton.toolTipText=resets vertical translation +PostRegistrationCP.translationZButton.toolTipText=resets front-back translation +PostRegistrationCP.rotationXButton.toolTipText=resets horizontal rotation +PostRegistrationCP.rotationXButton.text=horizontal +PostRegistrationCP.rotationYButton.toolTipText=resets vertical rotation +PostRegistrationCP.rotationYButton.text=vertical +PostRegistrationCP.rotationZButton.text=front-back +PostRegistrationCP.rotationZButton.toolTipText=resets front-back rotation +PostRegistrationCP.leftRotationXButton.text=< +PostRegistrationCP.rightRotationXButton.text=> +PostRegistrationCP.leftRotationYButton.text=< +PostRegistrationCP.rightRotationYButton.text=> +PostRegistrationCP.leftRotationZButton.text=< +PostRegistrationCP.rightRotationZButton.text=> +PostRegistrationCP.rotationXFTF.toolTipText= +PostRegistrationCP.rotationXFTF.text=0 +PostRegistrationCP.rotationYFTF.text=0 +PostRegistrationCP.rotationZFTF.text=0 +PostRegistrationCP.scalePlusButton.text=+ +PostRegistrationCP.scaleMinusButton.text=- +PostRegistrationCP.scaleFTF.text=0 +PostRegistrationCP.scaleFTF.toolTipText= +PostRegistrationCP.rotationButton.toolTipText=resets rotation