#NEWLINE# def __init__( self , evt = None , relativeToElement = None ) : #NEWLINE# #INDENT# self . _DELIM = ',' #NEWLINE# self . _button = None #NEWLINE# self . _clientX = None #NEWLINE# self . _clientY = None #NEWLINE# self . _altKey = None #NEWLINE# self . _ctrlKey = None #NEWLINE# self . _metaKey = None #NEWLINE# self . _shiftKey = None #NEWLINE# self . _type = None #NEWLINE# self . _relativeX = ( - 1 ) #NEWLINE# self . _relativeY = ( - 1 ) #NEWLINE# if ( evt is None ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( relativeToElement is None ) : #NEWLINE# #INDENT# MouseEventDetails . __init__ ( self , evt , None ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise NotImplementedError #NEWLINE# self . _button = evt . getButton ( ) #NEWLINE# self . _altKey = evt . getAltKey ( ) #NEWLINE# self . _ctrlKey = evt . getCtrlKey ( ) #NEWLINE# self . _metaKey = evt . getMetaKey ( ) #NEWLINE# self . _shiftKey = evt . getShiftKey ( ) #NEWLINE# if ( relativeToElement is not None ) : #NEWLINE# #INDENT# self . _relativeX = self . getRelativeX ( self . _clientX , relativeToElement ) #NEWLINE# self . _relativeY = self . getRelativeY ( self . _clientY , relativeToElement )