Representation of a single row in TreeList.
If the node is expandable then its children are created asynchronously in a
separate thread to avoid blocking of AWT queue.
Each node provides its own renderer component.
Time in milliseconds to wait for children creation to finish. When the interval
elapses then node's renderer shows an error message.
expandable True if the node provides some children
parent Node's parent or null if this node is root.
- Actions for popup menu, or null to disable popup menu.
This method is called outside AWT thread and may block indefinetely.
The list of children is cached until the call of refreshChildren() method.
- Node's children or an empty list if no children are available,
never returns null.
Invoke this method when node's children must be reloaded.
Creates component that will render this node in TreeList. The component
will be wrapped in another component to add proper background, border and expansion button.
- Component to render this node.
- Action to invoke when Enter key is pressed on selected node in TreeList.
Notification that the loading of this node's children has started.
The method may get called several times without corresponding childrenLoadingFinished()
or childrenLoadingTimedout() calls as the loading thread may get cancelled.
Notification that the loading of this node's children is finished.
Notification that the loading of this node's children has timed out.
Invoked when the node is removed from the model. All listeners should be
Always call super implementation to ensure that children node's (if any)
get disposed properly as well.
boolean childrenLoaded = true;