コード例 #1
0
 public void setFloatingTextOrderInChildListR19(FloatingText_c target, int index) {
   unrelateAcrossR19From(target);
   FloatingText_c[] elements = FloatingText_c.getManyGD_CTXTsOnR19(this);
   int count = 0;
   for (int i = 0; i < elements.length; i++) {
     if (count >= index) {
       unrelateAcrossR19From((FloatingText_c) elements[i]);
     }
     count++;
   }
   relateAcrossR19To(target);
   count = 0;
   for (int i = 0; i < elements.length; i++) {
     if (count >= index) {
       relateAcrossR19To((FloatingText_c) elements[i]);
     }
     count++;
   }
 }
コード例 #2
0
 public void setShapeOrderInChildListR19(Shape_c target, int index) {
   unrelateAcrossR19From(target);
   Shape_c[] elements = Shape_c.getManyGD_SHPsOnR19(this);
   int count = 0;
   for (int i = 0; i < elements.length; i++) {
     if (count >= index) {
       unrelateAcrossR19From((Shape_c) elements[i]);
     }
     count++;
   }
   relateAcrossR19To(target);
   count = 0;
   for (int i = 0; i < elements.length; i++) {
     if (count >= index) {
       relateAcrossR19To((Shape_c) elements[i]);
     }
     count++;
   }
 }