Interface IKeyConflictContext
- All Known Implementing Classes:
KeyConflictContext
public interface IKeyConflictContext
Defines the context that a
KeyMapping
is used.
Key conflicts occur when a KeyMapping
has the same IKeyConflictContext
and has conflicting modifiers and keyCodes.-
Method Summary
Modifier and TypeMethodDescriptionboolean
conflicts
(IKeyConflictContext other) boolean
isActive()
-
Method Details
-
isActive
boolean isActive()- Returns:
- true if conditions are met to activate
KeyMapping
s with this context
-
conflicts
- Returns:
- true if the other context can have
KeyMapping
conflicts with this one. This will be called on both contexts to check for conflicts.
-