Graphic component box class
Versión 1.0.0 (57 KB) por
Dan Dolan
This class assists programmatic creation of graphical user interfaces.
This object class allows rapid, programmatic creation of graphical user interfaces. Rather than manually drawing a dialog box in the App Designer, graphical components are added to the box, rastering from left to right in rows stacked from top to bottom. This process allows user to focus on what the dialog box does rather than how it looks. JavaScript components are used exclusively (no legacy uicontrols) for compatiability with MATLAB 2025a and all future releases, as well as previous releases using the new desktop.
Components are automatically sized for a particular amount of content. The sizing process combines specified width (number of characters that must fit) with the current font settings. Fonts can be changed to enhance visibility, e.g. the same dialog box can be generated at different font sizes with minimal effort.
Several static methods illustrate how this class can be used.
- "demonstrate" provides a summary of all the components supported by this class.
- "createExample" generates and displays one of several example functions that generate a specific component box.
Feedback is greatly appreciated.
Citar como
Dan Dolan (2025). Graphic component box class (https://la.mathworks.com/matlabcentral/fileexchange/181641-graphic-component-box-class), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2025a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
@ComponentBox
@ComponentBox/examples
@ComponentBox/private
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
