Interface AnnotatedMouseHandler


public interface AnnotatedMouseHandler
An interface for handling mouse clicks on AnnotatedTextFieldElements.
  • Method Details

    • handleMouseClick

      boolean handleMouseClick(ProgramLocation location, MouseEvent mouseEvent, ServiceProvider serviceProvider)
      Handles a mouse click for the given program location on an AnnotatedTextFieldElement.
      Parameters:
      location - The program location for the click
      mouseEvent - The mouse event that triggered the mouse click
      serviceProvider - A service provider used to access system services while processing the mouse click
      Returns:
      true if the handler wants to be the only handler processing the click.