FigureExplorer

Convenience class for operations on java based, hg2 figures
3 Downloads
Updated 3 Feb 2023

View License

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

Cite As

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

MATLAB Release Compatibility
Created with R2022a
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0