Examples of addKeyListener()


Examples of charva.awt.Window.addKeyListener()

     */
    public void setMnemonic(int mnemonic_) {
  _mnemonic = mnemonic_;
  Window ancestor = super.getAncestorWindow();
  if (ancestor != null) {
      ancestor.addKeyListener(this);
  }
    }

    /** @deprecated Replaced by getText().
     */
 
View Full Code Here

Examples of chrriis.dj.nativeswing.swtimpl.NativeComponent.addKeyListener()

    nativeComponent.addMouseWheelListener(new MouseWheelListener() {
      public void mouseWheelMoved(MouseWheelEvent e) {
        textArea.append(e.toString() + "\n");
      }
    });
    nativeComponent.addKeyListener(new KeyAdapter() {
      @Override
      public void keyPressed(KeyEvent e) {
        textArea.append(e.toString() + "\n");
      }
      @Override
View Full Code Here

Examples of com.alee.laf.list.WebList.addKeyListener()

                                        public void mouseReleased ( final MouseEvent e )
                                        {
                                            commitChanges.run ();
                                        }
                                    } );
                                    historyList.addKeyListener ( new KeyAdapter ()
                                    {
                                        @Override
                                        public void keyReleased ( final KeyEvent e )
                                        {
                                            if ( Hotkey.ENTER.isKeyTriggered ( e ) )
View Full Code Here

Examples of com.amazon.kindle.kindlet.ui.KButton.addKeyListener()

      for (int i = 0; i < commands.size(); i++) {
        Command command = (Command) commands.get(i);
        final KButton btn = new KButton(command.getDescription());
        btn.setFont(new Font(btn.getFont().getName(), Font.BOLD, btn.getFont().getSize() + 6));
        command.setExecuter(this);
        btn.addKeyListener(command);
        // flash button
        btn.addKeyListener(new KeyListener() {
          public void keyTyped(KeyEvent e) {
          }
View Full Code Here

Examples of com.gwtext.client.widgets.form.TextField.addKeyListener()

       
            }
        };

        userName.addKeyListener(KeyboardListener.KEY_ENTER, kl);
        password.addKeyListener(KeyboardListener.KEY_ENTER, kl);

    Button b = new Button(messages.OK());

    b.addClickListener(new ClickListener() {
      public void onClick(Widget arg0) {
View Full Code Here

Examples of com.intellij.ui.components.JBList.addKeyListener()

                System.out.println(e.toString());
                openMappedElement((JSElement) list.getSelectedValue(), classType, project);
            }
        });

        list.addKeyListener(new KeyAdapter()
        {
            @Override public void keyPressed(KeyEvent e)
            {
                if (e.getKeyCode() == KeyEvent.VK_ENTER)
                {
View Full Code Here

Examples of com.jidesoft.editor.CodeEditor.addKeyListener()

    final JPanel j = new JPanel(new BorderLayout());
    j.add(f.getPanel(true), BorderLayout.NORTH);

    // add code
    final CodeEditor code = JRubyPlugin.getCodeEditor(content);
    code.addKeyListener(new KeyListener() {

      @Override
      public void keyTyped(final KeyEvent arg0) {}

      @Override
View Full Code Here

Examples of com.jogamp.newt.opengl.GLWindow.addKeyListener()

        if (TOOLKIT == Toolkit.NEWT || TOOLKIT == Toolkit.NEWT_CANVAS) {
            final GLWindow newt = GLWindow.create(glcaps);

            final NewtListener listener = new NewtListener();
            newt.addKeyListener(listener);
            newt.addMouseListener(listener);

            drawable = newt;
        } else {
            final GLCanvas glCanvas = new GLCanvas(glcaps);
View Full Code Here

Examples of com.sun.star.awt.XWindow.addKeyListener()

     * Is used to add a keylistener to different controls...
     */
    static void addKeyListener(Object control,XKeyListener listener) {
        XWindow xlastControl = (XWindow)UnoRuntime.queryInterface(XWindow.class,
                control );
        xlastControl.addKeyListener(listener);
    }
   

    /**
     * Is used to add a focuslistener to different controls...
View Full Code Here

Examples of com.sun.star.awt.XWindow.addKeyListener()

     */
    public WWD_Events(XMultiServiceFactory xmsf) throws Exception {
        super(xmsf);
        Create c = new Create();
        XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,chkFTP);
        xWindow.addKeyListener(c);
        xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,chkLocalDir);
        xWindow.addKeyListener(c);
        xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,chkZip);
        xWindow.addKeyListener(c);
    }
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.