|
From: Donal K. F. <don...@ma...> - 2004-09-28 09:54:39
|
Joe English wrote: > There's also the column -values, plus auxilliary data like > the open/closed state and the -image (those might be part of > the display model instead of the data model). Looking at Java (yes, we should learn from them as this is an area where what they've got works tolerably well IME) http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/tree/TreeModel.html we see that they do this sort of separation, keeping the auxiliary data somewhere else (within the JTree component itself as far as I can tell). However, I'm not at all sure that the -image is best part of the aux data. Donal. |