Interface IKeyConflictContext

All Known Implementing Classes:
KeyConflictContext

public interface IKeyConflictContext
Defines the context that a KeyBinding is used. Key conflicts occur when a KeyBinding has the same IKeyConflictContext and has conflicting modifiers and keyCodes.
  • Method Details

    • isActive

      boolean isActive()
      Returns:
      true if conditions are met to activate KeyBindings with this context
    • conflicts

      boolean conflicts(IKeyConflictContext other)
      Returns:
      true if the other context can have KeyBinding conflicts with this one. This will be called on both contexts to check for conflicts.