コード例 #1
0
 /** Returns the value of a property on the given script object. */
 public Object getObjectProperty(Object object, Object id) {
   DimIProxy action = new DimIProxy(this, IPROXY_OBJECT_PROPERTY);
   action.object = object;
   action.id = id;
   action.withContext();
   return action.objectResult;
 }
コード例 #2
0
 /** Returns an array of the property names on the given script object. */
 public Object[] getObjectIds(Object object) {
   DimIProxy action = new DimIProxy(this, IPROXY_OBJECT_IDS);
   action.object = object;
   action.withContext();
   return action.objectArrayResult;
 }
コード例 #3
0
 /** Converts the given script object to a string. */
 public String objectToString(Object object) {
   DimIProxy action = new DimIProxy(this, IPROXY_OBJECT_TO_STRING);
   action.object = object;
   action.withContext();
   return action.stringResult;
 }