Class KeyNavigator

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

    public class KeyNavigator
    extends javax.swing.AbstractAction
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KeyNavigator​(int keyCode)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void actionPerformed​(java.awt.event.ActionEvent e)  
      static KeyNavigator getKeyNavigator​(int code)  
      protected void processKeyCode​(DField fieldView, org.kopi.galite.visual.form.VField field, javax.swing.text.JTextComponent sharedText)  
      protected org.kopi.galite.visual.Action processSpecificKeyCode​(DField fieldView, org.kopi.galite.visual.form.VField field)
      Subclasses must override this method to process their specific keys they are added by addSpecificNavigationKeys
      • Methods inherited from class javax.swing.AbstractAction

        addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
    • Constructor Detail

      • KeyNavigator

        protected KeyNavigator​(int keyCode)
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
      • processKeyCode

        protected final void processKeyCode​(DField fieldView,
                                            org.kopi.galite.visual.form.VField field,
                                            javax.swing.text.JTextComponent sharedText)
      • processSpecificKeyCode

        protected org.kopi.galite.visual.Action processSpecificKeyCode​(DField fieldView,
                                                                       org.kopi.galite.visual.form.VField field)
        Subclasses must override this method to process their specific keys they are added by addSpecificNavigationKeys
      • getKeyNavigator

        public static KeyNavigator getKeyNavigator​(int code)