Interface CollectionList.Model<E,​S>

  • Enclosing class:
    CollectionList<S,​E>

    public static interface CollectionList.Model<E,​S>
    Provides the logic to map a parent object (e.g. an album) to its children (e.g. the songs on the album). Serves basically the same purpose as TreeModel does to a JTree in Swing.
    See Also:
    CollectionList, GlazedLists.listCollectionListModel()
    • Method Detail

      • getChildren

        java.util.List<S> getChildren​(E parent)
        Return a list of the child nodes for a parent node.
        Parameters:
        parent - the parent node.
        Returns:
        a List containing the child nodes.