Esempio n. 1
0
 public void setProp(String key, Object value) {
   try {
     prophelp.setProp(this, key, value);
   } catch (PropertyRejectedException e) {
     super.setProp(key, value);
   }
 }
Esempio n. 2
0
 public Object getProp(String key) {
   Object o = prophelp.getProp(this, key);
   if (o == null) o = super.getProp(key);
   return o;
 }
Esempio n. 3
0
 static {
   prophelp.registerGetSet("xvalue_prop", "PropertyForXValue", String.class);
   prophelp.registerGetSet("yvalue_prop", "PropertyForYValue", String.class);
   prophelp.registerGetSet("xscale", "XScale", float.class);
   prophelp.registerGetSet("yscale", "YScale", float.class);
 }