Package ch.tatool.core.display.swing.action

Examples of ch.tatool.core.display.swing.action.KeyActionPanel


            doCleanup();
            finishExecution();
          }
        }
      };
      KeyActionPanel actionPanel = new KeyActionPanel();
      actionPanel.addKey(KeyEvent.VK_SPACE, "", null);
      actionPanel.addActionPanelListener(myListener);
      actionPanel.enableActionPanel();
    }
   
    // display the information
    regionsContainer.setAllContentVisibility(true);
   
View Full Code Here


 
  /** Constructor with element id parameter. */
  public AbstractInstructionExecutable(String elementName) {
    super(elementName);
    // setup the action panel
    actionPanel = new KeyActionPanel();
    actionPanel.addActionPanelListener(this);
  }
View Full Code Here

            doCleanup();
            finishExecution();
          }
        }
      };
      KeyActionPanel actionPanel = new KeyActionPanel();
      actionPanel.addKey(KeyEvent.VK_SPACE, "", null);
      actionPanel.addActionPanelListener(myListener);
      actionPanel.enableActionPanel();
      regionsContainer.setRegionContent(Region.SOUTH, actionPanel, false);
    }
   
    // display the information
    regionsContainer.setAllContentVisibility(true);
View Full Code Here

    inputActionPanel.setTextDocument(250, InputActionPanel.FORMAT_ALL);
    inputActionPanel.addActionPanelListener(this);
  }

  private void initBinaryScale() {
    keyActionPanel = new KeyActionPanel();
    keyActionPanel.addKey(KeyEvent.VK_A, stimulusInfo[7], stimulusInfo[8]);
    keyActionPanel.addKey(KeyEvent.VK_L, stimulusInfo[9], stimulusInfo[10]);
    keyActionPanel.addActionPanelListener(this);
  }
View Full Code Here

    keyActionPanel.addKey(KeyEvent.VK_L, stimulusInfo[9], stimulusInfo[10]);
    keyActionPanel.addActionPanelListener(this);
  }

  private void initNone() {
    keyActionPanel = new KeyActionPanel();
    keyActionPanel.addKey(KeyEvent.VK_RIGHT, "Weiter", "");
    keyActionPanel.addActionPanelListener(this);
  }
View Full Code Here

    keyActionPanel.addKey(KeyEvent.VK_RIGHT, "Weiter", "");
    keyActionPanel.addActionPanelListener(this);
  }

  private void initRatingScale(int scale) {
    keyActionPanel = new KeyActionPanel();

    for (int i = 0; i < (scale * 2); i = i + 2) {
      int j = 7 + i;
      keyActionPanel.addKey(translateToKeyEvent(Integer
          .parseInt(stimulusInfo[j])), "", stimulusInfo[j + 1]);
View Full Code Here

  private void initComponents() {
    // question panel
    htmlPanel = new HTMLPanel();

    // action panel
    actionPanel = new KeyActionPanel();
    actionPanel.addActionPanelListener(this);
  }
View Full Code Here

    inputActionPanel.setTextDocument(250, InputActionPanel.FORMAT_ALL);
    inputActionPanel.addActionPanelListener(this);
  }

  private void initBinaryScale() {
    keyActionPanel = new KeyActionPanel();
    keyActionPanel.addKey(KeyEvent.VK_A, stimulusInfo[7], stimulusInfo[8]);
    keyActionPanel.addKey(KeyEvent.VK_L, stimulusInfo[9], stimulusInfo[10]);
    keyActionPanel.addActionPanelListener(this);
  }
View Full Code Here

    keyActionPanel.addKey(KeyEvent.VK_L, stimulusInfo[9], stimulusInfo[10]);
    keyActionPanel.addActionPanelListener(this);
  }

  private void initNone() {
    keyActionPanel = new KeyActionPanel();
    keyActionPanel.addKey(KeyEvent.VK_RIGHT, "Weiter", "");
    keyActionPanel.addActionPanelListener(this);
  }
View Full Code Here

    keyActionPanel.addKey(KeyEvent.VK_RIGHT, "Weiter", "");
    keyActionPanel.addActionPanelListener(this);
  }

  private void initRatingScale(int scale) {
    keyActionPanel = new KeyActionPanel();

    for (int i = 0; i < (scale * 2); i = i + 2) {
      int j = 7 + i;
      keyActionPanel.addKey(translateToKeyEvent(Integer
          .parseInt(stimulusInfo[j])), "", stimulusInfo[j + 1]);
View Full Code Here

TOP

Related Classes of ch.tatool.core.display.swing.action.KeyActionPanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.