Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.232.586 Times

Mouse Motion Handler 1.0

  Date Added: May 02, 2013  |  Visits: 400

Mouse Motion Handler

Report Broken Link
Printer Friendly Version


Product Homepage
Download (47 downloads)



MouseMotionHandler is a MATLAB class that uses a MATLAB figured-deOaos WindowButtonMotionFcn callback as a hook to extend button motion functionality to all handle graphics child objects of a figure including axes, lines, surfaces uipanels, uicontrols etc.MouseMotionHandler provides an alternative to chaining callbacks or having a lengthy switch block in a WindowButtonMotionFcn callback to manage mouse motion effects. MouseMotionHandler puts its own callback into a figure's WindowButtonMotionFcn property. This callback manages the servicing of callbacks for other objects in the figure. It actively determines what is beneath the mouse then invokes a user-specified callback for that object, if one is set.Specify these objects and their mouse motion callbacks using the MouseMotionHandler add and put methods as described below.A WindowButtonMotionFcn object is created simply by calling its constructor with the figure handle as input:>> obj=MouseMotionHandler(hFig);Button motion callbacks can then be assigned for child objects of the figure (and for the figure itself) using the MouseMotionHandler class add or static put method:obj.add(hObj, {@MyFunction, arg1, arg2d-deTZ});orMouseMotionHandler.put(hFig, hObj, {@MyFunction, arg1, arg2d-deTZ});where hObj is the target objectd-deOaos handle (or a vector of handles) and {@MyFunction, arg1, arg2d-deTZ}) is the standard MATLAB cell array construct for setting up a callback (strings and function handles can also be used as usual).The user-specified callback will be invoked whenever the mouse moves over the target object (pressed or not).Callbacks can also be assigned according to the Tag and Type properties of the objects (in which case the objects need not have been instantiated at the time of the add or put call).Any number of add or put calls can be made for each figure and these calls can be made at any the point in your code. Most typically they will be made in the functions that create the relevant objects. This should greatly aid code readability and maintenance with complex GUIs and it avoids the need to have a separate cumbersome WindowButtonMotionFcn callback dealing with all objects in a lengthy switch block.MouseMotionHandler also extends the functionality of the standard WindowButtonMotionFcn callback: its internal logic discriminates between mouse entered, moved and exited calls (see the help text for details).MouseMotionHandler works alongside the standard MATLAB FigureToolManager. You can pan/zoom/rotate graphics as usual. It has no affect on any callbacks other than the figure WindowButtonMotionFcn. Other figure callbacks, and all HG child object callbacks , are unaffected as are mouse event callbacks from any Java objects incorporated into the figure.For illustration, the code includes a static method that can be called to illustrate its use. Type:>> MouseMotionHandler.demo();at the command prompt.This code was developed as part of Project Waterloo, which itself is part of the sigTOOL project at King's College London. (http://sigtool.sourceforge.net/).

Requirements: No special requirements
Platforms: Matlab
Keyword: Avoids Blockmousemotionhandler Complex Create Cumbersome Dealing Extends Functions Greatly Internal Invoked Logic Maintenance Point Readability Relevant Separate Typically
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


MOUSE MOTION HANDLER RELATED
Multimedia & Graphics  -  Badog SpiroGraphic CNC DXF Writer 1.2
Badog SpiroGraphic CNC DXF Writer allows you to easily add standard or complex geometric shape designs and functions to your CNC project. The models exported are standard DXF models that can be added to your assembly drawing or 2D entities. You...
2.93 MB  
Development Tools  -  Numerical Analysis Functions 1 1.0
Numerical analysis functions that employ the Bisection, Fixed-point, Newton-Raphson, and Muller's methods. Each returns a root for a given function, and optionally a iteration table.*** Symbolic Toolbox is NOT REQUIRED ***
10 KB  
Backup Utilities  -  PCL Magic Printer Drivers 13.05
PCL Magic Printer Drivers: A print-to-text driver that extracts Unicode and UTF-8 text from any Windows application. Migrate text from legacy applications or create text searchable PDF files with internal and external index files. PCL Magic is...
40.55 MB  
Graphics Plugins  -  Vue Pioneer 7.4
Create vast expanses of terrains, add trees, select the best point of view and render hyper-realistic images of your landscapes in moody atmospheres in a few mouse clicks. Vue 7 Pioneer is a great way to learn 3D. It's so easy to use that you'll...
464.34 MB  
Multimedia & Graphics  -  MPV's Logic Pro 101 Tutorial 1.0
With its all-in-one interface, enhanced editing functions, and low price, Logic Pro (part of Logic Studio) is making waves in the audio editing community. This tutorial program covers important Level 1 aspects of editing, recording, mixing, and...
821 MB  
Libraries  -  Oracle Aggregate C++ Library Beta1
Oracle Aggregate C++ Library allows C++ programmers to easily create new aggregate functions for Oracle. Oracle Aggregate C++ Library can be used as a glue library to existing C++ and C libraries. Detailed knowledge of the OCI aggregate...
98.3 KB  
Libraries  -  HTML::QuickTable 1.12
HTML::QuickTable is a Perl module to quickly create fairly complex HTML tables. SYNOPSIS use HTML::QuickTable; my $qt = HTML::QuickTable->new( table_width => 95%, # opt method 1 td => {bgcolor => gray}, # opt method 2 font_face => arial,...
14.34 KB  
Programming  -  EventChain Rev 1.0
EventChain is a library that allows programmers to create event objects and/or handle events raised by those objects. Event chaining (or bubbling) mechanism works similar to languages that have built-in event mechanism (like C#, Visual Basic and...
92.16 KB  
Libraries  -  dougnet 1.0
dougnet provides a collection of networking functions. dougnet is a collection of useful functions to helping programmers make their programs network enabled quickly and easily. It can be directly embedded into a program, creating no hassle...
12.29 KB  
Development Tools  -  Complex fsolve 1.0
Usage is as fsolve. The difference is that it can compute solutions in C^m for m-variables. Input can be both anonymous functions and symbolic equations. Subsequent calls to this function in a matlab session will not cause the recomputation of the...
10 KB  
NEW DOWNLOADS IN SCRIPTS, MULTIMEDIA
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Multimedia  -  isimSoftware CountDown Timer 1.0.2
isimSoftware CountDown Timer isimSoftware countdown timer for Windows, written for show operators by a show operator. Simple intuitive user interface with plenty of options hidden underneath. Displays time remaining, current time and a message...
421 KB  
Multimedia  -  Audio Reader XL 2020 20.0.1
Text to Speech Software Audio Reader XL reads aloud text easily. It’s text to speech software for reading eBooks, texts, web pages, and creating MP3s. The voice aloud reader read-aloud any kind of texts like - Any kind of texts - TXT text -...
73.26 MB  
Multimedia  -  Multi Level Meter Bridge 2020
With the new function Peak Detector you can control very accurate the Input of different Levels in a control rooms. Correlation Meter, In a logfile you are able to comprehend when and what kind of Level is under a threshold. PAS Multi Meter Bridge...
5.29 MB  
Multimedia  -  Spectrum Analyzer pro Live 2020
Spectrum Analyzer Pro Live turn your PC into a cutting-edge sound analysis tool! Dante WDM If you are a professional musician, acoustics expert or just a hi-fi enthusiast who wants to make sure that his audio system is perfectly tuned and plays...
12.86 MB  
Multimedia  -  Graphic Equalizer Studio 2020
you can run any windows sound application or DVD Player software above the Equalizer. The Equalizer will correct the audio stream automatic and will include the Limiter and the compressor to be sure, that the audio signal is not to loud or not to...
25.72 MB