Related: User Guide (pdf)
Background
The Modelit User Interface Components Toolbox for Matlab extends the number of available components for
GUI building by using java. This is achieved by defining a new object, the jacontrol, which is similar to the Matlab
uicontrol and which acts as an interface between Matlab and Java, effectively hiding the Java implementation
from the user. As a result common Matlab users can use these new components without having any knowledge
of Java.
The Modelit User Interface Components Toolbox for Matlab extends the standard Matlab components with
complex components such as sortable, editable and filterable tables, treetables and trees, editable comboboxes
with autocompletion and webbrowsers. The Modelit User Interface Components Toolbox for Matlab makes use
of the swingx project (http://swinglabs.org) and the glazed lists project (http://publicobject.com/glazedlists).
Overview
The functionality of the User Interface Components Toolbox is accessed through the jacontrol command. This command is designed to operate similar to Matlab's uicontrol command.
Calling convention : [handle]=jacontrol('Style',Value, property, value, property, value,....)
The behavior is controlled by varying the specified style-value. The table below lists the possible style-values and the associated behavior.
|
Style |
Description |
|
JXDatePicker |
Calendar |
|
HyperLink |
Hyperlink |
|
JLabel |
Label or iconified label |
|
DomEcho |
Interactive tree representation of XML data |
|
Browser |
Internet browser supporting dynamic content |
|
JButton |
Pushbutton |
|
JCheckBox |
Box that can be checked or unchecked |
|
JToggleButton |
Pushbutton that shows its state |
|
JRadioButton |
Rounded box that can be checked or unchecked |
|
JProgressBar |
Bar indicating some progress |
|
JSlider |
Slider |
|
JTextArea |
Multiline area to display and edit text. |
|
JEditorPane |
Multiline area to display and edit formatted text. |
|
JPasswordField |
Editable textfield which hides input |
|
JTextField |
Editable textfield |
|
CountDown |
A visual timer that triggers a callback |
|
PieceBar |
An advanced progressbar that can display a series of colored rectangular patches |
|
AutoComboBox |
An editable combobox with autocompletion support |
|
Spinner |
A single line input field that lets the user select a value from an ordered sequence. |
|
JSeparator |
A selectable visual divider |
|
JToolBar |
Toolbar for jacontrol objects |
|
JTabbedPane |
A container for jacontrol objects which can be selected through corresponding tabs |
|
JXtable |
A sortable and filterable table |
User Guide
View user guide: Modelit User Interface Components Toolbox for Matlab


