Class NavigationKeys

java.lang.Object
de.knightsoftnet.mtwidgets.client.ui.handler.NavigationKeys

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

    • NavigationKeys

      public NavigationKeys()
      default constructor.
  • Method Details

    • 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 keyCode)
      check if key value is a navigation key.
      Parameters:
      keyCode - code of the key
      Returns:
      true if it's a navigation key