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