class_docstr: Base class for all user interface controls.
class_docstr_tok: ["Base","class","for","all","user","interface","controls","."]
docstr: Handle mouse events.
  
  When `NotImplemented` is returned, it means that the given event is not
  handled by the `UIControl` itself. The `Window` or key bindings can
  decide to handle this event as scrolling or changing focus.
  
  :param cli: `CommandLineInterface` instance.
  :param mouse_event: `MouseEvent` instance.
docstr_tok: ["Handle","mouse","events",".","When","`","NotImplemented","`","is","returned",",","it","means","that","the","given","event","is","not","handled","by","the","`","UIControl","`","itself",".","The","`","Window","`","or","key","bindings","can","decide","to","handle","this","event","as","scrolling","or","changing","focus",".",":","param","cli",":","`","CommandLineInterface","`","instance",".",":","param","mouse_event",":","`","MouseEvent","`","instance","."]
code: def mouse_handler(self, cli, mouse_event):
      """
      Handle mouse events.
  
      When `NotImplemented` is returned, it means that the given event is not
      handled by the `UIControl` itself. The `Window` or key bindings can
      decide to handle this event as scrolling or changing focus.
  
      :param cli: `CommandLineInterface` instance.
      :param mouse_event: `MouseEvent` instance.
      """
      return NotImplemented
  
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from collections import namedtuple
  from six import with_metaclass
  from six.moves import range
  from prompt_toolkit.cache import SimpleCache
  from prompt_toolkit.enums import DEFAULT_BUFFER, SEARCH_BUFFER
  from prompt_toolkit.filters import to_cli_filter
  from prompt_toolkit.mouse_events import MouseEventType
  from prompt_toolkit.search_state import SearchState
  from prompt_toolkit.selection import SelectionType
  from prompt_toolkit.token import Token
  from prompt_toolkit.utils import get_cwidth
  from .lexers import Lexer, SimpleLexer
  from .processors import Processor
  from .screen import Char, Point
  from .utils import token_list_width, split_lines, token_list_to_text
  import six
  import time
label_desc: Use image node_id 6 for calling the UIControl obj's underlying member method code with example usage: obj.mouse_handler(cli, mouse_event) and returns: NotImplemented