Examples of SwingEventManager


Examples of org.malai.swing.interaction.SwingEventManager

    setColumns(1);
    setBorder(null);
    getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, InputEvent.SHIFT_MASK), "insertBreakLD"); //$NON-NLS-1$
    getActionMap().put("insertBreakLD", new DefaultEditorKit.InsertBreakAction()); //$NON-NLS-1$
    addKeyListener(new TextAreaKeyListener());
    eventManager = new SwingEventManager();
    eventManager.attachTo(this);

    msg.setEditable(false);
    msg.setFocusable(false);
    msg.setBorder(null);
View Full Code Here

Examples of org.malai.swing.interaction.SwingEventManager

   * @throws IllegalArgumentException If the given canvas is null.
   */
    protected ScaleRuler(final ICanvas canvas) {
    super();
    this.canvas  = Objects.requireNonNull(canvas);
    eventManager = new SwingEventManager();
    eventManager.attachTo(this);
    setDoubleBuffered(true);

    canvas.getScrollpane().getVerticalScrollBar().addAdjustmentListener(this);
    canvas.getScrollpane().getHorizontalScrollBar().addAdjustmentListener(this);
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.