MUtilities

MATLAB access to selected Java SwingUtilities, AWTUtilities and similar functions for HG objects
983 Descargas
Actualizado 23 ago 2010

Ver licencia

MUtilities is a MATLAB class that provides a collection of static methods similar to, and including some of those in the Java SwingUtilities and the new AWTUtilities collections.

----------------------------------------------------------------------------------
Note
Some MUtilities methods require the kcl.jar file for Project Waterloo. This is available as a Netbeans project with source code or as a compiled jar file at https://sourceforge.net/projects/waterloo/

This provides access to the Sun AWTUtilities and some open-source functions available from the Oracle website.
Project Waterloo is under development and will grow in the near future. The present files have been posted only for use with these MUtilties.
---------------------------------------------------------------------------------

The description below is for Version 3 of the MUtilities code which is suitable for R2008a onwards. If you have an earlier MATLAB version, use Version 1 or 2 as appropriate (see README.html). Not all functions will work unless you have JRE 1.6.10 or later.

MUtilities is a simple gateway to two superclasses

[1] MUtil which provides about 30 miscellaneous functions for manipulating MATLAB figures and other graphics

Examples:
MUtilities.setFigureFade(figurehandle, 0.1);
Make a figure transparent in steps until alpha=0.1

MUtilities.findBelow(x,y)
Return the handles of all MATLAB HG objects below screen location (x,y)

MUtilities.getFigureWindow(figurehandle)
Return the AWT Window for the specified figure

[2] LookAndFeel
This class provides mechanisms to set and examine the Java Look and Feel in MATLAB. This is included for experiment only: changing the Look and Feel is likely to cause all sorts of problems and is not recommended.
The problems associated with changing the L&F are OS dependent. Expect lots of exceptions on Windows, and reduced functionality e.g. with ComboBoxes on Mac.

Acknowledgment: In writing these functions I made extensive use of Yair Altman's findjobj function.

Citar como

Malcolm Lidierth (2024). MUtilities (https://www.mathworks.com/matlabcentral/fileexchange/28326-mutilities), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2006a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas
Agradecimientos

Inspiración para: ThreeVector

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.2.0.0

Apologies: Mac OS junk files/folders removed from zip