コード例 #1
0
 public BasicElement method0(final BasicElement basicElement) {
   final ElementMap elementMap = this.elementMaps.peek();
   final PixmapElement checkOut = PixmapElement.checkOut();
   checkOut.setElementMap(elementMap);
   checkOut.setHeight(9);
   checkOut.setPosition(Alignment17.SOUTH);
   checkOut.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut.setWidth(1);
   checkOut.setX(1020);
   checkOut.setY(571);
   basicElement.addBasicElement(checkOut);
   checkOut.onAttributesInitialized();
   checkOut.onChildrenAdded();
   return checkOut;
 }
コード例 #2
0
 public BasicElement method1(final BasicElement basicElement) {
   final ElementMap elementMap = this.elementMaps.peek();
   final PixmapElement checkOut = PixmapElement.checkOut();
   checkOut.setElementMap(elementMap);
   checkOut.setFlipHorizontaly(true);
   checkOut.setHeight(9);
   checkOut.setPosition(Alignment17.SOUTH_EAST);
   checkOut.setTexture(this.doc.getTexture("default_0.tga"));
   checkOut.setWidth(9);
   checkOut.setX(823);
   checkOut.setY(93);
   basicElement.addBasicElement(checkOut);
   checkOut.onAttributesInitialized();
   checkOut.onChildrenAdded();
   return checkOut;
 }
 public BasicElement method2(final BasicElement basicElement) {
   final ElementMap elementMap = this.elementMaps.peek();
   final PixmapElement checkOut = PixmapElement.checkOut();
   checkOut.setElementMap(elementMap);
   checkOut.setHeight(6);
   checkOut.setPosition(Alignment17.CENTER);
   checkOut.setRotation(GeometrySprite.SpriteRotation.QUARTER_CLOCKWISE);
   checkOut.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut.setWidth(4);
   checkOut.setX(134);
   checkOut.setY(587);
   basicElement.addBasicElement(checkOut);
   checkOut.onAttributesInitialized();
   checkOut.onChildrenAdded();
   return checkOut;
 }
 public BasicElement method1(final BasicElement basicElement) {
   final ElementMap elementMap = this.elementMaps.peek();
   final PixmapBackground checkOut = PixmapBackground.checkOut();
   checkOut.setElementMap(elementMap);
   checkOut.setEnabled(true);
   checkOut.setScaled(true);
   basicElement.addBasicElement(checkOut);
   checkOut.onAttributesInitialized();
   final PixmapElement checkOut2 = PixmapElement.checkOut();
   checkOut2.setElementMap(elementMap);
   checkOut2.setHeight(2);
   checkOut2.setPosition(Alignment17.CENTER);
   checkOut2.setTexture(this.doc.getTexture("default_0.tga"));
   checkOut2.setWidth(4);
   checkOut2.setX(690);
   checkOut2.setY(214);
   checkOut.addBasicElement(checkOut2);
   checkOut2.onAttributesInitialized();
   checkOut2.onChildrenAdded();
   checkOut.onChildrenAdded();
   return checkOut;
 }
 public BasicElement method3(final BasicElement basicElement) {
   final ElementMap elementMap = this.elementMaps.peek();
   final PixmapBackground checkOut = PixmapBackground.checkOut();
   checkOut.setElementMap(elementMap);
   checkOut.setEnabled(true);
   checkOut.setScaled(true);
   basicElement.addBasicElement(checkOut);
   checkOut.onAttributesInitialized();
   final PixmapElement checkOut2 = PixmapElement.checkOut();
   checkOut2.setElementMap(elementMap);
   checkOut2.setHeight(3);
   checkOut2.setPosition(Alignment17.NORTH_WEST);
   checkOut2.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut2.setWidth(4);
   checkOut2.setX(471);
   checkOut2.setY(331);
   checkOut.addBasicElement(checkOut2);
   checkOut2.onAttributesInitialized();
   checkOut2.onChildrenAdded();
   final PixmapElement checkOut3 = PixmapElement.checkOut();
   checkOut3.setElementMap(elementMap);
   checkOut3.setHeight(3);
   checkOut3.setPosition(Alignment17.NORTH);
   checkOut3.setTexture(this.doc.getTexture("default_0.tga"));
   checkOut3.setWidth(2);
   checkOut3.setX(1019);
   checkOut3.setY(581);
   checkOut.addBasicElement(checkOut3);
   checkOut3.onAttributesInitialized();
   checkOut3.onChildrenAdded();
   final PixmapElement checkOut4 = PixmapElement.checkOut();
   checkOut4.setElementMap(elementMap);
   checkOut4.setHeight(3);
   checkOut4.setPosition(Alignment17.NORTH_EAST);
   checkOut4.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut4.setWidth(4);
   checkOut4.setX(478);
   checkOut4.setY(331);
   checkOut.addBasicElement(checkOut4);
   checkOut4.onAttributesInitialized();
   checkOut4.onChildrenAdded();
   final PixmapElement checkOut5 = PixmapElement.checkOut();
   checkOut5.setElementMap(elementMap);
   checkOut5.setHeight(1);
   checkOut5.setPosition(Alignment17.WEST);
   checkOut5.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut5.setWidth(4);
   checkOut5.setX(834);
   checkOut5.setY(186);
   checkOut.addBasicElement(checkOut5);
   checkOut5.onAttributesInitialized();
   checkOut5.onChildrenAdded();
   final PixmapElement checkOut6 = PixmapElement.checkOut();
   checkOut6.setElementMap(elementMap);
   checkOut6.setHeight(1);
   checkOut6.setPosition(Alignment17.CENTER);
   checkOut6.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut6.setWidth(2);
   checkOut6.setX(89);
   checkOut6.setY(548);
   checkOut.addBasicElement(checkOut6);
   checkOut6.onAttributesInitialized();
   checkOut6.onChildrenAdded();
   final PixmapElement checkOut7 = PixmapElement.checkOut();
   checkOut7.setElementMap(elementMap);
   checkOut7.setHeight(1);
   checkOut7.setPosition(Alignment17.EAST);
   checkOut7.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut7.setWidth(4);
   checkOut7.setX(508);
   checkOut7.setY(201);
   checkOut.addBasicElement(checkOut7);
   checkOut7.onAttributesInitialized();
   checkOut7.onChildrenAdded();
   final PixmapElement checkOut8 = PixmapElement.checkOut();
   checkOut8.setElementMap(elementMap);
   checkOut8.setHeight(3);
   checkOut8.setPosition(Alignment17.SOUTH_WEST);
   checkOut8.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut8.setWidth(4);
   checkOut8.setX(967);
   checkOut8.setY(415);
   checkOut.addBasicElement(checkOut8);
   checkOut8.onAttributesInitialized();
   checkOut8.onChildrenAdded();
   final PixmapElement checkOut9 = PixmapElement.checkOut();
   checkOut9.setElementMap(elementMap);
   checkOut9.setHeight(3);
   checkOut9.setPosition(Alignment17.SOUTH);
   checkOut9.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut9.setWidth(2);
   checkOut9.setX(321);
   checkOut9.setY(272);
   checkOut.addBasicElement(checkOut9);
   checkOut9.onAttributesInitialized();
   checkOut9.onChildrenAdded();
   final PixmapElement checkOut10 = PixmapElement.checkOut();
   checkOut10.setElementMap(elementMap);
   checkOut10.setHeight(3);
   checkOut10.setPosition(Alignment17.SOUTH_EAST);
   checkOut10.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut10.setWidth(4);
   checkOut10.setX(770);
   checkOut10.setY(356);
   checkOut.addBasicElement(checkOut10);
   checkOut10.onAttributesInitialized();
   checkOut10.onChildrenAdded();
   checkOut.onChildrenAdded();
   return checkOut;
 }