List of usage examples for java.awt.event KeyListener interface-usage
From source file UndoableTextArea.java
class UndoableTextArea extends JTextArea implements UndoableEditListener, FocusListener, KeyListener { private UndoManager m_undoManager; public UndoableTextArea() { this(new String()); }
From source file com.mirth.connect.client.ui.components.KeyStrokeTextField.java
public class KeyStrokeTextField extends JTextField implements KeyListener { private static final int[] modifierKeyCodes = new int[] { KeyEvent.VK_SHIFT, KeyEvent.VK_CONTROL, KeyEvent.VK_ALT, KeyEvent.VK_ALT_GRAPH, KeyEvent.VK_META }; private static final int[] modifierMasks = new int[] { InputEvent.SHIFT_MASK, InputEvent.CTRL_MASK, InputEvent.ALT_MASK, InputEvent.ALT_GRAPH_MASK, InputEvent.META_MASK };
From source file mainDraw.java
public class Main extends JFrame implements KeyListener { private mainDraw draw; public void keyPressed(KeyEvent e) { System.out.println("keyPressed"); }
From source file org.slage.ui.AsyncKeyAction.java
/** * Defines an Action that can be performed using asynchronous key input. * * @author <a href="mailto:Matt@SQ7.org">Matt Holden</a> */ public class AsyncKeyAction implements KeyListener, NamedObject {
From source file MyButtonUI.java
public class MyButtonUI extends BasicButtonUI implements java.io.Serializable, MouseListener, KeyListener { private final static MyButtonUI m_buttonUI = new MyButtonUI(); protected Border m_borderRaised = UIManager.getBorder("Button.border");
From source file org.jcurl.core.gui.SimpleKeys.java
/**
* A first, simple keyboard input class. Uses a
* {@link org.jcurl.core.gui.RealTimePlayer}to play.
*
* @see org.jcurl.demo.viewer.ViewerApp
* @author <a href="mailto:jcurl@gmx.net">M. Rohrmoser </a>
From source file org.jcodec.player.app.PlayerMain.java
/**
* This class is part of JCodec ( www.jcodec.org ) This software is distributed
* under FreeBSD License
*
* @author The JCodec project
*
From source file org.jcurl.mr.gui.MouseSketchPanel.java
/**
* Draw lines if the "hot" key is pressed.
*
* @author <a href="mailto:m@jcurl.org">M. Rohrmoser </a>
* @version $Id:MouseSketchPanel.java 378 2007-01-24 01:18:35Z mrohrmoser $
*/
From source file net.sf.maltcms.chromaui.charts.events.DomainMarkerKeyListener.java
/** * * @author nilshoffmann */ public class DomainMarkerKeyListener implements KeyListener, XYItemEntityEventSource {
From source file org.jcurl.mr.exp.gui.MouseSketchPanel.java
/**
* Draw lines if the "hot" key is pressed.
*
* @author <a href="mailto:jcurl@gmx.net">M. Rohrmoser </a>
* @version $Id$
*/