Class NavigationKeys


  • public class NavigationKeys
    extends Object
    set of navigation keys which have to be allowed.
    Author:
    Manfred Tremmel
    • Constructor Detail

      • NavigationKeys

        public NavigationKeys()
        default constructor.
    • Method Detail

      • getNavigationChars

        public Set<Integer> getNavigationChars()
        get a set of navigation character keys.
        Returns:
        set of characters with navigation keys that shouldn't be blocked
      • isNavigationKey

        public boolean isNavigationKey​(int pkeyCode)
        check if key value is a navigation key.
        Parameters:
        pkeyCode - code of the key
        Returns:
        true if it's a navigation key