Package net.suberic.util.gui

Examples of net.suberic.util.gui.ConfigurableKeyBinding


   */
  public MessagePanel() {
    //this.setAutoscrolls(true);
    this.setSize(1000, 1000);

    keyBindings = new ConfigurableKeyBinding(this, "ContentPanel.keyBindings", Pooka.getResources());
    //keyBindings.setCondition(JComponent.WHEN_IN_FOCUSED_WINDOW);
    keyBindings.setActive(getActions());

    Pooka.getHelpBroker().enableHelpKey(this, "ui.messagePanel", Pooka.getHelpBroker().getHelpSet());

View Full Code Here


    mTransferHandler = new net.suberic.pooka.gui.dnd.FolderTransferHandler();
    folderTree.setDropTarget(mDropTarget);

    folderTree.setTransferHandler(mTransferHandler);

    keyBindings = new ConfigurableKeyBinding(this, "FolderPanel.keyBindings", Pooka.getResources());
    keyBindings.setActive(getActions());

    // if the FolderPanel itself ever gets focus, pass it on to the
    // folderTree.
    this.addFocusListener(new FocusAdapter() {
View Full Code Here

    layout.putConstraint(SpringLayout.WEST, editorScrollPane, BORDER, SpringLayout.WEST, this);
    layout.putConstraint(SpringLayout.EAST, this, BORDER, SpringLayout.EAST, editorScrollPane);

    layout.getConstraints(headerScrollPane).setWidth(layout.getConstraints(editorScrollPane).getWidth());

    keyBindings = new ConfigurableKeyBinding(this, "ReadMessageWindow.keyBindings", Pooka.getResources());
    keyBindings.setActive(getActions());

    // add up and down arrow scrolling.
    KeyStroke upArrowStroke = KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_UP, 0);
    KeyStroke downArrowStroke = KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_DOWN, 0);
View Full Code Here

              editorPane.requestFocusInWindow();
          }
        }
      });

    keyBindings = new ConfigurableKeyBinding(this, "NewMessageWindow.keyBindings", Pooka.getResources());
    //keyBindings.setCondition(JComponent.WHEN_IN_FOCUSED_WINDOW);

    keyBindings.setActive(getActions());

  }
View Full Code Here

TOP

Related Classes of net.suberic.util.gui.ConfigurableKeyBinding

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.