SpinnerDemo

版本 1.0.0.0 (3.2 KB) 作者: Yair Altman
A utility that demonstrates usage of Java Spinner controls in Matlab
1.8K 次下载
更新时间 2010/3/16

查看许可证

SpinnerDemo demonstrates the usage of Java spinner controls (javax.swing.JSpinner) in a Matlab application. The demo includes three spinners with different data models: List (cell array of strings), Number and Date. The spinners are interconnected using their StateChangedCallback so that modifying one spinner automatically affects the others.

In addition, this utility demonstrates how to assign keyboard mnemonics (hot-keys) to a label and attach it to the spinner control. HTML tooltips are also demonstrated (on the labels).

This utility also demonstrates how to set-up the useful feature of closing a figure window with the <ESC> key.

This utility was inspired by the official Java demonstration of JSpinner: http://java.sun.com/docs/books/tutorial/uiswing/components/spinner.html

Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)

引用格式

Yair Altman (2024). SpinnerDemo (https://www.mathworks.com/matlabcentral/fileexchange/26970-spinnerdemo), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Electromechanical 的更多信息
标签 添加标签

Community Treasure Hunt

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

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