C# Class Treefrog.Presentation.Controllers.PointerEventController

Mostrar archivo Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
PointerEventController ( IPointerTarget target ) : System
TargetMouseClick ( object sender, MouseEventArgs e ) : void
TargetMouseDown ( object sender, MouseEventArgs e ) : void
TargetMouseLeave ( object sender, EventArgs e ) : void
TargetMouseMove ( object sender, MouseEventArgs e ) : void
TargetMouseUp ( object sender, MouseEventArgs e ) : void
TranslatePosition ( Point position ) : Point
UntranslatePosition ( Point position ) : Point

Private Methods

Method Description
GetPointerType ( MouseButtons button ) : PointerEventType

Method Details

PointerEventController() public method

public PointerEventController ( IPointerTarget target ) : System
target IPointerTarget
return System

TargetMouseClick() public method

public TargetMouseClick ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

TargetMouseDown() public method

public TargetMouseDown ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

TargetMouseLeave() public method

public TargetMouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

TargetMouseMove() public method

public TargetMouseMove ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

TargetMouseUp() public method

public TargetMouseUp ( object sender, MouseEventArgs e ) : void
sender object
e MouseEventArgs
return void

TranslatePosition() public method

public TranslatePosition ( Point position ) : Point
position Point
return Point

UntranslatePosition() public method

public UntranslatePosition ( Point position ) : Point
position Point
return Point