Exemplo n.º 1
0
 public void setProp(String key, Object value) {
   try {
     prophelp.setProp(this, key, value);
   } catch (PropertyRejectedException e) {
     super.setProp(key, value);
   }
 }
Exemplo n.º 2
0
 public Object getProp(String key) {
   Object o = prophelp.getProp(this, key);
   if (o == null) o = super.getProp(key);
   return o;
 }
Exemplo 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);
 }