DroidDiagram Programmer's Guide
InteractionState Members
Constructors Methods
 


Encapsulates the current state of user interaction with the control.

The following tables list the members exposed by the InteractionState type.

 Public Constructors

  Name Description

InteractionState

Initializes a new InteractionState instance.

 Public Methods

  Name Description

getAction

Gets a value indicating what action is currently being performed.

getAdjustmentHandle

Gets the adjustment handle being dragged by the user.

getCurrentItem

Gets the item being created or modified.

getDiagram

Gets the current Diagram instance.

getInvalidRect

Gets the area that should be repainted.

getLinkTarget

Gets the current target node when a link is being modified.

getPointerMoved

Gets a value indicating whether the mouse pointer has moved since the user pressed down the mouse button

getSkipSavingState

Gets a value indicating whether diagram items should skip storing their state for subsequent cancel.

getStartPoint

Gets the coordinates of the point where the modification has started.

setLinkTarget

Sets the current target node when a link is being modified

setPointerMoved

Sets a value indicating whether the mouse pointer has moved since the user pressed down the mouse button

 See Also

InteractionState Class
com.mindfusion.diagramming Namespace