Package de.fu_berlin.inf.dpp.videosharing.activities

Examples of de.fu_berlin.inf.dpp.videosharing.activities.KeyPressedVideoActivity


            switchMode();
            break;
        case KEY_PRESSED:
            String info = infoText.getText();
            if (activity instanceof KeyPressedVideoActivity) {
                KeyPressedVideoActivity key = (KeyPressedVideoActivity) activity;
                if (info == null)
                    info = "";
                infoText.setText(info + key.typedChar);
            }
            break;
View Full Code Here


            }

            public void keyTyped(KeyEvent e) {
                char c = e.getKeyChar();
                if (c != KeyEvent.CHAR_UNDEFINED)
                    sendActivity(new KeyPressedVideoActivity(c));
            }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.videosharing.activities.KeyPressedVideoActivity

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.