Defines API for sharing of Tree Table View.
Support for tree table view. The view is described via models - TreeModel, TableModel and NodeModel. Filters can be applied to each model - TreeModelFilter, TableModelFilter and NodeModelFilter. The view listens on changes in the models and filters and updates itself accordingly.
Views that show asynchronously loaded children nodes, have problems
with visible refreshes of the children tree.
CachedChildrenTreeModel is introduced to allow seamless
refresh of children tree.
So far the HTML value is automatically retrieved from the value provided
TableModel when the value is a
and contains HTML code. This is not flexible enough and therefore
we separate the value and HTML value by introduction of
In addition to that, this API change also brings a prossibility to provide custom property editor, separately for every value. Two interfaces are introduced for this purpose:
This also implies, that
Models.CompoundModel now implements
In order to be able to fire changes in HTML value and also in r/w state, an additional constructor of
is added, which takes the change mask. Three change masks are defined:
To get the change mask,
method is added.
This API introduce TableRendererModel and TableRendererModelFilter that can be used to provide custom table cell renderers and cell editors.
This API introduce ReorderableTreeModel and ReorderableTreeModelFilter that can be used to alter the order of children nodes.
This API introduce DnDNodeModel and DnDNodeModelFilter that can be used by clients to implement Drag and Drop.
The sources for the module are in the NetBeans Mercurial repositories.
Read more about the implementation in the answers to architecture questions.
Built on November 27 2019. | Copyright © 2017-2019 Apache Software Foundation. All Rights Reserved.