@Override
 public void applyStyle(final ElementMap item, final DocumentParser doc, final Widget widget) {
   this.doc = doc;
   this.elementMaps.push(item);
   final ElementMap elementMap = this.elementMaps.peek();
   final Padding element = new Padding();
   element.onCheckOut();
   element.setElementMap(elementMap);
   element.setInsets(new Insets(3, 0, 3, 0));
   widget.addBasicElement(element);
   element.onAttributesInitialized();
   element.onChildrenAdded();
   final DecoratorAppearance appearance = widget.getAppearance();
   appearance.setElementMap(elementMap);
   ((TextWidgetAppearance) appearance).setAlignment(Alignment9.CENTER);
   appearance.setState("default");
   widget.addBasicElement(appearance);
   appearance.onAttributesInitialized();
   final PixmapElement checkOut = PixmapElement.checkOut();
   checkOut.setElementMap(elementMap);
   checkOut.setHeight(18);
   checkOut.setPosition(Alignment17.CENTER);
   checkOut.setRotation(GeometrySprite.SpriteRotation.QUARTER_COUNTER_CLOCKWISE);
   checkOut.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut.setWidth(16);
   checkOut.setX(215);
   checkOut.setY(744);
   appearance.addBasicElement(checkOut);
   checkOut.onAttributesInitialized();
   checkOut.onChildrenAdded();
   appearance.onChildrenAdded();
   final DecoratorAppearance appearance2 = widget.getAppearance();
   appearance2.setElementMap(elementMap);
   ((TextWidgetAppearance) appearance2).setAlignment(Alignment9.CENTER);
   appearance2.setState("mouseHover");
   widget.addBasicElement(appearance2);
   appearance2.onAttributesInitialized();
   final PixmapElement checkOut2 = PixmapElement.checkOut();
   checkOut2.setElementMap(elementMap);
   checkOut2.setHeight(18);
   checkOut2.setPosition(Alignment17.CENTER);
   checkOut2.setRotation(GeometrySprite.SpriteRotation.QUARTER_COUNTER_CLOCKWISE);
   checkOut2.setTexture(this.doc.getTexture("default_0.tga"));
   checkOut2.setWidth(16);
   checkOut2.setX(964);
   checkOut2.setY(14);
   appearance2.addBasicElement(checkOut2);
   checkOut2.onAttributesInitialized();
   checkOut2.onChildrenAdded();
   appearance2.onChildrenAdded();
   final DecoratorAppearance appearance3 = widget.getAppearance();
   appearance3.setElementMap(elementMap);
   ((TextWidgetAppearance) appearance3).setAlignment(Alignment9.CENTER);
   appearance3.setState("pressed");
   widget.addBasicElement(appearance3);
   appearance3.onAttributesInitialized();
   final PixmapElement checkOut3 = PixmapElement.checkOut();
   checkOut3.setElementMap(elementMap);
   checkOut3.setHeight(18);
   checkOut3.setPosition(Alignment17.CENTER);
   checkOut3.setRotation(GeometrySprite.SpriteRotation.QUARTER_COUNTER_CLOCKWISE);
   checkOut3.setTexture(this.doc.getTexture("default_1.tga"));
   checkOut3.setWidth(16);
   checkOut3.setX(215);
   checkOut3.setY(723);
   appearance3.addBasicElement(checkOut3);
   checkOut3.onAttributesInitialized();
   checkOut3.onChildrenAdded();
   appearance3.onChildrenAdded();
 }