Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
MatrixTree.MatrixCueGestureHandler Class Reference
Inheritance diagram for MatrixTree.MatrixCueGestureHandler:

Protected Member Functions

TreePath[] filterMultipleNodes (TreePath[] sourcePaths)
 
boolean pointTriggersMove (Point p)
 

Detailed Description

The MatrixCueGestureHandler overrides CueTree.CueGestureHandler to filter out children of nodes that are already appart of the move operation, as these nodes will get moved along with their parents.

Author
Marc McIntyre mmcin.nosp@m.tyre.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Definition at line 1923 of file MatrixTree.java.

Member Function Documentation

TreePath [] filterMultipleNodes ( TreePath[]  sourcePaths)
inlineprotected

Filters out nodes that are in a multiple move operation. Nodes will be removed if their parent already exists in the move operation.

Parameters
sourcePathsthe source paths to filter
Returns
the filtered paths

Definition at line 1931 of file MatrixTree.java.

boolean pointTriggersMove ( Point  p)
inlineprotected

Returns true if the specified point will trigger a move operation when the mouse if pressed on that point

Parameters
pthe point to check

Definition at line 1956 of file MatrixTree.java.


The documentation for this class was generated from the following file: