FigureExplorer

版本 1.0.0 (9.4 KB) 作者: Collin Pecora
Convenience class for operations on java based, hg2 figures
3.0 次下载
更新时间 2023/2/3

查看许可证

Provides convience functions for java based, hg2 figures,
% Examples;
FigureExplorer(gcf).centerOnScreen();
FigureExplorer(gcf).ensureOnScreen();
FigureExplorer(gcf).ensureOnSingleScreen();
FigureExplorer(gcf).setSize(800,800);
FigureExplorer(gcf).setMinimumSize(800,800);
% add a panel to top, bottom, left or right side of figure
jPanel = FigureExplorer(gcf).add[Top,Bottom,Left,Right]Panel( height, javaComponent);
% add a toolstrip
hToolstrip = FigureExplorer(gcf).addToolstrip();
% retrieve the JFrame
jFrame = FigureExplorer(gcf).FigureFrame;
% set callback for java events
FigureExplorer(gcf).MouseMovedCallback = @(s,e) onMouseMoved(s,e);
% and much more

引用格式

Collin Pecora (2024). FigureExplorer (https://www.mathworks.com/matlabcentral/fileexchange/124361-figureexplorer), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022a
与 R2016b 及更高版本兼容
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0