com.inmethod.grid.treegrid.AbstractTreeGridRow Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicketstuff-inmethod-grid Show documentation
Show all versions of wicketstuff-inmethod-grid Show documentation
Advanced grid components for Apache Wicket
The newest version!
package com.inmethod.grid.treegrid;
import org.apache.wicket.model.IModel;
import com.inmethod.grid.common.AbstractGridRow;
/**
* A row in tree grid.
*
* @param
* grid model object type
* @param
* row/item model object type
*
* @author Matej Knopp
*/
public abstract class AbstractTreeGridRow extends AbstractGridRow
{
private static final long serialVersionUID = 1L;
private final int level;
/**
* Constructor
*
* @param id
* @param model
* @param level
*/
public AbstractTreeGridRow(String id, IModel model, int level)
{
super(id, model);
this.level = level;
}
/**
* Returns a depth level of the node belonging to this row.
*
* @return tree node level
*/
public int getLevel()
{
return level;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy