IActionHandler provides functionality for various mouse events.
Methods
Name |
Description |
Executed when mouse enter in area of a visual element |
|
Executed when mouse leave area of a visual element |
|
Executed when mouse move in area of a visual element |
|
Executed when mouse left button is pressed in area of a visual element |
|
Executed when mouse left button is released in area of a visual element |
|
Specifies if mouse events are registered for a rectangle element |
|
Specifies if mouse events are registered for a ellipse element |
|
Specifies if mouse events are registered for a line element |
|
Specifies if mouse events are registered for a text element |
|
Specifies if mouse events are registered for a path element |
|
Specifies if mouse events are registered for a image element |
This method is executed when the mouse enters the area of a visual element accepted by the plugin
Boolean MouseEnter(Object sender, MouseEventArgs e);
|
Return Value
Returns false if the last method call for this event should be this method
Returns true if the plugin allows other plugins to execute their own methods for this event
Parameters
sender
Visual element over which the mouse enters (such as a rectangle or other visual element)
e
Mouse event arguments providing information about the event
This method is executed when the mouse exits the area of a visual element accepted by the plugin
Boolean MouseLeave(Object sender, MouseEventArgs e);
|
Return Value
Returns false if the last method call for this event should be this method
Returns true if the plugin allows other plugins to execute their own methods for this event
Parameters
sender
Visual element from over which the mouse leaves (such as a rectangle or other visual element)
e
Mouse event arguments providing information about the event
This method is executed when the mouse is moving over the area of a visual element accepted by the plugin
Boolean MouseMove(Object sender, MouseEventArgs e);
|
Return Value
Returns false if the last method call for this event should be this method
Returns true if the plugin allows other plugins to execute their own methods for this event
Parameters
sender
Visual element over which the mouse is moving (such as a rectangle or other visual element)
e
Mouse event arguments providing information about the event
This method is executed when the mouse left button is pressed over the area of a visual element accepted by the plugin
Boolean MouseLeftButtonDown(Object sender, MouseButtonEventArgs e);
|
Return Value
Returns false if the last method call for this event should be this method
Returns true if the plugin allows other plugins to execute their own methods for this event
Parameters
sender
Visual element over which the left mouse button is pressed (such as a rectangle or other visual element)
e
Mouse event arguments providing information about the event
This method is executed when mouse left button is released over the area of a visual element accepted by the plugin
Boolean MouseLeftButtonUp(Object sender, MouseButtonEventArgs e);
|
Return Value
Returns false if the last method call for this event should be this method
Returns true if the plugin allows other plugins to execute their own methods for this event
Parameters
sender
Visual element over which the left mouse button is released (such as a rectangle or other visual element)
e
Mouse event arguments providing information about the event
Specifies if mouse events should be registered for all rectangle elements or not
Boolean RegisterEventsForRectangle();
|
Return Value
Returns true if plugin need an event for Rectangle
Returns false if plugin don't need an event for Rectangle
Specifies if mouse events should be registered for all ellipse elements or not
Boolean RegisterEventsForEllipse();
|
Return Value
Returns true if the plugin needs an event for Ellipse
Returns false if the plugin doesn't need an event for Ellipse
Specifies if mouse events should be registered for all line elements or not
Boolean RegisterEventsForLine();
|
Return Value
Returns true if the plugin needs an event for Line
Returns false if the plugin doesn't need an event for Line
Specifies if mouse events should be registered for all text elements or not
Boolean RegisterEventsForText();
|
Return Value
Returns true if the plugin needs an event for Text
Returns false if the plugin doesn't need an event for Text
Specifies if mouse events should be registered for all path elements or not
Boolean RegisterEventsForPath();
|
Return Value
Returns true if the plugin needs an event Path
Returns false if the plugin doesn't need an event for Path
Specifies if mouse events should be registered for all image elements or not
Boolean RegisterEventsForImage();
|
Return Value
Returns true if the plugin needs an event Image
Returns false if the plugin doesn't need an event for Image