Interface IKeyConflictContext
-
- All Known Implementing Classes:
KeyConflictContext
public interface IKeyConflictContext
Defines the context that aKeyBinding
is used. Key conflicts occur when aKeyBinding
has the sameIKeyConflictContext
and has conflicting modifiers and keyCodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
conflicts(IKeyConflictContext other)
boolean
isActive()
-
-
-
Method Detail
-
isActive
boolean isActive()
- Returns:
- true if conditions are met to activate
KeyBinding
s 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.
-
-