IActionHandler

Top Previous Topic Next Topic  Print this topic

IActionHandler provides functionality for various mouse events.

       

Methods

 

Name

Description

MouseEnter

Executed when mouse enter in area of a visual element

MouseLeave

Executed when mouse leave area of a visual element

MouseMove

Executed when mouse move in area of a visual element

MouseLeftButtonDown

Executed when mouse left button is pressed in area of a visual element

MouseLeftButtonUp

Executed when mouse left button is released in area of a visual element

RegisterEventsForRectangle

Specifies if mouse events are registered for a rectangle element

RegisterEventsForEllipse

Specifies if mouse events are registered for a ellipse element

RegisterEventsForLine

Specifies if mouse events are registered for a line element

RegisterEventsForText

Specifies if mouse events are registered for a text element

RegisterEventsForPath

Specifies if mouse events are registered for a path element

RegisterEventsForImage

Specifies if mouse events are registered for a image element

 

 

MouseEnter        

 

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                        

 

       

 

MouseLeave

 

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                        

 

 

MouseMove

 

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                        

 

 

MouseLeftButtonDown

 

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                        

 

 

MouseLeftButtonUp

 

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                        

 

 

RegisterEventsForRectangle

       

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

       

 

RegisterEventsForEllipse

       

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

 

 

RegisterEventsForLine

 

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

 

 

RegisterEventsForText

 

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

 

 

 

RegisterEventsForPath

 

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

 

 

RegisterEventsForImage

 

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