Class KeyEventManager


  • public class KeyEventManager
    extends EventManager
    Insert the type's description here. Creation date: (18.12.2000 16:23:24)
    Author:
    Matej Sekoranja
    • Constructor Detail

      • KeyEventManager

        public KeyEventManager()
    • Method Detail

      • getInstance

        public static KeyEventManager getInstance()
        Insert the method's description here. Creation date: (18.12.2000 15:30:35)
        Returns:
        com.cosylab.vdct.events.KeyEventManager
      • registerSubscriber

        public void registerSubscriber​(String id,
                                       JComponent component)
        Insert the method's description here. Creation date: (18.12.2000 16:12:53)
        Parameters:
        id - java.lang.String
        component - javax.swing.JComponent
      • subscribe

        public void subscribe​(String subscriberID,
                              KeyListener listener)
        Insert the method's description here. Creation date: (18.12.2000 16:25:04)
        Parameters:
        subscriberID - java.lang.String
        listener - java.awt.KeyListener
      • unregisterSubscriber

        public void unregisterSubscriber​(String id,
                                         JComponent component)
        Insert the method's description here. Creation date: (18.12.2000 16:12:53)
        Parameters:
        id - java.lang.String
        component - javax.swing.JComponent
      • unsubscribe

        public void unsubscribe​(String subscriberID,
                                KeyListener listener)
        Insert the method's description here. Creation date: (18.12.2000 16:25:04)
        Parameters:
        subscriberID - java.lang.String
        listener - java.awt.KeyListener