Class TLcdFlatListTreeModel

java.lang.Object
com.luciad.view.swing.TLcdFlatListTreeModel
All Implemented Interfaces:
TreeModel

public class TLcdFlatListTreeModel extends Object implements TreeModel

A TreeModel for a tree based on an ILcdLayered instance, which can be used to visualise the layers in the ILcdLayered using a JTree. It will only show the flat structure of the layers in the ILcdLayered. When for example an ILcdLayerTreeNode with children is contained in the ILcdLayered, it will only show the ILcdLayerTreeNode and not its child nodes.

This model also adds a listener to the ILcdLayered instance, and converts all the TLcdLayeredEvents originating from it into the corresponding TreeModelEvents which are passed to the TreeModelListeners registered to this model.

Since:
9.0