00001 package commandline.ImageStuff.Properties; 00002 00003 import commandline.debuggingCode.Debug; 00004 00005 00006 00007 public class DefaultGeometricProperty extends GeometricProperty{ 00008 00009 private static GeometricProperty gp; 00010 00011 private DefaultGeometricProperty() { 00012 super(FlyWeightColor.ZWART); // zwarte defaultkleur 00013 } 00014 00015 public static GeometricProperty getInstance(){ 00016 if(gp==null) {gp= new DefaultGeometricProperty();} 00017 return gp; 00018 } 00019 00020 public void setColor(int KLEUR){ 00021 // NOP 00022 Debug.print("I'm a the default propertie and you cannot change me"); 00023 } 00024 00025 }
1.5.5