Examples of addFocusListener()


Examples of org.eclipse.swt.widgets.Tree.addFocusListener()

        // ensure that the tree has a white background
        tree.setBackground(getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
        tree.setLayoutData(new GridData(GridData.FILL_BOTH));
        // add a focus listener to the tree that updates the active editors
        // global actions
        tree.addFocusListener(new FocusListener() {
            // javadoc inherited
            public void focusGained(FocusEvent event) {
                setupGlobalActions();
            }
View Full Code Here

Examples of org.fife.ui.rsyntaxtextarea.RSyntaxTextArea.addFocusListener()

        protected XmlSourceEditorView<?> buildSourceEditor() {
            XmlSourceEditorView<?> editor = getSourceEditor();
            RSyntaxTextArea inputArea = editor.getInputArea();

            inputArea.addFocusListener(new InputAreaFocusListener());

            if (UISupport.isMac()) {
                inputArea.getInputMap().put(KeyStroke.getKeyStroke("control meta TAB"), moveFocusAction);
            } else {
                inputArea.getInputMap().put(KeyStroke.getKeyStroke("control alt TAB"), moveFocusAction);
View Full Code Here

Examples of org.jdesktop.swingx.JXTextField.addFocusListener()

    for (final InputColumn<?> column : _columns) {
      if (column instanceof MutableInputColumn<?>) {
        final JXTextField textField = WidgetFactory.createTextField("Column name");
        textField.setText(column.getName());
        final MutableInputColumn<?> mutableInputColumn = (MutableInputColumn<?>) column;
        textField.addFocusListener(new FocusAdapter() {
          @Override
          public void focusLost(FocusEvent e) {
            if (!mutableInputColumn.getName().equals(textField.getText())) {
              mutableInputColumn.setName(textField.getText());
View Full Code Here

Examples of org.openbp.swing.components.popupfield.JSelectionField.addFocusListener()

          c.addItem(name);
        }
      }
    }

    c.addFocusListener(this);
    if (! readonly)
    {
      c.addActionListener(this);
      c.addKeyListener(this);
      c.addPopupListener(this);
View Full Code Here

Examples of org.pentaho.di.ui.core.widget.StyledTextComp.addFocusListener()

      public void keyReleased(KeyEvent e) {
        updateEditingPosition();
      }
    });
    wScript.addFocusListener(new FocusAdapter() {
      public void focusGained(FocusEvent e) {
        updateEditingPosition();
      }

      public void focusLost(FocusEvent e) {
View Full Code Here

Examples of org.pentaho.openformula.ui.util.InlineEditTextField.addFocusListener()

    }
    paramTextField.setFont
        (new Font(Font.MONOSPACED, paramTextField.getFont().getStyle(), paramTextField.getFont().getSize()));

    final FocusListenerHandler handler = new FocusListenerHandler(paramTextField, parameterPosition);
    paramTextField.addFocusListener(handler);

    if (requestFocus)
    {
      paramTextField.setFocusable(true);
      paramTextField.requestFocusInWindow();
View Full Code Here

Examples of swing.panel.PasswordFieldPanel.addFocusListener()

  }
 
  protected PasswordFieldPanel createPasswordPanel() {
    PasswordFieldPanel temp = new PasswordFieldPanel(getLogin(),getFormResource("LoginForm.PasswordCimke"));
    /// Ha az utols� mez�n�l enter �t�nk �s minden mez� helyesen van kit�ltve akkor bel�p�s.
    temp.addFocusListener(
      new FocusListener() {
        public void focusGained(FocusEvent e) {
        }

        public void focusLost(FocusEvent e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.