Mercurial > hg > Members > shoshi > TreeCMS > TreeCMSPrototype1
view src/treecms/proto/api/NodeAPI.java @ 0:f815c7c1fb38
hg init
author | shoshi |
---|---|
date | Fri, 27 Aug 2010 15:26:20 +0900 |
parents | |
children | ebf0e1a8c727 |
line wrap: on
line source
package treecms.proto.api; import java.util.Iterator; import java.util.List; public interface NodeAPI extends Iterable<NodeAPI> { Iterator<NodeAPI> iterator(); List<NodeAPI> getChildList(); boolean isChild(NodeAPI _child); NodeAPI addChild(); void removeChild(NodeAPI _child); void up(NodeAPI _child); void down(NodeAPI _child); void setClassName(String _class); void setTitle(String _title); String getClassName(); String getTitle(); }