>> - The selection state of a ListView or TableView is represented as a >> collection of integers, whereas in TreeView it is a collection of lists of >> integers. So you could probably share selection management code pretty >> easily between ListView and TableView, but maybe not TreeView. > Yes I know that Tree has a different way to handle data inside
The public API is different, not just the implementation details. List/table selection is via index, whereas tree selection is via path. >> FYI, you can already do something like this by passing a Bean type to the >> JSONSerializer constructor. When given such a type, JSONSerializer will read >> and write data from and to the Bean's properties rather than from and to >> untyped objects like Map and List. > But even for not directly supported data types in JSON (like Date, > Calendar, BigInteger, BigDecimal, etc) ? I believe the Number types are supported already. The JSON spec does define date or calendar types, so JSONSerializer does not support them.
