MUtilities

MATLAB access to selected Java SwingUtilities, AWTUtilities and similar functions for HG objects
ダウンロード: 981
更新 2010/8/23

ライセンスの表示

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.

引用

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

MATLAB リリースの互換性
作成: R2006a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersMigrate GUIDE Apps についてさらに検索
タグ タグを追加
謝辞

ヒントを与えたファイル: ThreeVector

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

Apologies: Mac OS junk files/folders removed from zip