接口 IKeyConflictContext

所有已知实现类:
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.
  • 方法详细资料

    • isActive

      boolean isActive()
      返回:
      true if conditions are met to activate KeyMappings with this context
    • conflicts

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