Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 7 package com.nightlabs.editor2d; 8 9 import java.util.Collection ; 10 import java.util.Map ; 11 12 public interface MultiLayerDrawComponent 13 extends DrawComponentContainer 14 { 15 public static final String PROP_CURRENT_LAYER = "currentLayer"; 16 17 Layer getCurrentLayer(); 18 void setCurrentLayer(Layer value); 19 20 boolean isGridEnabled(); 21 void setGridEnabled(boolean value); 22 23 boolean isRulersEnabled(); 24 void setRulersEnabled(boolean value); 25 26 boolean isSnapToGeometry(); 27 void setSnapToGeometry(boolean value); 28 29 double getZoom(); 30 void setZoom(double value); 31 32 EditorRuler getLeftRuler(); 33 void setLeftRuler(EditorRuler value); 34 35 EditorRuler getTopRuler(); 36 void setTopRuler(EditorRuler value); 37 38 long getLastID(); 39 void setLastID(long value); 40 41 long nextID(); 42 43 DrawComponent getDrawComponent(long id); 44 45 void registerDrawComponent(DrawComponent drawComponent); 46 void unregisterDrawComponent(DrawComponent drawComponent); 47 void unregisterDrawComponent(long id); 48 49 Collection getDrawComponents(Class type); 50 51 Map getClass2DrawComponents(); 52 void setClass2DrawComponents(Map value); 53 54 Map getId2DrawComponent(); 55 void setId2DrawComponent(Map value); 56 57 }
| Popular Tags
|