コード例 #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;
 }