Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/DataCageNode.java @ 552:6050d49eaba3
Adapted the ChartInfoService to return more information about charts than before. In addition, the PanControl is added to the chart toolbar.
flys-client/trunk@2066 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 07 Jun 2011 13:26:24 +0000 |
parents | f33af25b7490 |
children | 57ea5af8a967 |
line wrap: on
line source
package de.intevation.flys.client.shared.model; import java.util.List; import java.util.ArrayList; import java.io.Serializable; public class DataCageNode implements Serializable { protected String name; protected List<DataCageNode> children; public DataCageNode() { } public DataCageNode(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } public void addChild(DataCageNode child) { if (children == null) { children = new ArrayList<DataCageNode>(); } children.add(child); } public List<DataCageNode> getChildren() { return children; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :