1 7 package com.nightlabs.editor2d; 8 9 import java.util.Collection ; 10 import java.util.List ; 11 12 public interface DrawComponentContainer 13 extends DrawComponent 14 { 15 public static final String CHILD_ADDED = "Child Added"; 16 public static final String CHILD_REMOVED = "Child Removed"; 17 18 void addDrawComponent(DrawComponent drawComponent); 19 void removeDrawComponent(DrawComponent drawComponent); 20 21 23 void addDrawComponent(DrawComponent drawComponent, int index); 24 void removeDrawComponent(int index); 25 26 void notifyChildTransform(DrawComponent child); 27 28 List getDrawComponents(); 29 void setDrawComponents(List drawComponents); 30 31 42 Collection findDrawComponents(Class type, boolean canSelfPackage); 43 44 48 Collection findDrawComponents(Class type); 49 } | Popular Tags |