1 26 27 package org.nightlabs.editor2d; 28 29 import java.util.Collection ; 30 import java.util.List ; 31 32 39 public interface DrawComponentContainer 40 extends DrawComponent 41 { 42 45 public static final String CHILD_ADDED = "Child Added"; 46 47 50 public static final String CHILD_REMOVED = "Child Removed"; 51 52 68 void addDrawComponent(DrawComponent drawComponent); 69 70 84 void removeDrawComponent(DrawComponent drawComponent); 85 86 104 void addDrawComponent(DrawComponent drawComponent, int index); 105 106 120 void removeDrawComponent(int index); 121 122 129 void notifyChildTransform(DrawComponent child); 130 131 137 List getDrawComponents(); 138 139 143 void setDrawComponents(List drawComponents); 144 145 156 Collection findDrawComponents(Class type, boolean canSelfPackage); 157 158 162 Collection findDrawComponents(Class type); 163 } | Popular Tags |