
com.extjs.gxt.ui.client.data.TreeLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Sencha GXT 2.3.1 - Sencha for GWT
* Copyright(c) 2007-2013, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.extjs.gxt.ui.client.data;
import java.util.List;
/**
* A Loader
for trees.
*
* @param the ModelData
of the models being returned by the
* loader
*/
public interface TreeLoader extends Loader> {
/**
* Returns whether the given model has children.
*
* @param parent the parent model
* @return true if the given parent has children, and false if it has no
* children
*/
public boolean hasChildren(M parent);
/**
* Initiates a load request for the parent's children.
*
* @param parent the parent
* @return true if the load was requested
*/
public boolean loadChildren(M parent);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy