olduitable

版本 1.0.2 (79.0 KB) 作者: Pablo Baez
Matlab class that implements a Java-based table with an interface similar to the undocumented version of the Matlab's uitable.
175.0 次下载
更新时间 2020/5/31

olduitable implements a wide variety of properties focused on customizing table's appearance.
These properties are: ButtonDownFcn, CellEditCallback, CellSelectionCallback, ColumnAlign, ColumnColor, ColumnEditable, ColumnFormat, ColumnFormatData, ColumnName, ColumnResizable, ColumnSortable, ColumnStriping, ColumnToolTip, ColumnWidth, Data, Enable, FontName, FontSize, FontStyle, ForegroundColor, GridColor, HeaderBackground, HeaderForeground, HeaderGridColor, HeaderSelectionBg, HeaderSelectionFg, KeyPressFcn, KeyReleaseFcn, Parent, Position, RowColor, RowHeight, RowName, RowStriping, SelectionBackground, SelectionForeground, SelectionBorderColor, Tag, UIContextMenu, Units, UserData and Visible.

Besides this class includes useful methods to insert or delete rows and columns, paste blocks of cells or sort columns as a typical spreadsheet, many of them available through a default context menu and keyboard shortcuts.
These methods are: saveInfo, fitAllColumns2Panel, fitColumn2Data, setSelection, getValue, setValue, setCellBg, setCellFg, sortColumn, unsort, paste, cut, insertRows, insertColumns, deleteRows, deleteColumns and loadInfo.

Compared to the undocumented Matlab's uitable, olduitable can be loaded faster when a large amount of data is assigned. Obviously, the official version is the fastest and also uses much less memory space, but if these are not a problem, this class could be a reasonable alternative.

To use this class, once downloaded the rar file we must copy the @olduitable folder to any folder that is in the Matlab search path or use the addpath command.

To prevent conflicts with other Java classes previously added to the dynamic path, is desirable to create (or modify) a custom javaclasspath.txt including the full name of the javaClasses.jar file (this is inside the @olduitable folder), that packages the necessary Java classes for olduitable to work.

For more details run 'doc olduitable' in the command window or go to https://github.com/pbaezr/olduitable/blob/master/README.md

MATLAB 版本兼容性
创建方式 R2015a
与 R2014b 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息
致谢

参考作品: Java-based data table

Community Treasure Hunt

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

Start Hunting!

@olduitable

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.2

Added 'fitColumn2Data' method

1.0.1

Minor details

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库