@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); ((TextWidgetAppearance) appearance).setAlignment(Alignment9.CENTER); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final FontElement checkOut = FontElement.checkOut(); checkOut.setRenderer(Xulor.getInstance().getDocumentParser().getFont("defaultFontBordered30")); checkOut.setElementMap(elementMap); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); final String id = "defaultLightColor"; final ColorElement checkOut2 = ColorElement.checkOut(); checkOut2.setElementMap(elementMap); if (elementMap != null && id != null) { elementMap.add(id, checkOut2); } checkOut2.setColor(new Color(1.0f, 1.0f, 1.0f, 1.0f)); appearance.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); appearance.onChildrenAdded(); }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); ((ImageAppearance) appearance).setScaled(false); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final String id = "pmLeftHandCell"; final PixmapElement checkOut = PixmapElement.checkOut(); checkOut.setElementMap(elementMap); if (elementMap != null && id != null) { elementMap.add(id, checkOut); } checkOut.setHeight(31); checkOut.setPosition(Alignment17.CENTER); checkOut.setTexture(this.doc.getTexture("default_1.tga")); checkOut.setWidth(31); checkOut.setX(412); checkOut.setY(480); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); appearance.onChildrenAdded(); }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); ((TextWidgetAppearance) appearance).setAlign(Alignment9.WEST); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final FontElement checkOut = FontElement.checkOut(); checkOut.setRenderer(Xulor.getInstance().getDocumentParser().getFont("defaultTitleFont")); checkOut.setElementMap(elementMap); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); appearance.onChildrenAdded(); }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final PixmapElement checkOut = PixmapElement.checkOut(); checkOut.setElementMap(elementMap); checkOut.setHeight(39); checkOut.setPosition(Alignment17.CENTER); checkOut.setTexture(this.doc.getTexture("default_1.tga")); checkOut.setWidth(156); checkOut.setX(656); checkOut.setY(586); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); appearance.onChildrenAdded(); }
@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(2, 2, 2, 2)); widget.addBasicElement(element); element.onAttributesInitialized(); element.onChildrenAdded(); final DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); ((TextWidgetAppearance) appearance).setAlign(Alignment9.CENTER); appearance.setState("default"); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final FontElement checkOut = FontElement.checkOut(); checkOut.setRenderer(Xulor.getInstance().getDocumentParser().getFont("defaultFont")); checkOut.setElementMap(elementMap); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); final ColorElement checkOut2 = ColorElement.checkOut(); checkOut2.setElementMap(elementMap); checkOut2.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); final PlainBackground element2 = new PlainBackground(); element2.onCheckOut(); element2.setElementMap(elementMap); element2.setColor(new Color(1.0f, 0.0f, 1.0f, 1.0f)); appearance.addBasicElement(element2); element2.onAttributesInitialized(); element2.onChildrenAdded(); final PlainBorder element3 = new PlainBorder(); element3.onCheckOut(); element3.setElementMap(elementMap); element3.setColor(new Color(1.0f, 1.0f, 1.0f, 1.0f)); element3.setInsets(new Insets(0, 0, 0, 1)); appearance.addBasicElement(element3); element3.onAttributesInitialized(); element3.onChildrenAdded(); appearance.onChildrenAdded(); final DecoratorAppearance appearance2 = widget.getAppearance(); appearance2.setElementMap(elementMap); ((TextWidgetAppearance) appearance2).setAlign(Alignment9.CENTER); appearance2.setState("mouseHover"); widget.addBasicElement(appearance2); appearance2.onAttributesInitialized(); final ColorElement checkOut3 = ColorElement.checkOut(); checkOut3.setElementMap(elementMap); checkOut3.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance2.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); final PlainBackground element4 = new PlainBackground(); element4.onCheckOut(); element4.setElementMap(elementMap); element4.setColor(new Color(1.0f, 1.0f, 0.0f, 1.0f)); appearance2.addBasicElement(element4); element4.onAttributesInitialized(); element4.onChildrenAdded(); final PlainBorder element5 = new PlainBorder(); element5.onCheckOut(); element5.setElementMap(elementMap); element5.setColor(new Color(1.0f, 1.0f, 1.0f, 1.0f)); element5.setInsets(new Insets(0, 0, 0, 1)); appearance2.addBasicElement(element5); element5.onAttributesInitialized(); element5.onChildrenAdded(); appearance2.onChildrenAdded(); final DecoratorAppearance appearance3 = widget.getAppearance(); appearance3.setElementMap(elementMap); ((TextWidgetAppearance) appearance3).setAlign(Alignment9.CENTER); appearance3.setState("pressed"); widget.addBasicElement(appearance3); appearance3.onAttributesInitialized(); final ColorElement checkOut4 = ColorElement.checkOut(); checkOut4.setElementMap(elementMap); checkOut4.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance3.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); final PlainBackground element6 = new PlainBackground(); element6.onCheckOut(); element6.setElementMap(elementMap); element6.setColor(new Color(0.0f, 1.0f, 1.0f, 1.0f)); appearance3.addBasicElement(element6); element6.onAttributesInitialized(); element6.onChildrenAdded(); final PlainBorder element7 = new PlainBorder(); element7.onCheckOut(); element7.setElementMap(elementMap); element7.setColor(new Color(1.0f, 1.0f, 1.0f, 1.0f)); element7.setInsets(new Insets(0, 0, 0, 1)); appearance3.addBasicElement(element7); element7.onAttributesInitialized(); element7.onChildrenAdded(); appearance3.onChildrenAdded(); final DecoratorAppearance appearance4 = widget.getAppearance(); appearance4.setElementMap(elementMap); ((TextWidgetAppearance) appearance4).setAlign(Alignment9.CENTER); appearance4.setState("disabled"); widget.addBasicElement(appearance4); appearance4.onAttributesInitialized(); final ColorElement checkOut5 = ColorElement.checkOut(); checkOut5.setElementMap(elementMap); checkOut5.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance4.addBasicElement(checkOut5); checkOut5.onAttributesInitialized(); checkOut5.onChildrenAdded(); final PlainBackground element8 = new PlainBackground(); element8.onCheckOut(); element8.setElementMap(elementMap); element8.setColor(new Color(0.5f, 0.5f, 0.5f, 1.0f)); appearance4.addBasicElement(element8); element8.onAttributesInitialized(); element8.onChildrenAdded(); final PlainBorder element9 = new PlainBorder(); element9.onCheckOut(); element9.setElementMap(elementMap); element9.setColor(new Color(1.0f, 1.0f, 1.0f, 1.0f)); element9.setInsets(new Insets(0, 0, 0, 1)); appearance4.addBasicElement(element9); element9.onAttributesInitialized(); element9.onChildrenAdded(); appearance4.onChildrenAdded(); final DecoratorAppearance appearance5 = widget.getAppearance(); appearance5.setElementMap(elementMap); ((TextWidgetAppearance) appearance5).setAlign(Alignment9.CENTER); appearance5.setState("selected"); widget.addBasicElement(appearance5); appearance5.onAttributesInitialized(); final ColorElement checkOut6 = ColorElement.checkOut(); checkOut6.setElementMap(elementMap); checkOut6.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance5.addBasicElement(checkOut6); checkOut6.onAttributesInitialized(); checkOut6.onChildrenAdded(); final PlainBackground element10 = new PlainBackground(); element10.onCheckOut(); element10.setElementMap(elementMap); element10.setColor(new Color(0.0f, 0.8f, 0.8f, 1.0f)); appearance5.addBasicElement(element10); element10.onAttributesInitialized(); element10.onChildrenAdded(); final PlainBorder element11 = new PlainBorder(); element11.onCheckOut(); element11.setElementMap(elementMap); element11.setColor(new Color(0.0f, 0.8f, 0.8f, 1.0f)); element11.setInsets(new Insets(0, 0, 0, 1)); appearance5.addBasicElement(element11); element11.onAttributesInitialized(); element11.onChildrenAdded(); appearance5.onChildrenAdded(); final DecoratorAppearance appearance6 = widget.getAppearance(); appearance6.setElementMap(elementMap); ((TextWidgetAppearance) appearance6).setAlign(Alignment9.CENTER); appearance6.setState("mouseHoverSelected"); widget.addBasicElement(appearance6); appearance6.onAttributesInitialized(); final ColorElement checkOut7 = ColorElement.checkOut(); checkOut7.setElementMap(elementMap); checkOut7.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance6.addBasicElement(checkOut7); checkOut7.onAttributesInitialized(); checkOut7.onChildrenAdded(); final PlainBackground element12 = new PlainBackground(); element12.onCheckOut(); element12.setElementMap(elementMap); element12.setColor(new Color(0.0f, 0.8f, 0.8f, 1.0f)); appearance6.addBasicElement(element12); element12.onAttributesInitialized(); element12.onChildrenAdded(); final PlainBorder element13 = new PlainBorder(); element13.onCheckOut(); element13.setElementMap(elementMap); element13.setColor(new Color(0.0f, 0.8f, 0.8f, 1.0f)); element13.setInsets(new Insets(0, 0, 0, 1)); appearance6.addBasicElement(element13); element13.onAttributesInitialized(); element13.onChildrenAdded(); appearance6.onChildrenAdded(); final DecoratorAppearance appearance7 = widget.getAppearance(); appearance7.setElementMap(elementMap); ((TextWidgetAppearance) appearance7).setAlign(Alignment9.CENTER); appearance7.setState("pressedSelected"); widget.addBasicElement(appearance7); appearance7.onAttributesInitialized(); final ColorElement checkOut8 = ColorElement.checkOut(); checkOut8.setElementMap(elementMap); checkOut8.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance7.addBasicElement(checkOut8); checkOut8.onAttributesInitialized(); checkOut8.onChildrenAdded(); final PlainBackground element14 = new PlainBackground(); element14.onCheckOut(); element14.setElementMap(elementMap); element14.setColor(new Color(0.0f, 0.8f, 0.8f, 1.0f)); appearance7.addBasicElement(element14); element14.onAttributesInitialized(); element14.onChildrenAdded(); final PlainBorder element15 = new PlainBorder(); element15.onCheckOut(); element15.setElementMap(elementMap); element15.setColor(new Color(0.0f, 0.8f, 0.8f, 1.0f)); element15.setInsets(new Insets(0, 0, 0, 1)); appearance7.addBasicElement(element15); element15.onAttributesInitialized(); element15.onChildrenAdded(); appearance7.onChildrenAdded(); final DecoratorAppearance appearance8 = widget.getAppearance(); appearance8.setElementMap(elementMap); ((TextWidgetAppearance) appearance8).setAlign(Alignment9.CENTER); appearance8.setState("disabledSelected"); widget.addBasicElement(appearance8); appearance8.onAttributesInitialized(); final ColorElement checkOut9 = ColorElement.checkOut(); checkOut9.setElementMap(elementMap); checkOut9.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance8.addBasicElement(checkOut9); checkOut9.onAttributesInitialized(); checkOut9.onChildrenAdded(); final PlainBackground element16 = new PlainBackground(); element16.onCheckOut(); element16.setElementMap(elementMap); element16.setColor(new Color(0.0f, 0.8f, 0.8f, 1.0f)); appearance8.addBasicElement(element16); element16.onAttributesInitialized(); element16.onChildrenAdded(); final PlainBorder element17 = new PlainBorder(); element17.onCheckOut(); element17.setElementMap(elementMap); element17.setColor(new Color(0.0f, 0.8f, 0.8f, 1.0f)); element17.setInsets(new Insets(0, 0, 0, 1)); appearance8.addBasicElement(element17); element17.onAttributesInitialized(); element17.onChildrenAdded(); appearance8.onChildrenAdded(); }
@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(); }
@Override public BasicElement getElement(final Environment env, final ElementMap item) { this.env = env; this.elementMaps.push(item); final ElementMap elementMap = this.elementMaps.peek(); final String id = "popup"; final PopupElement element = new PopupElement(); element.onCheckOut(); element.setElementMap(elementMap); if (elementMap != null && id != null) { elementMap.add(id, element); } element.setAlign(Alignment9.NORTH_EAST); element.setHotSpotPosition(Alignment9.SOUTH_WEST); element.setHideOnClick(false); element.onAttributesInitialized(); final StaticLayoutData element2 = new StaticLayoutData(); element2.onCheckOut(); element2.setElementMap(elementMap); element2.setSize(new Dimension(-2, -2)); element.addBasicElement(element2); element2.onAttributesInitialized(); element2.onChildrenAdded(); final Container checkOut = Container.checkOut(); checkOut.setElementMap(elementMap); element.addBasicElement(checkOut); checkOut.onAttributesInitialized(); final StaticLayout element3 = new StaticLayout(); element3.onCheckOut(); element3.setAdaptToContentSize(true); checkOut.addBasicElement(element3); element3.onAttributesInitialized(); element3.onChildrenAdded(); final String id2 = "container"; final Container checkOut2 = Container.checkOut(); checkOut2.setElementMap(elementMap); if (elementMap != null && id2 != null) { elementMap.add(id2, checkOut2); } checkOut2.setStyle("chatBubble"); checkOut.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); final StaticLayoutData element4 = new StaticLayoutData(); element4.onCheckOut(); element4.setElementMap(elementMap); element4.setSize(new Dimension(100.0f, 100.0f)); checkOut2.addBasicElement(element4); element4.onAttributesInitialized(); element4.onChildrenAdded(); final DecoratorAppearance appearance = checkOut2.getAppearance(); appearance.setElementMap(elementMap); checkOut2.addBasicElement(appearance); appearance.onAttributesInitialized(); final Margin checkOut3 = Margin.checkOut(); checkOut3.setElementMap(elementMap); checkOut3.setInsets(new Insets(0, 0, 15, 0)); appearance.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); final Padding element5 = new Padding(); element5.onCheckOut(); element5.setElementMap(elementMap); element5.setInsets(new Insets(10, 15, 10, 15)); appearance.addBasicElement(element5); element5.onAttributesInitialized(); element5.onChildrenAdded(); appearance.onChildrenAdded(); final TextView element6 = new TextView(); element6.onCheckOut(); element6.setElementMap(elementMap); element6.setStyle("smallboldMap"); element6.setMinWidth(1); element6.setMaxWidth(200); checkOut2.addBasicElement(element6); element6.onAttributesInitialized(); final PropertyElement checkOut4 = PropertyElement.checkOut(); checkOut4.setElementMap(elementMap); checkOut4.setName("mapPopupDescription"); checkOut4.setAttribute("text"); element6.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); final PropertyElement checkOut5 = PropertyElement.checkOut(); checkOut5.setElementMap(elementMap); checkOut5.setName("mapPopupIsEditing"); checkOut5.setAttribute("visible"); element6.addBasicElement(checkOut5); checkOut5.onAttributesInitialized(); final ConditionResult element7 = new ConditionResult(); element7.onCheckOut(); element7.setElementMap(elementMap); checkOut5.addBasicElement(element7); element7.onAttributesInitialized(); final FalseCondition element8 = new FalseCondition(); element8.onCheckOut(); element8.setElementMap(elementMap); element7.addBasicElement(element8); element8.onAttributesInitialized(); element8.onChildrenAdded(); element7.onChildrenAdded(); checkOut5.onChildrenAdded(); element6.onChildrenAdded(); final String id3 = "textEditor"; final TextEditor textEditor = new TextEditor(); textEditor.onCheckOut(); textEditor.setElementMap(elementMap); if (elementMap != null && id3 != null) { elementMap.add(id3, textEditor); } textEditor.setStyle("withoutBorder"); textEditor.setMaxChars(200); textEditor.setMinWidth(200); textEditor.setMaxWidth(200); final KeyTypedListener onKeyType = new KeyTypedListener(); onKeyType.setCallBackFunc("wakfu.map:onTextEditorChange"); textEditor.setOnKeyType(onKeyType); final KeyPressedListener onKeyPress = new KeyPressedListener(); onKeyPress.setCallBackFunc("wakfu.map:onTextEditorKeyPress"); textEditor.setOnKeyPress(onKeyPress); textEditor.setFocusable(true); textEditor.setSelectOnFocus(true); checkOut2.addBasicElement(textEditor); textEditor.onAttributesInitialized(); final PropertyElement checkOut6 = PropertyElement.checkOut(); checkOut6.setElementMap(elementMap); checkOut6.setName("mapPopupDescription"); checkOut6.setAttribute("text"); textEditor.addBasicElement(checkOut6); checkOut6.onAttributesInitialized(); checkOut6.onChildrenAdded(); final PropertyElement checkOut7 = PropertyElement.checkOut(); checkOut7.setElementMap(elementMap); checkOut7.setName("mapPopupIsEditing"); checkOut7.setAttribute("visible"); textEditor.addBasicElement(checkOut7); checkOut7.onAttributesInitialized(); checkOut7.onChildrenAdded(); final PropertyElement checkOut8 = PropertyElement.checkOut(); checkOut8.setElementMap(elementMap); checkOut8.setName("mapPopupIsEditing"); checkOut8.setAttribute("focused"); textEditor.addBasicElement(checkOut8); checkOut8.onAttributesInitialized(); checkOut8.onChildrenAdded(); textEditor.onChildrenAdded(); final String id4 = "valid"; final Button button = new Button(); button.onCheckOut(); button.setElementMap(elementMap); if (elementMap != null && id4 != null) { elementMap.add(id4, button); } button.setStyle("smallValid"); final MouseClickedListener onClick = new MouseClickedListener(); onClick.setCallBackFunc("wakfu.map:applyNote"); button.setOnClick(onClick); checkOut2.addBasicElement(button); button.onAttributesInitialized(); final PropertyElement checkOut9 = PropertyElement.checkOut(); checkOut9.setElementMap(elementMap); checkOut9.setName("mapPopupIsEditing"); checkOut9.setAttribute("visible"); button.addBasicElement(checkOut9); checkOut9.onAttributesInitialized(); checkOut9.onChildrenAdded(); button.onChildrenAdded(); checkOut2.onChildrenAdded(); final String id5 = "image"; final Image image = new Image(); image.onCheckOut(); image.setElementMap(elementMap); if (elementMap != null && id5 != null) { elementMap.add(id5, image); } image.setStyle("BubbleArrowLeft"); image.setNonBlocking(true); checkOut.addBasicElement(image); image.onAttributesInitialized(); final StaticLayoutData element9 = new StaticLayoutData(); element9.onCheckOut(); element9.setElementMap(elementMap); element9.setAlign(Alignment17.SOUTH_WEST); element9.setSize(new Dimension(-2, -2)); image.addBasicElement(element9); element9.onAttributesInitialized(); element9.onChildrenAdded(); image.onChildrenAdded(); checkOut.onChildrenAdded(); element.onChildrenAdded(); return element; }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final String id = "challengeZoneRightBackground"; final PixmapBackground checkOut = PixmapBackground.checkOut(); checkOut.setElementMap(elementMap); if (elementMap != null && id != null) { elementMap.add(id, checkOut); } checkOut.setScaled(true); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); final PixmapElement checkOut2 = PixmapElement.checkOut(); checkOut2.setElementMap(elementMap); checkOut2.setHeight(56); checkOut2.setPosition(Alignment17.NORTH_WEST); checkOut2.setWidth(0); checkOut2.setX(969); checkOut2.setY(1483); checkOut.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); final PixmapElement checkOut3 = PixmapElement.checkOut(); checkOut3.setElementMap(elementMap); checkOut3.setHeight(56); checkOut3.setPosition(Alignment17.NORTH); checkOut3.setTexture(this.doc.getTexture("default_0.tga")); checkOut3.setWidth(1); checkOut3.setX(1019); checkOut3.setY(880); checkOut.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); final PixmapElement checkOut4 = PixmapElement.checkOut(); checkOut4.setElementMap(elementMap); checkOut4.setHeight(56); checkOut4.setPosition(Alignment17.NORTH_EAST); checkOut4.setTexture(this.doc.getTexture("default_0.tga")); checkOut4.setWidth(19); checkOut4.setX(943); checkOut4.setY(876); checkOut.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); final PixmapElement checkOut5 = PixmapElement.checkOut(); checkOut5.setElementMap(elementMap); checkOut5.setHeight(0); checkOut5.setPosition(Alignment17.WEST); checkOut5.setWidth(0); checkOut5.setX(6); checkOut5.setY(811); checkOut.addBasicElement(checkOut5); checkOut5.onAttributesInitialized(); checkOut5.onChildrenAdded(); final PixmapElement checkOut6 = PixmapElement.checkOut(); checkOut6.setElementMap(elementMap); checkOut6.setHeight(0); checkOut6.setPosition(Alignment17.CENTER); checkOut6.setWidth(0); checkOut6.setX(14); checkOut6.setY(811); checkOut.addBasicElement(checkOut6); checkOut6.onAttributesInitialized(); checkOut6.onChildrenAdded(); final PixmapElement checkOut7 = PixmapElement.checkOut(); checkOut7.setElementMap(elementMap); checkOut7.setHeight(0); checkOut7.setPosition(Alignment17.EAST); checkOut7.setWidth(19); checkOut7.setX(19); checkOut7.setY(811); checkOut.addBasicElement(checkOut7); checkOut7.onAttributesInitialized(); checkOut7.onChildrenAdded(); final PixmapElement checkOut8 = PixmapElement.checkOut(); checkOut8.setElementMap(elementMap); checkOut8.setHeight(0); checkOut8.setPosition(Alignment17.SOUTH_WEST); checkOut8.setWidth(0); checkOut8.setX(6); checkOut8.setY(816); checkOut.addBasicElement(checkOut8); checkOut8.onAttributesInitialized(); checkOut8.onChildrenAdded(); final PixmapElement checkOut9 = PixmapElement.checkOut(); checkOut9.setElementMap(elementMap); checkOut9.setHeight(0); checkOut9.setPosition(Alignment17.SOUTH); checkOut9.setWidth(0); checkOut9.setX(14); checkOut9.setY(816); checkOut.addBasicElement(checkOut9); checkOut9.onAttributesInitialized(); checkOut9.onChildrenAdded(); final PixmapElement checkOut10 = PixmapElement.checkOut(); checkOut10.setElementMap(elementMap); checkOut10.setHeight(0); checkOut10.setPosition(Alignment17.SOUTH_EAST); checkOut10.setWidth(19); checkOut10.setX(19); checkOut10.setY(816); checkOut.addBasicElement(checkOut10); checkOut10.onAttributesInitialized(); checkOut10.onChildrenAdded(); checkOut.onChildrenAdded(); appearance.onChildrenAdded(); }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final Padding element = new Padding(); element.onCheckOut(); element.setElementMap(elementMap); element.setInsets(new Insets(0, 4, 0, 4)); appearance.addBasicElement(element); element.onAttributesInitialized(); element.onChildrenAdded(); final Widget widgetByThemeElementName = appearance .getParentOfType(Widget.class) .getWidgetByThemeElementName("verticalButton", false); if (widgetByThemeElementName != null) { final DecoratorAppearance appearance2 = widgetByThemeElementName.getAppearance(); appearance2.setElementMap(elementMap); appearance2.setState("default"); widgetByThemeElementName.addBasicElement(appearance2); appearance2.onAttributesInitialized(); final PixmapBorder element2 = new PixmapBorder(); element2.onCheckOut(); element2.setElementMap(elementMap); appearance2.addBasicElement(element2); element2.onAttributesInitialized(); final PixmapElement checkOut = PixmapElement.checkOut(); checkOut.setElementMap(elementMap); checkOut.setHeight(4); checkOut.setPosition(Alignment17.NORTH_WEST); checkOut.setTexture(this.doc.getTexture("default_1.tga")); checkOut.setWidth(1); checkOut.setX(540); checkOut.setY(286); element2.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); final PixmapElement checkOut2 = PixmapElement.checkOut(); checkOut2.setElementMap(elementMap); checkOut2.setHeight(4); checkOut2.setPosition(Alignment17.NORTH); checkOut2.setTexture(this.doc.getTexture("default_1.tga")); checkOut2.setWidth(11); checkOut2.setX(146); checkOut2.setY(239); element2.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); final PixmapElement checkOut3 = PixmapElement.checkOut(); checkOut3.setElementMap(elementMap); checkOut3.setHeight(4); checkOut3.setPosition(Alignment17.NORTH_EAST); checkOut3.setTexture(this.doc.getTexture("default_1.tga")); checkOut3.setWidth(1); checkOut3.setX(594); checkOut3.setY(286); element2.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); final PixmapElement checkOut4 = PixmapElement.checkOut(); checkOut4.setElementMap(elementMap); checkOut4.setHeight(13); checkOut4.setPosition(Alignment17.EAST); checkOut4.setTexture(this.doc.getTexture("default_1.tga")); checkOut4.setWidth(1); checkOut4.setX(827); checkOut4.setY(753); element2.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); final PixmapElement checkOut5 = PixmapElement.checkOut(); checkOut5.setElementMap(elementMap); checkOut5.setHeight(4); checkOut5.setPosition(Alignment17.SOUTH_EAST); checkOut5.setTexture(this.doc.getTexture("default_0.tga")); checkOut5.setWidth(1); checkOut5.setX(315); checkOut5.setY(474); element2.addBasicElement(checkOut5); checkOut5.onAttributesInitialized(); checkOut5.onChildrenAdded(); final PixmapElement checkOut6 = PixmapElement.checkOut(); checkOut6.setElementMap(elementMap); checkOut6.setHeight(4); checkOut6.setPosition(Alignment17.SOUTH); checkOut6.setTexture(this.doc.getTexture("default_1.tga")); checkOut6.setWidth(11); checkOut6.setX(282); checkOut6.setY(283); element2.addBasicElement(checkOut6); checkOut6.onAttributesInitialized(); checkOut6.onChildrenAdded(); final PixmapElement checkOut7 = PixmapElement.checkOut(); checkOut7.setElementMap(elementMap); checkOut7.setHeight(4); checkOut7.setPosition(Alignment17.SOUTH_WEST); checkOut7.setTexture(this.doc.getTexture("default_1.tga")); checkOut7.setWidth(1); checkOut7.setX(594); checkOut7.setY(286); element2.addBasicElement(checkOut7); checkOut7.onAttributesInitialized(); checkOut7.onChildrenAdded(); final PixmapElement checkOut8 = PixmapElement.checkOut(); checkOut8.setElementMap(elementMap); checkOut8.setHeight(13); checkOut8.setPosition(Alignment17.WEST); checkOut8.setTexture(this.doc.getTexture("default_1.tga")); checkOut8.setWidth(1); checkOut8.setX(827); checkOut8.setY(753); element2.addBasicElement(checkOut8); checkOut8.onAttributesInitialized(); checkOut8.onChildrenAdded(); element2.onChildrenAdded(); final PixmapBackground checkOut9 = PixmapBackground.checkOut(); checkOut9.setElementMap(elementMap); checkOut9.setEnabled(true); checkOut9.setScaled(true); appearance2.addBasicElement(checkOut9); checkOut9.onAttributesInitialized(); final PixmapElement checkOut10 = PixmapElement.checkOut(); checkOut10.setElementMap(elementMap); checkOut10.setHeight(2); checkOut10.setPosition(Alignment17.CENTER); checkOut10.setTexture(this.doc.getTexture("default_1.tga")); checkOut10.setWidth(11); checkOut10.setX(829); checkOut10.setY(283); checkOut9.addBasicElement(checkOut10); checkOut10.onAttributesInitialized(); checkOut10.onChildrenAdded(); checkOut9.onChildrenAdded(); final PixmapElement checkOut11 = PixmapElement.checkOut(); checkOut11.setElementMap(elementMap); checkOut11.setHeight(5); checkOut11.setPosition(Alignment17.CENTER); checkOut11.setTexture(this.doc.getTexture("default_1.tga")); checkOut11.setWidth(11); checkOut11.setX(594); checkOut11.setY(669); appearance2.addBasicElement(checkOut11); checkOut11.onAttributesInitialized(); checkOut11.onChildrenAdded(); appearance2.onChildrenAdded(); final DecoratorAppearance appearance3 = widgetByThemeElementName.getAppearance(); appearance3.setElementMap(elementMap); appearance3.setState("mouseHover"); widgetByThemeElementName.addBasicElement(appearance3); appearance3.onAttributesInitialized(); final PixmapBorder element3 = new PixmapBorder(); element3.onCheckOut(); element3.setElementMap(elementMap); element3.setEnabled(false); appearance3.addBasicElement(element3); element3.onAttributesInitialized(); final PixmapElement checkOut12 = PixmapElement.checkOut(); checkOut12.setElementMap(elementMap); checkOut12.setHeight(4); checkOut12.setPosition(Alignment17.NORTH_WEST); checkOut12.setTexture(this.doc.getTexture("default_1.tga")); checkOut12.setWidth(1); checkOut12.setX(321); checkOut12.setY(278); element3.addBasicElement(checkOut12); checkOut12.onAttributesInitialized(); checkOut12.onChildrenAdded(); final PixmapElement checkOut13 = PixmapElement.checkOut(); checkOut13.setElementMap(elementMap); checkOut13.setHeight(4); checkOut13.setPosition(Alignment17.NORTH); checkOut13.setTexture(this.doc.getTexture("default_1.tga")); checkOut13.setWidth(11); checkOut13.setX(185); checkOut13.setY(283); element3.addBasicElement(checkOut13); checkOut13.onAttributesInitialized(); checkOut13.onChildrenAdded(); final PixmapElement checkOut14 = PixmapElement.checkOut(); checkOut14.setElementMap(elementMap); checkOut14.setHeight(4); checkOut14.setPosition(Alignment17.NORTH_EAST); checkOut14.setTexture(this.doc.getTexture("default_1.tga")); checkOut14.setWidth(1); checkOut14.setX(594); checkOut14.setY(286); element3.addBasicElement(checkOut14); checkOut14.onAttributesInitialized(); checkOut14.onChildrenAdded(); final PixmapElement checkOut15 = PixmapElement.checkOut(); checkOut15.setElementMap(elementMap); checkOut15.setHeight(13); checkOut15.setPosition(Alignment17.EAST); checkOut15.setTexture(this.doc.getTexture("default_1.tga")); checkOut15.setWidth(1); checkOut15.setX(397); checkOut15.setY(718); element3.addBasicElement(checkOut15); checkOut15.onAttributesInitialized(); checkOut15.onChildrenAdded(); final PixmapElement checkOut16 = PixmapElement.checkOut(); checkOut16.setElementMap(elementMap); checkOut16.setHeight(4); checkOut16.setPosition(Alignment17.SOUTH_EAST); checkOut16.setTexture(this.doc.getTexture("default_1.tga")); checkOut16.setWidth(1); checkOut16.setX(294); checkOut16.setY(330); element3.addBasicElement(checkOut16); checkOut16.onAttributesInitialized(); checkOut16.onChildrenAdded(); final PixmapElement checkOut17 = PixmapElement.checkOut(); checkOut17.setElementMap(elementMap); checkOut17.setHeight(4); checkOut17.setPosition(Alignment17.SOUTH); checkOut17.setTexture(this.doc.getTexture("default_1.tga")); checkOut17.setWidth(11); checkOut17.setX(595); checkOut17.setY(586); element3.addBasicElement(checkOut17); checkOut17.onAttributesInitialized(); checkOut17.onChildrenAdded(); final PixmapElement checkOut18 = PixmapElement.checkOut(); checkOut18.setElementMap(elementMap); checkOut18.setHeight(4); checkOut18.setPosition(Alignment17.SOUTH_WEST); checkOut18.setTexture(this.doc.getTexture("default_1.tga")); checkOut18.setWidth(1); checkOut18.setX(594); checkOut18.setY(286); element3.addBasicElement(checkOut18); checkOut18.onAttributesInitialized(); checkOut18.onChildrenAdded(); final PixmapElement checkOut19 = PixmapElement.checkOut(); checkOut19.setElementMap(elementMap); checkOut19.setHeight(13); checkOut19.setPosition(Alignment17.WEST); checkOut19.setTexture(this.doc.getTexture("default_1.tga")); checkOut19.setWidth(1); checkOut19.setX(397); checkOut19.setY(718); element3.addBasicElement(checkOut19); checkOut19.onAttributesInitialized(); checkOut19.onChildrenAdded(); element3.onChildrenAdded(); final PixmapBackground checkOut20 = PixmapBackground.checkOut(); checkOut20.setElementMap(elementMap); checkOut20.setEnabled(false); checkOut20.setScaled(true); appearance3.addBasicElement(checkOut20); checkOut20.onAttributesInitialized(); final PixmapElement checkOut21 = PixmapElement.checkOut(); checkOut21.setElementMap(elementMap); checkOut21.setHeight(2); checkOut21.setPosition(Alignment17.CENTER); checkOut21.setTexture(this.doc.getTexture("default_1.tga")); checkOut21.setWidth(11); checkOut21.setX(800); checkOut21.setY(199); checkOut20.addBasicElement(checkOut21); checkOut21.onAttributesInitialized(); checkOut21.onChildrenAdded(); checkOut20.onChildrenAdded(); final PixmapElement checkOut22 = PixmapElement.checkOut(); checkOut22.setElementMap(elementMap); checkOut22.setHeight(5); checkOut22.setPosition(Alignment17.CENTER); checkOut22.setTexture(this.doc.getTexture("default_1.tga")); checkOut22.setWidth(11); checkOut22.setX(968); checkOut22.setY(330); appearance3.addBasicElement(checkOut22); checkOut22.onAttributesInitialized(); checkOut22.onChildrenAdded(); appearance3.onChildrenAdded(); final DecoratorAppearance appearance4 = widgetByThemeElementName.getAppearance(); appearance4.setElementMap(elementMap); appearance4.setState("pressed"); widgetByThemeElementName.addBasicElement(appearance4); appearance4.onAttributesInitialized(); final PixmapBorder element4 = new PixmapBorder(); element4.onCheckOut(); element4.setElementMap(elementMap); element4.setEnabled(false); appearance4.addBasicElement(element4); element4.onAttributesInitialized(); final PixmapElement checkOut23 = PixmapElement.checkOut(); checkOut23.setElementMap(elementMap); checkOut23.setHeight(4); checkOut23.setPosition(Alignment17.NORTH_WEST); checkOut23.setTexture(this.doc.getTexture("default_1.tga")); checkOut23.setWidth(1); checkOut23.setX(255); checkOut23.setY(292); element4.addBasicElement(checkOut23); checkOut23.onAttributesInitialized(); checkOut23.onChildrenAdded(); final PixmapElement checkOut24 = PixmapElement.checkOut(); checkOut24.setElementMap(elementMap); checkOut24.setHeight(4); checkOut24.setPosition(Alignment17.NORTH); checkOut24.setTexture(this.doc.getTexture("default_1.tga")); checkOut24.setWidth(11); checkOut24.setX(280); checkOut24.setY(330); element4.addBasicElement(checkOut24); checkOut24.onAttributesInitialized(); checkOut24.onChildrenAdded(); final PixmapElement checkOut25 = PixmapElement.checkOut(); checkOut25.setElementMap(elementMap); checkOut25.setHeight(4); checkOut25.setPosition(Alignment17.NORTH_EAST); checkOut25.setTexture(this.doc.getTexture("default_1.tga")); checkOut25.setWidth(1); checkOut25.setX(594); checkOut25.setY(286); element4.addBasicElement(checkOut25); checkOut25.onAttributesInitialized(); checkOut25.onChildrenAdded(); final PixmapElement checkOut26 = PixmapElement.checkOut(); checkOut26.setElementMap(elementMap); checkOut26.setHeight(13); checkOut26.setPosition(Alignment17.EAST); checkOut26.setTexture(this.doc.getTexture("default_1.tga")); checkOut26.setWidth(1); checkOut26.setX(397); checkOut26.setY(766); element4.addBasicElement(checkOut26); checkOut26.onAttributesInitialized(); checkOut26.onChildrenAdded(); final PixmapElement checkOut27 = PixmapElement.checkOut(); checkOut27.setElementMap(elementMap); checkOut27.setHeight(4); checkOut27.setPosition(Alignment17.SOUTH_EAST); checkOut27.setTexture(this.doc.getTexture("default_1.tga")); checkOut27.setWidth(1); checkOut27.setX(628); checkOut27.setY(276); element4.addBasicElement(checkOut27); checkOut27.onAttributesInitialized(); checkOut27.onChildrenAdded(); final PixmapElement checkOut28 = PixmapElement.checkOut(); checkOut28.setElementMap(elementMap); checkOut28.setHeight(4); checkOut28.setPosition(Alignment17.SOUTH); checkOut28.setTexture(this.doc.getTexture("default_1.tga")); checkOut28.setWidth(11); checkOut28.setX(920); checkOut28.setY(587); element4.addBasicElement(checkOut28); checkOut28.onAttributesInitialized(); checkOut28.onChildrenAdded(); final PixmapElement checkOut29 = PixmapElement.checkOut(); checkOut29.setElementMap(elementMap); checkOut29.setHeight(4); checkOut29.setPosition(Alignment17.SOUTH_WEST); checkOut29.setTexture(this.doc.getTexture("default_1.tga")); checkOut29.setWidth(1); checkOut29.setX(594); checkOut29.setY(286); element4.addBasicElement(checkOut29); checkOut29.onAttributesInitialized(); checkOut29.onChildrenAdded(); final PixmapElement checkOut30 = PixmapElement.checkOut(); checkOut30.setElementMap(elementMap); checkOut30.setHeight(13); checkOut30.setPosition(Alignment17.WEST); checkOut30.setTexture(this.doc.getTexture("default_1.tga")); checkOut30.setWidth(1); checkOut30.setX(397); checkOut30.setY(766); element4.addBasicElement(checkOut30); checkOut30.onAttributesInitialized(); checkOut30.onChildrenAdded(); element4.onChildrenAdded(); final PixmapBackground checkOut31 = PixmapBackground.checkOut(); checkOut31.setElementMap(elementMap); checkOut31.setEnabled(false); checkOut31.setScaled(true); appearance4.addBasicElement(checkOut31); checkOut31.onAttributesInitialized(); final PixmapElement checkOut32 = PixmapElement.checkOut(); checkOut32.setElementMap(elementMap); checkOut32.setHeight(2); checkOut32.setPosition(Alignment17.CENTER); checkOut32.setTexture(this.doc.getTexture("default_1.tga")); checkOut32.setWidth(11); checkOut32.setX(379); checkOut32.setY(239); checkOut31.addBasicElement(checkOut32); checkOut32.onAttributesInitialized(); checkOut32.onChildrenAdded(); checkOut31.onChildrenAdded(); final PixmapElement checkOut33 = PixmapElement.checkOut(); checkOut33.setElementMap(elementMap); checkOut33.setHeight(5); checkOut33.setPosition(Alignment17.CENTER); checkOut33.setTexture(this.doc.getTexture("default_1.tga")); checkOut33.setWidth(11); checkOut33.setX(361); checkOut33.setY(549); appearance4.addBasicElement(checkOut33); checkOut33.onAttributesInitialized(); checkOut33.onChildrenAdded(); appearance4.onChildrenAdded(); } appearance.onChildrenAdded(); }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); ((TextWidgetAppearance) appearance).setAlign(Alignment9.CENTER); appearance.setState("default"); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final Padding element = new Padding(); element.onCheckOut(); element.setElementMap(elementMap); element.setInsets(new Insets(2, 5, 2, 5)); appearance.addBasicElement(element); element.onAttributesInitialized(); element.onChildrenAdded(); final FontElement checkOut = FontElement.checkOut(); checkOut.setRenderer(Xulor.getInstance().getDocumentParser().getFont("defaultBoldFont")); checkOut.setElementMap(elementMap); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); final String id = "blackColor"; final ColorElement checkOut2 = ColorElement.checkOut(); checkOut2.setElementMap(elementMap); if (elementMap != null && id != null) { elementMap.add(id, checkOut2); } checkOut2.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); final String id2 = "buttonYellowBackgroundFullDefault"; final PixmapBackground checkOut3 = PixmapBackground.checkOut(); checkOut3.setElementMap(elementMap); if (elementMap != null && id2 != null) { elementMap.add(id2, checkOut3); } checkOut3.setScaled(true); appearance.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); final PixmapElement checkOut4 = PixmapElement.checkOut(); checkOut4.setElementMap(elementMap); checkOut4.setHeight(9); checkOut4.setPosition(Alignment17.NORTH_WEST); checkOut4.setTexture(this.doc.getTexture("default_1.tga")); checkOut4.setWidth(9); checkOut4.setX(857); checkOut4.setY(140); checkOut3.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); final PixmapElement checkOut5 = PixmapElement.checkOut(); checkOut5.setElementMap(elementMap); checkOut5.setHeight(9); checkOut5.setPosition(Alignment17.NORTH); checkOut5.setTexture(this.doc.getTexture("default_1.tga")); checkOut5.setWidth(1); checkOut5.setX(1020); checkOut5.setY(559); checkOut3.addBasicElement(checkOut5); checkOut5.onAttributesInitialized(); checkOut5.onChildrenAdded(); final PixmapElement checkOut6 = PixmapElement.checkOut(); checkOut6.setElementMap(elementMap); checkOut6.setFlipHorizontaly(true); checkOut6.setHeight(9); checkOut6.setPosition(Alignment17.NORTH_EAST); checkOut6.setTexture(this.doc.getTexture("default_1.tga")); checkOut6.setWidth(9); checkOut6.setX(857); checkOut6.setY(140); checkOut3.addBasicElement(checkOut6); checkOut6.onAttributesInitialized(); checkOut6.onChildrenAdded(); final PixmapElement checkOut7 = PixmapElement.checkOut(); checkOut7.setElementMap(elementMap); checkOut7.setHeight(7); checkOut7.setPosition(Alignment17.WEST); checkOut7.setTexture(this.doc.getTexture("default_1.tga")); checkOut7.setWidth(9); checkOut7.setX(188); checkOut7.setY(140); checkOut3.addBasicElement(checkOut7); checkOut7.onAttributesInitialized(); checkOut7.onChildrenAdded(); final PixmapElement checkOut8 = PixmapElement.checkOut(); checkOut8.setElementMap(elementMap); checkOut8.setHeight(7); checkOut8.setPosition(Alignment17.CENTER); checkOut8.setTexture(this.doc.getTexture("default_1.tga")); checkOut8.setWidth(1); checkOut8.setX(1018); checkOut8.setY(462); checkOut3.addBasicElement(checkOut8); checkOut8.onAttributesInitialized(); checkOut8.onChildrenAdded(); final PixmapElement checkOut9 = PixmapElement.checkOut(); checkOut9.setElementMap(elementMap); checkOut9.setFlipHorizontaly(true); checkOut9.setHeight(7); checkOut9.setPosition(Alignment17.EAST); checkOut9.setTexture(this.doc.getTexture("default_1.tga")); checkOut9.setWidth(9); checkOut9.setX(188); checkOut9.setY(140); checkOut3.addBasicElement(checkOut9); checkOut9.onAttributesInitialized(); checkOut9.onChildrenAdded(); final PixmapElement checkOut10 = PixmapElement.checkOut(); checkOut10.setElementMap(elementMap); checkOut10.setHeight(9); checkOut10.setPosition(Alignment17.SOUTH_WEST); checkOut10.setTexture(this.doc.getTexture("default_1.tga")); checkOut10.setWidth(9); checkOut10.setX(1000); checkOut10.setY(140); checkOut3.addBasicElement(checkOut10); checkOut10.onAttributesInitialized(); checkOut10.onChildrenAdded(); final PixmapElement checkOut11 = PixmapElement.checkOut(); checkOut11.setElementMap(elementMap); checkOut11.setHeight(9); checkOut11.setPosition(Alignment17.SOUTH); checkOut11.setTexture(this.doc.getTexture("default_1.tga")); checkOut11.setWidth(1); checkOut11.setX(179); checkOut11.setY(941); checkOut3.addBasicElement(checkOut11); checkOut11.onAttributesInitialized(); checkOut11.onChildrenAdded(); final PixmapElement checkOut12 = PixmapElement.checkOut(); checkOut12.setElementMap(elementMap); checkOut12.setFlipHorizontaly(true); checkOut12.setHeight(9); checkOut12.setPosition(Alignment17.SOUTH_EAST); checkOut12.setTexture(this.doc.getTexture("default_1.tga")); checkOut12.setWidth(9); checkOut12.setX(1000); checkOut12.setY(140); checkOut3.addBasicElement(checkOut12); checkOut12.onAttributesInitialized(); checkOut12.onChildrenAdded(); checkOut3.onChildrenAdded(); appearance.onChildrenAdded(); final DecoratorAppearance appearance2 = widget.getAppearance(); appearance2.setElementMap(elementMap); ((TextWidgetAppearance) appearance2).setAlign(Alignment9.CENTER); appearance2.setState("mouseHover"); widget.addBasicElement(appearance2); appearance2.onAttributesInitialized(); final String id3 = "blackColor"; final ColorElement checkOut13 = ColorElement.checkOut(); checkOut13.setElementMap(elementMap); if (elementMap != null && id3 != null) { elementMap.add(id3, checkOut13); } checkOut13.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance2.addBasicElement(checkOut13); checkOut13.onAttributesInitialized(); checkOut13.onChildrenAdded(); final String id4 = "buttonYellowBackgroundFullOver"; final PixmapBackground checkOut14 = PixmapBackground.checkOut(); checkOut14.setElementMap(elementMap); if (elementMap != null && id4 != null) { elementMap.add(id4, checkOut14); } checkOut14.setEnabled(false); checkOut14.setScaled(true); appearance2.addBasicElement(checkOut14); checkOut14.onAttributesInitialized(); final PixmapElement checkOut15 = PixmapElement.checkOut(); checkOut15.setElementMap(elementMap); checkOut15.setHeight(9); checkOut15.setPosition(Alignment17.NORTH_WEST); checkOut15.setTexture(this.doc.getTexture("default_1.tga")); checkOut15.setWidth(9); checkOut15.setX(972); checkOut15.setY(141); checkOut14.addBasicElement(checkOut15); checkOut15.onAttributesInitialized(); checkOut15.onChildrenAdded(); final PixmapElement checkOut16 = PixmapElement.checkOut(); checkOut16.setElementMap(elementMap); checkOut16.setHeight(9); checkOut16.setPosition(Alignment17.NORTH); checkOut16.setTexture(this.doc.getTexture("default_1.tga")); checkOut16.setWidth(1); checkOut16.setX(179); checkOut16.setY(575); checkOut14.addBasicElement(checkOut16); checkOut16.onAttributesInitialized(); checkOut16.onChildrenAdded(); final PixmapElement checkOut17 = PixmapElement.checkOut(); checkOut17.setElementMap(elementMap); checkOut17.setFlipHorizontaly(true); checkOut17.setHeight(9); checkOut17.setPosition(Alignment17.NORTH_EAST); checkOut17.setTexture(this.doc.getTexture("default_1.tga")); checkOut17.setWidth(9); checkOut17.setX(972); checkOut17.setY(141); checkOut14.addBasicElement(checkOut17); checkOut17.onAttributesInitialized(); checkOut17.onChildrenAdded(); final PixmapElement checkOut18 = PixmapElement.checkOut(); checkOut18.setElementMap(elementMap); checkOut18.setHeight(7); checkOut18.setPosition(Alignment17.WEST); checkOut18.setTexture(this.doc.getTexture("default_1.tga")); checkOut18.setWidth(9); checkOut18.setX(478); checkOut18.setY(140); checkOut14.addBasicElement(checkOut18); checkOut18.onAttributesInitialized(); checkOut18.onChildrenAdded(); final PixmapElement checkOut19 = PixmapElement.checkOut(); checkOut19.setElementMap(elementMap); checkOut19.setHeight(7); checkOut19.setPosition(Alignment17.CENTER); checkOut19.setTexture(this.doc.getTexture("default_1.tga")); checkOut19.setWidth(1); checkOut19.setX(1018); checkOut19.setY(432); checkOut14.addBasicElement(checkOut19); checkOut19.onAttributesInitialized(); checkOut19.onChildrenAdded(); final PixmapElement checkOut20 = PixmapElement.checkOut(); checkOut20.setElementMap(elementMap); checkOut20.setFlipHorizontaly(true); checkOut20.setHeight(7); checkOut20.setPosition(Alignment17.EAST); checkOut20.setTexture(this.doc.getTexture("default_1.tga")); checkOut20.setWidth(9); checkOut20.setX(478); checkOut20.setY(140); checkOut14.addBasicElement(checkOut20); checkOut20.onAttributesInitialized(); checkOut20.onChildrenAdded(); final PixmapElement checkOut21 = PixmapElement.checkOut(); checkOut21.setElementMap(elementMap); checkOut21.setHeight(9); checkOut21.setPosition(Alignment17.SOUTH_WEST); checkOut21.setTexture(this.doc.getTexture("default_1.tga")); checkOut21.setWidth(9); checkOut21.setX(943); checkOut21.setY(141); checkOut14.addBasicElement(checkOut21); checkOut21.onAttributesInitialized(); checkOut21.onChildrenAdded(); final PixmapElement checkOut22 = PixmapElement.checkOut(); checkOut22.setElementMap(elementMap); checkOut22.setHeight(9); checkOut22.setPosition(Alignment17.SOUTH); checkOut22.setTexture(this.doc.getTexture("default_1.tga")); checkOut22.setWidth(1); checkOut22.setX(608); checkOut22.setY(562); checkOut14.addBasicElement(checkOut22); checkOut22.onAttributesInitialized(); checkOut22.onChildrenAdded(); final PixmapElement checkOut23 = PixmapElement.checkOut(); checkOut23.setElementMap(elementMap); checkOut23.setFlipHorizontaly(true); checkOut23.setHeight(9); checkOut23.setPosition(Alignment17.SOUTH_EAST); checkOut23.setTexture(this.doc.getTexture("default_1.tga")); checkOut23.setWidth(9); checkOut23.setX(943); checkOut23.setY(141); checkOut14.addBasicElement(checkOut23); checkOut23.onAttributesInitialized(); checkOut23.onChildrenAdded(); checkOut14.onChildrenAdded(); appearance2.onChildrenAdded(); final DecoratorAppearance appearance3 = widget.getAppearance(); appearance3.setElementMap(elementMap); ((TextWidgetAppearance) appearance3).setAlign(Alignment9.CENTER); appearance3.setState("pressed"); widget.addBasicElement(appearance3); appearance3.onAttributesInitialized(); final String id5 = "blackColor"; final ColorElement checkOut24 = ColorElement.checkOut(); checkOut24.setElementMap(elementMap); if (elementMap != null && id5 != null) { elementMap.add(id5, checkOut24); } checkOut24.setColor(new Color(0.0f, 0.0f, 0.0f, 1.0f)); appearance3.addBasicElement(checkOut24); checkOut24.onAttributesInitialized(); checkOut24.onChildrenAdded(); final String id6 = "buttonYellowBackgroundFullPressed"; final PixmapBackground checkOut25 = PixmapBackground.checkOut(); checkOut25.setElementMap(elementMap); if (elementMap != null && id6 != null) { elementMap.add(id6, checkOut25); } checkOut25.setEnabled(false); checkOut25.setScaled(true); appearance3.addBasicElement(checkOut25); checkOut25.onAttributesInitialized(); final PixmapElement checkOut26 = PixmapElement.checkOut(); checkOut26.setElementMap(elementMap); checkOut26.setHeight(9); checkOut26.setPosition(Alignment17.NORTH_WEST); checkOut26.setTexture(this.doc.getTexture("default_1.tga")); checkOut26.setWidth(9); checkOut26.setX(65); checkOut26.setY(140); checkOut25.addBasicElement(checkOut26); checkOut26.onAttributesInitialized(); checkOut26.onChildrenAdded(); final PixmapElement checkOut27 = PixmapElement.checkOut(); checkOut27.setElementMap(elementMap); checkOut27.setHeight(9); checkOut27.setPosition(Alignment17.NORTH); checkOut27.setTexture(this.doc.getTexture("default_1.tga")); checkOut27.setWidth(1); checkOut27.setX(608); checkOut27.setY(574); checkOut25.addBasicElement(checkOut27); checkOut27.onAttributesInitialized(); checkOut27.onChildrenAdded(); final PixmapElement checkOut28 = PixmapElement.checkOut(); checkOut28.setElementMap(elementMap); checkOut28.setFlipHorizontaly(true); checkOut28.setHeight(9); checkOut28.setPosition(Alignment17.NORTH_EAST); checkOut28.setTexture(this.doc.getTexture("default_1.tga")); checkOut28.setWidth(9); checkOut28.setX(65); checkOut28.setY(140); checkOut25.addBasicElement(checkOut28); checkOut28.onAttributesInitialized(); checkOut28.onChildrenAdded(); final PixmapElement checkOut29 = PixmapElement.checkOut(); checkOut29.setElementMap(elementMap); checkOut29.setHeight(7); checkOut29.setPosition(Alignment17.WEST); checkOut29.setTexture(this.doc.getTexture("default_1.tga")); checkOut29.setWidth(9); checkOut29.setX(130); checkOut29.setY(549); checkOut25.addBasicElement(checkOut29); checkOut29.onAttributesInitialized(); checkOut29.onChildrenAdded(); final PixmapElement checkOut30 = PixmapElement.checkOut(); checkOut30.setElementMap(elementMap); checkOut30.setHeight(7); checkOut30.setPosition(Alignment17.CENTER); checkOut30.setTexture(this.doc.getTexture("default_1.tga")); checkOut30.setWidth(1); checkOut30.setX(446); checkOut30.setY(504); checkOut25.addBasicElement(checkOut30); checkOut30.onAttributesInitialized(); checkOut30.onChildrenAdded(); final PixmapElement checkOut31 = PixmapElement.checkOut(); checkOut31.setElementMap(elementMap); checkOut31.setFlipHorizontaly(true); checkOut31.setHeight(7); checkOut31.setPosition(Alignment17.EAST); checkOut31.setTexture(this.doc.getTexture("default_1.tga")); checkOut31.setWidth(9); checkOut31.setX(130); checkOut31.setY(549); checkOut25.addBasicElement(checkOut31); checkOut31.onAttributesInitialized(); checkOut31.onChildrenAdded(); final PixmapElement checkOut32 = PixmapElement.checkOut(); checkOut32.setElementMap(elementMap); checkOut32.setHeight(9); checkOut32.setPosition(Alignment17.SOUTH_WEST); checkOut32.setTexture(this.doc.getTexture("default_1.tga")); checkOut32.setWidth(9); checkOut32.setX(405); checkOut32.setY(141); checkOut25.addBasicElement(checkOut32); checkOut32.onAttributesInitialized(); checkOut32.onChildrenAdded(); final PixmapElement checkOut33 = PixmapElement.checkOut(); checkOut33.setElementMap(elementMap); checkOut33.setHeight(9); checkOut33.setPosition(Alignment17.SOUTH); checkOut33.setTexture(this.doc.getTexture("default_1.tga")); checkOut33.setWidth(1); checkOut33.setX(179); checkOut33.setY(551); checkOut25.addBasicElement(checkOut33); checkOut33.onAttributesInitialized(); checkOut33.onChildrenAdded(); final PixmapElement checkOut34 = PixmapElement.checkOut(); checkOut34.setElementMap(elementMap); checkOut34.setFlipHorizontaly(true); checkOut34.setHeight(9); checkOut34.setPosition(Alignment17.SOUTH_EAST); checkOut34.setTexture(this.doc.getTexture("default_1.tga")); checkOut34.setWidth(9); checkOut34.setX(405); checkOut34.setY(141); checkOut25.addBasicElement(checkOut34); checkOut34.onAttributesInitialized(); checkOut34.onChildrenAdded(); checkOut25.onChildrenAdded(); appearance3.onChildrenAdded(); final DecoratorAppearance appearance4 = widget.getAppearance(); appearance4.setElementMap(elementMap); ((TextWidgetAppearance) appearance4).setAlign(Alignment9.CENTER); appearance4.setState("disabled"); widget.addBasicElement(appearance4); appearance4.onAttributesInitialized(); final ColorElement checkOut35 = ColorElement.checkOut(); checkOut35.setElementMap(elementMap); checkOut35.setColor(new Color(0.6f, 0.6f, 0.6f, 1.0f)); appearance4.addBasicElement(checkOut35); checkOut35.onAttributesInitialized(); checkOut35.onChildrenAdded(); final String id7 = "buttonYellowBackgroundFullDisabled"; final PixmapBackground checkOut36 = PixmapBackground.checkOut(); checkOut36.setElementMap(elementMap); if (elementMap != null && id7 != null) { elementMap.add(id7, checkOut36); } checkOut36.setEnabled(false); checkOut36.setScaled(true); appearance4.addBasicElement(checkOut36); checkOut36.onAttributesInitialized(); final PixmapElement checkOut37 = PixmapElement.checkOut(); checkOut37.setElementMap(elementMap); checkOut37.setHeight(9); checkOut37.setPosition(Alignment17.NORTH_WEST); checkOut37.setTexture(this.doc.getTexture("default_1.tga")); checkOut37.setWidth(9); checkOut37.setX(102); checkOut37.setY(140); checkOut36.addBasicElement(checkOut37); checkOut37.onAttributesInitialized(); checkOut37.onChildrenAdded(); final PixmapElement checkOut38 = PixmapElement.checkOut(); checkOut38.setElementMap(elementMap); checkOut38.setHeight(9); checkOut38.setPosition(Alignment17.NORTH); checkOut38.setTexture(this.doc.getTexture("default_1.tga")); checkOut38.setWidth(1); checkOut38.setX(89); checkOut38.setY(562); checkOut36.addBasicElement(checkOut38); checkOut38.onAttributesInitialized(); checkOut38.onChildrenAdded(); final PixmapElement checkOut39 = PixmapElement.checkOut(); checkOut39.setElementMap(elementMap); checkOut39.setFlipHorizontaly(true); checkOut39.setHeight(9); checkOut39.setPosition(Alignment17.NORTH_EAST); checkOut39.setTexture(this.doc.getTexture("default_1.tga")); checkOut39.setWidth(9); checkOut39.setX(102); checkOut39.setY(140); checkOut36.addBasicElement(checkOut39); checkOut39.onAttributesInitialized(); checkOut39.onChildrenAdded(); final PixmapElement checkOut40 = PixmapElement.checkOut(); checkOut40.setElementMap(elementMap); checkOut40.setHeight(7); checkOut40.setPosition(Alignment17.WEST); checkOut40.setTexture(this.doc.getTexture("default_1.tga")); checkOut40.setWidth(9); checkOut40.setX(490); checkOut40.setY(140); checkOut36.addBasicElement(checkOut40); checkOut40.onAttributesInitialized(); checkOut40.onChildrenAdded(); final PixmapElement checkOut41 = PixmapElement.checkOut(); checkOut41.setElementMap(elementMap); checkOut41.setHeight(7); checkOut41.setPosition(Alignment17.CENTER); checkOut41.setTexture(this.doc.getTexture("default_1.tga")); checkOut41.setWidth(1); checkOut41.setX(913); checkOut41.setY(461); checkOut36.addBasicElement(checkOut41); checkOut41.onAttributesInitialized(); checkOut41.onChildrenAdded(); final PixmapElement checkOut42 = PixmapElement.checkOut(); checkOut42.setElementMap(elementMap); checkOut42.setFlipHorizontaly(true); checkOut42.setHeight(7); checkOut42.setPosition(Alignment17.EAST); checkOut42.setTexture(this.doc.getTexture("default_1.tga")); checkOut42.setWidth(9); checkOut42.setX(490); checkOut42.setY(140); checkOut36.addBasicElement(checkOut42); checkOut42.onAttributesInitialized(); checkOut42.onChildrenAdded(); final PixmapElement checkOut43 = PixmapElement.checkOut(); checkOut43.setElementMap(elementMap); checkOut43.setHeight(9); checkOut43.setPosition(Alignment17.SOUTH_WEST); checkOut43.setTexture(this.doc.getTexture("default_0.tga")); checkOut43.setWidth(9); checkOut43.setX(823); checkOut43.setY(93); checkOut36.addBasicElement(checkOut43); checkOut43.onAttributesInitialized(); checkOut43.onChildrenAdded(); this.method0(checkOut36); this.method1(checkOut36); checkOut36.onChildrenAdded(); appearance4.onChildrenAdded(); }
@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(1, 1, 1, 1)); widget.addBasicElement(element); element.onAttributesInitialized(); element.onChildrenAdded(); final DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); appearance.setState("default"); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final PixmapElement checkOut = PixmapElement.checkOut(); checkOut.setElementMap(elementMap); checkOut.setFlipVerticaly(true); checkOut.setHeight(8); checkOut.setPosition(Alignment17.CENTER); checkOut.setTexture(this.doc.getTexture("default_0.tga")); checkOut.setWidth(10); checkOut.setX(874); checkOut.setY(3); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); appearance.onChildrenAdded(); final DecoratorAppearance appearance2 = widget.getAppearance(); appearance2.setElementMap(elementMap); appearance2.setState("mouseHover"); widget.addBasicElement(appearance2); appearance2.onAttributesInitialized(); final PixmapElement checkOut2 = PixmapElement.checkOut(); checkOut2.setElementMap(elementMap); checkOut2.setFlipVerticaly(true); checkOut2.setHeight(8); checkOut2.setPosition(Alignment17.CENTER); checkOut2.setTexture(this.doc.getTexture("default_0.tga")); checkOut2.setWidth(10); checkOut2.setX(304); checkOut2.setY(209); appearance2.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); appearance2.onChildrenAdded(); final DecoratorAppearance appearance3 = widget.getAppearance(); appearance3.setElementMap(elementMap); appearance3.setState("pressed"); widget.addBasicElement(appearance3); appearance3.onAttributesInitialized(); final PixmapElement checkOut3 = PixmapElement.checkOut(); checkOut3.setElementMap(elementMap); checkOut3.setFlipVerticaly(true); checkOut3.setHeight(8); checkOut3.setPosition(Alignment17.CENTER); checkOut3.setTexture(this.doc.getTexture("default_1.tga")); checkOut3.setWidth(10); checkOut3.setX(33); checkOut3.setY(384); appearance3.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); appearance3.onChildrenAdded(); }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final String id = "darkBackgroundFull"; final PixmapBackground checkOut = PixmapBackground.checkOut(); checkOut.setElementMap(elementMap); if (elementMap != null && id != null) { elementMap.add(id, checkOut); } checkOut.setScaled(true); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); final PixmapElement checkOut2 = PixmapElement.checkOut(); checkOut2.setElementMap(elementMap); checkOut2.setHeight(4); checkOut2.setPosition(Alignment17.NORTH_WEST); checkOut2.setTexture(this.doc.getTexture("default_1.tga")); checkOut2.setWidth(4); checkOut2.setX(25); checkOut2.setY(192); checkOut.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); final PixmapElement checkOut3 = PixmapElement.checkOut(); checkOut3.setElementMap(elementMap); checkOut3.setHeight(4); checkOut3.setPosition(Alignment17.NORTH); checkOut3.setTexture(this.doc.getTexture("default_0.tga")); checkOut3.setWidth(12); checkOut3.setX(954); checkOut3.setY(214); checkOut.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); final PixmapElement checkOut4 = PixmapElement.checkOut(); checkOut4.setElementMap(elementMap); checkOut4.setHeight(4); checkOut4.setPosition(Alignment17.NORTH_EAST); checkOut4.setTexture(this.doc.getTexture("default_1.tga")); checkOut4.setWidth(4); checkOut4.setX(863); checkOut4.setY(247); checkOut.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); final PixmapElement checkOut5 = PixmapElement.checkOut(); checkOut5.setElementMap(elementMap); checkOut5.setHeight(12); checkOut5.setPosition(Alignment17.EAST); checkOut5.setTexture(this.doc.getTexture("default_0.tga")); checkOut5.setWidth(4); checkOut5.setX(315); checkOut5.setY(622); checkOut.addBasicElement(checkOut5); checkOut5.onAttributesInitialized(); checkOut5.onChildrenAdded(); final PixmapElement checkOut6 = PixmapElement.checkOut(); checkOut6.setElementMap(elementMap); checkOut6.setHeight(12); checkOut6.setPosition(Alignment17.CENTER); checkOut6.setTexture(this.doc.getTexture("default_1.tga")); checkOut6.setWidth(12); checkOut6.setX(146); checkOut6.setY(246); checkOut.addBasicElement(checkOut6); checkOut6.onAttributesInitialized(); checkOut6.onChildrenAdded(); final PixmapElement checkOut7 = PixmapElement.checkOut(); checkOut7.setElementMap(elementMap); checkOut7.setHeight(4); checkOut7.setPosition(Alignment17.SOUTH_EAST); checkOut7.setTexture(this.doc.getTexture("default_1.tga")); checkOut7.setWidth(4); checkOut7.setX(110); checkOut7.setY(233); checkOut.addBasicElement(checkOut7); checkOut7.onAttributesInitialized(); checkOut7.onChildrenAdded(); final PixmapElement checkOut8 = PixmapElement.checkOut(); checkOut8.setElementMap(elementMap); checkOut8.setHeight(4); checkOut8.setPosition(Alignment17.SOUTH); checkOut8.setTexture(this.doc.getTexture("default_1.tga")); checkOut8.setWidth(12); checkOut8.setX(866); checkOut8.setY(671); checkOut.addBasicElement(checkOut8); checkOut8.onAttributesInitialized(); checkOut8.onChildrenAdded(); final PixmapElement checkOut9 = PixmapElement.checkOut(); checkOut9.setElementMap(elementMap); checkOut9.setHeight(4); checkOut9.setPosition(Alignment17.SOUTH_WEST); checkOut9.setTexture(this.doc.getTexture("default_1.tga")); checkOut9.setWidth(4); checkOut9.setX(834); checkOut9.setY(190); checkOut.addBasicElement(checkOut9); checkOut9.onAttributesInitialized(); checkOut9.onChildrenAdded(); final PixmapElement checkOut10 = PixmapElement.checkOut(); checkOut10.setElementMap(elementMap); checkOut10.setHeight(12); checkOut10.setPosition(Alignment17.WEST); checkOut10.setTexture(this.doc.getTexture("default_1.tga")); checkOut10.setWidth(4); checkOut10.setX(134); checkOut10.setY(596); checkOut.addBasicElement(checkOut10); checkOut10.onAttributesInitialized(); checkOut10.onChildrenAdded(); checkOut.onChildrenAdded(); final Padding element = new Padding(); element.onCheckOut(); element.setElementMap(elementMap); element.setInsets(new Insets(2, 2, 2, 2)); appearance.addBasicElement(element); element.onAttributesInitialized(); element.onChildrenAdded(); appearance.onChildrenAdded(); }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); appearance.setState("default"); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final String id = "symbiotFightButtonDefaultPixmap"; final PixmapElement checkOut = PixmapElement.checkOut(); checkOut.setElementMap(elementMap); if (elementMap != null && id != null) { elementMap.add(id, checkOut); } checkOut.setHeight(21); checkOut.setPosition(Alignment17.CENTER); checkOut.setTexture(this.doc.getTexture("default_1.tga")); checkOut.setWidth(21); checkOut.setX(632); checkOut.setY(283); appearance.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); appearance.onChildrenAdded(); final DecoratorAppearance appearance2 = widget.getAppearance(); appearance2.setElementMap(elementMap); appearance2.setState("pressed"); widget.addBasicElement(appearance2); appearance2.onAttributesInitialized(); final String id2 = "symbiotFightButtonPressedPixmap"; final PixmapElement checkOut2 = PixmapElement.checkOut(); checkOut2.setElementMap(elementMap); if (elementMap != null && id2 != null) { elementMap.add(id2, checkOut2); } checkOut2.setHeight(21); checkOut2.setPosition(Alignment17.CENTER); checkOut2.setTexture(this.doc.getTexture("default_1.tga")); checkOut2.setWidth(21); checkOut2.setX(945); checkOut2.setY(306); appearance2.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); appearance2.onChildrenAdded(); final DecoratorAppearance appearance3 = widget.getAppearance(); appearance3.setElementMap(elementMap); appearance3.setState("mouseHover"); widget.addBasicElement(appearance3); appearance3.onAttributesInitialized(); final String id3 = "symbiotFightButtonOverPixmap"; final PixmapElement checkOut3 = PixmapElement.checkOut(); checkOut3.setElementMap(elementMap); if (elementMap != null && id3 != null) { elementMap.add(id3, checkOut3); } checkOut3.setHeight(21); checkOut3.setPosition(Alignment17.CENTER); checkOut3.setTexture(this.doc.getTexture("default_1.tga")); checkOut3.setWidth(21); checkOut3.setX(692); checkOut3.setY(283); appearance3.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); appearance3.onChildrenAdded(); final DecoratorAppearance appearance4 = widget.getAppearance(); appearance4.setElementMap(elementMap); appearance4.setState("disabled"); widget.addBasicElement(appearance4); appearance4.onAttributesInitialized(); final String id4 = "symbiotFightButtonDisabledPixmap"; final PixmapElement checkOut4 = PixmapElement.checkOut(); checkOut4.setElementMap(elementMap); if (elementMap != null && id4 != null) { elementMap.add(id4, checkOut4); } checkOut4.setHeight(21); checkOut4.setPosition(Alignment17.CENTER); checkOut4.setTexture(this.doc.getTexture("default_1.tga")); checkOut4.setWidth(21); checkOut4.setX(491); checkOut4.setY(283); appearance4.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); appearance4.onChildrenAdded(); }
@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 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(27); checkOut.setPosition(Alignment17.CENTER); checkOut.setTexture(this.doc.getTexture("default_0.tga")); checkOut.setWidth(27); checkOut.setX(191); checkOut.setY(3); 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(27); checkOut2.setPosition(Alignment17.CENTER); checkOut2.setTexture(this.doc.getTexture("mru_0.tga")); checkOut2.setWidth(27); checkOut2.setX(872); checkOut2.setY(363); 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(27); checkOut3.setPosition(Alignment17.CENTER); checkOut3.setTexture(this.doc.getTexture("mru_0.tga")); checkOut3.setWidth(27); checkOut3.setX(33); checkOut3.setY(300); appearance3.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); appearance3.onChildrenAdded(); final DecoratorAppearance appearance4 = widget.getAppearance(); appearance4.setElementMap(elementMap); ((TextWidgetAppearance) appearance4).setAlignment(Alignment9.CENTER); appearance4.setState("disabled"); widget.addBasicElement(appearance4); appearance4.onAttributesInitialized(); final PixmapElement checkOut4 = PixmapElement.checkOut(); checkOut4.setElementMap(elementMap); checkOut4.setHeight(27); checkOut4.setPosition(Alignment17.CENTER); checkOut4.setTexture(this.doc.getTexture("mru_0.tga")); checkOut4.setWidth(27); checkOut4.setX(33); checkOut4.setY(420); appearance4.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); appearance4.onChildrenAdded(); }
@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 DecoratorAppearance appearance = widget.getAppearance(); appearance.setElementMap(elementMap); widget.addBasicElement(appearance); appearance.onAttributesInitialized(); final Widget widgetByThemeElementName = appearance .getParentOfType(Widget.class) .getWidgetByThemeElementName("horizontalIncreaseButton", false); if (widgetByThemeElementName != null) { final Padding element = new Padding(); element.onCheckOut(); element.setElementMap(elementMap); element.setInsets(new Insets(1, 1, 1, 1)); widgetByThemeElementName.addBasicElement(element); element.onAttributesInitialized(); element.onChildrenAdded(); final DecoratorAppearance appearance2 = widgetByThemeElementName.getAppearance(); appearance2.setElementMap(elementMap); appearance2.setState("default"); widgetByThemeElementName.addBasicElement(appearance2); appearance2.onAttributesInitialized(); final PixmapElement checkOut = PixmapElement.checkOut(); checkOut.setElementMap(elementMap); checkOut.setHeight(12); checkOut.setPosition(Alignment17.CENTER); checkOut.setTexture(this.doc.getTexture("default_1.tga")); checkOut.setWidth(10); checkOut.setX(40); checkOut.setY(518); appearance2.addBasicElement(checkOut); checkOut.onAttributesInitialized(); checkOut.onChildrenAdded(); appearance2.onChildrenAdded(); final DecoratorAppearance appearance3 = widgetByThemeElementName.getAppearance(); appearance3.setElementMap(elementMap); appearance3.setState("mouseHover"); widgetByThemeElementName.addBasicElement(appearance3); appearance3.onAttributesInitialized(); final PixmapElement checkOut2 = PixmapElement.checkOut(); checkOut2.setElementMap(elementMap); checkOut2.setHeight(12); checkOut2.setPosition(Alignment17.CENTER); checkOut2.setTexture(this.doc.getTexture("default_1.tga")); checkOut2.setWidth(10); checkOut2.setX(51); checkOut2.setY(310); appearance3.addBasicElement(checkOut2); checkOut2.onAttributesInitialized(); checkOut2.onChildrenAdded(); appearance3.onChildrenAdded(); final DecoratorAppearance appearance4 = widgetByThemeElementName.getAppearance(); appearance4.setElementMap(elementMap); appearance4.setState("pressed"); widgetByThemeElementName.addBasicElement(appearance4); appearance4.onAttributesInitialized(); final PixmapElement checkOut3 = PixmapElement.checkOut(); checkOut3.setElementMap(elementMap); checkOut3.setHeight(12); checkOut3.setPosition(Alignment17.CENTER); checkOut3.setTexture(this.doc.getTexture("default_1.tga")); checkOut3.setWidth(10); checkOut3.setX(800); checkOut3.setY(204); appearance4.addBasicElement(checkOut3); checkOut3.onAttributesInitialized(); checkOut3.onChildrenAdded(); appearance4.onChildrenAdded(); } final Widget widgetByThemeElementName2 = appearance .getParentOfType(Widget.class) .getWidgetByThemeElementName("horizontalDecreaseButton", false); if (widgetByThemeElementName2 != null) { final Padding element2 = new Padding(); element2.onCheckOut(); element2.setElementMap(elementMap); element2.setInsets(new Insets(1, 1, 1, 1)); widgetByThemeElementName2.addBasicElement(element2); element2.onAttributesInitialized(); element2.onChildrenAdded(); final DecoratorAppearance appearance5 = widgetByThemeElementName2.getAppearance(); appearance5.setElementMap(elementMap); appearance5.setState("default"); widgetByThemeElementName2.addBasicElement(appearance5); appearance5.onAttributesInitialized(); final PixmapElement checkOut4 = PixmapElement.checkOut(); checkOut4.setElementMap(elementMap); checkOut4.setHeight(12); checkOut4.setPosition(Alignment17.CENTER); checkOut4.setTexture(this.doc.getTexture("default_1.tga")); checkOut4.setWidth(10); checkOut4.setX(51); checkOut4.setY(340); appearance5.addBasicElement(checkOut4); checkOut4.onAttributesInitialized(); checkOut4.onChildrenAdded(); appearance5.onChildrenAdded(); final DecoratorAppearance appearance6 = widgetByThemeElementName2.getAppearance(); appearance6.setElementMap(elementMap); appearance6.setState("mouseHover"); widgetByThemeElementName2.addBasicElement(appearance6); appearance6.onAttributesInitialized(); final PixmapElement checkOut5 = PixmapElement.checkOut(); checkOut5.setElementMap(elementMap); checkOut5.setHeight(12); checkOut5.setPosition(Alignment17.CENTER); checkOut5.setTexture(this.doc.getTexture("default_1.tga")); checkOut5.setWidth(10); checkOut5.setX(51); checkOut5.setY(325); appearance6.addBasicElement(checkOut5); checkOut5.onAttributesInitialized(); checkOut5.onChildrenAdded(); appearance6.onChildrenAdded(); final DecoratorAppearance appearance7 = widgetByThemeElementName2.getAppearance(); appearance7.setElementMap(elementMap); appearance7.setState("pressed"); widgetByThemeElementName2.addBasicElement(appearance7); appearance7.onAttributesInitialized(); final PixmapElement checkOut6 = PixmapElement.checkOut(); checkOut6.setElementMap(elementMap); checkOut6.setHeight(12); checkOut6.setPosition(Alignment17.CENTER); checkOut6.setTexture(this.doc.getTexture("default_1.tga")); checkOut6.setWidth(10); checkOut6.setX(40); checkOut6.setY(533); appearance7.addBasicElement(checkOut6); checkOut6.onAttributesInitialized(); checkOut6.onChildrenAdded(); appearance7.onChildrenAdded(); } final Widget widgetByThemeElementName3 = appearance .getParentOfType(Widget.class) .getWidgetByThemeElementName("horizontalSlider", false); if (widgetByThemeElementName3 != null) { final DecoratorAppearance appearance8 = widgetByThemeElementName3.getAppearance(); appearance8.setElementMap(elementMap); widgetByThemeElementName3.addBasicElement(appearance8); appearance8.onAttributesInitialized(); final Widget widgetByThemeElementName4 = appearance8 .getParentOfType(Widget.class) .getWidgetByThemeElementName("horizontalButton", false); if (widgetByThemeElementName4 != null) { final DecoratorAppearance appearance9 = widgetByThemeElementName4.getAppearance(); appearance9.setElementMap(elementMap); appearance9.setState("default"); widgetByThemeElementName4.addBasicElement(appearance9); appearance9.onAttributesInitialized(); final PixmapBorder element3 = new PixmapBorder(); element3.onCheckOut(); element3.setElementMap(elementMap); appearance9.addBasicElement(element3); element3.onAttributesInitialized(); final PixmapElement checkOut7 = PixmapElement.checkOut(); checkOut7.setElementMap(elementMap); checkOut7.setHeight(4); checkOut7.setPosition(Alignment17.NORTH_WEST); checkOut7.setTexture(this.doc.getTexture("default_1.tga")); checkOut7.setWidth(4); checkOut7.setX(892); checkOut7.setY(240); element3.addBasicElement(checkOut7); checkOut7.onAttributesInitialized(); checkOut7.onChildrenAdded(); final PixmapElement checkOut8 = PixmapElement.checkOut(); checkOut8.setElementMap(elementMap); checkOut8.setHeight(4); checkOut8.setPosition(Alignment17.NORTH); checkOut8.setTexture(this.doc.getTexture("default_1.tga")); checkOut8.setWidth(5); checkOut8.setX(713); checkOut8.setY(216); element3.addBasicElement(checkOut8); checkOut8.onAttributesInitialized(); checkOut8.onChildrenAdded(); final PixmapElement checkOut9 = PixmapElement.checkOut(); checkOut9.setElementMap(elementMap); checkOut9.setHeight(4); checkOut9.setPosition(Alignment17.NORTH_EAST); checkOut9.setTexture(this.doc.getTexture("default_1.tga")); checkOut9.setWidth(4); checkOut9.setX(538); checkOut9.setY(254); element3.addBasicElement(checkOut9); checkOut9.onAttributesInitialized(); checkOut9.onChildrenAdded(); final PixmapElement checkOut10 = PixmapElement.checkOut(); checkOut10.setElementMap(elementMap); checkOut10.setHeight(13); checkOut10.setPosition(Alignment17.EAST); checkOut10.setTexture(this.doc.getTexture("default_1.tga")); checkOut10.setWidth(4); checkOut10.setX(876); checkOut10.setY(733); element3.addBasicElement(checkOut10); checkOut10.onAttributesInitialized(); checkOut10.onChildrenAdded(); final PixmapElement checkOut11 = PixmapElement.checkOut(); checkOut11.setElementMap(elementMap); checkOut11.setHeight(4); checkOut11.setPosition(Alignment17.SOUTH_EAST); checkOut11.setTexture(this.doc.getTexture("default_1.tga")); checkOut11.setWidth(4); checkOut11.setX(977); checkOut11.setY(211); element3.addBasicElement(checkOut11); checkOut11.onAttributesInitialized(); checkOut11.onChildrenAdded(); final PixmapElement checkOut12 = PixmapElement.checkOut(); checkOut12.setElementMap(elementMap); checkOut12.setHeight(4); checkOut12.setPosition(Alignment17.SOUTH); checkOut12.setTexture(this.doc.getTexture("default_1.tga")); checkOut12.setWidth(5); checkOut12.setX(936); checkOut12.setY(221); element3.addBasicElement(checkOut12); checkOut12.onAttributesInitialized(); checkOut12.onChildrenAdded(); final PixmapElement checkOut13 = PixmapElement.checkOut(); checkOut13.setElementMap(elementMap); checkOut13.setHeight(4); checkOut13.setPosition(Alignment17.SOUTH_WEST); checkOut13.setTexture(this.doc.getTexture("default_1.tga")); checkOut13.setWidth(4); checkOut13.setX(834); checkOut13.setY(225); element3.addBasicElement(checkOut13); checkOut13.onAttributesInitialized(); checkOut13.onChildrenAdded(); final PixmapElement checkOut14 = PixmapElement.checkOut(); checkOut14.setElementMap(elementMap); checkOut14.setHeight(13); checkOut14.setPosition(Alignment17.WEST); checkOut14.setTexture(this.doc.getTexture("default_1.tga")); checkOut14.setWidth(4); checkOut14.setX(974); checkOut14.setY(596); element3.addBasicElement(checkOut14); checkOut14.onAttributesInitialized(); checkOut14.onChildrenAdded(); element3.onChildrenAdded(); final PixmapBackground checkOut15 = PixmapBackground.checkOut(); checkOut15.setElementMap(elementMap); checkOut15.setEnabled(true); checkOut15.setScaled(true); appearance9.addBasicElement(checkOut15); checkOut15.onAttributesInitialized(); final PixmapElement checkOut16 = PixmapElement.checkOut(); checkOut16.setElementMap(elementMap); checkOut16.setHeight(1); checkOut16.setPosition(Alignment17.CENTER); checkOut16.setTexture(this.doc.getTexture("default_1.tga")); checkOut16.setWidth(4); checkOut16.setX(939); checkOut16.setY(201); checkOut15.addBasicElement(checkOut16); checkOut16.onAttributesInitialized(); checkOut16.onChildrenAdded(); checkOut15.onChildrenAdded(); final PixmapElement checkOut17 = PixmapElement.checkOut(); checkOut17.setElementMap(elementMap); checkOut17.setHeight(6); checkOut17.setPosition(Alignment17.CENTER); checkOut17.setRotation(GeometrySprite.SpriteRotation.QUARTER_CLOCKWISE); checkOut17.setTexture(this.doc.getTexture("default_0.tga")); checkOut17.setWidth(4); checkOut17.setX(403); checkOut17.setY(279); appearance9.addBasicElement(checkOut17); checkOut17.onAttributesInitialized(); checkOut17.onChildrenAdded(); appearance9.onChildrenAdded(); final DecoratorAppearance appearance10 = widgetByThemeElementName4.getAppearance(); appearance10.setElementMap(elementMap); appearance10.setState("mouseHover"); widgetByThemeElementName4.addBasicElement(appearance10); appearance10.onAttributesInitialized(); final PixmapBorder element4 = new PixmapBorder(); element4.onCheckOut(); element4.setElementMap(elementMap); appearance10.addBasicElement(element4); element4.onAttributesInitialized(); final PixmapElement checkOut18 = PixmapElement.checkOut(); checkOut18.setElementMap(elementMap); checkOut18.setHeight(4); checkOut18.setPosition(Alignment17.NORTH_WEST); checkOut18.setTexture(this.doc.getTexture("default_1.tga")); checkOut18.setWidth(4); checkOut18.setX(805); checkOut18.setY(192); element4.addBasicElement(checkOut18); checkOut18.onAttributesInitialized(); checkOut18.onChildrenAdded(); final PixmapElement checkOut19 = PixmapElement.checkOut(); checkOut19.setElementMap(elementMap); checkOut19.setHeight(4); checkOut19.setPosition(Alignment17.NORTH); checkOut19.setTexture(this.doc.getTexture("default_1.tga")); checkOut19.setWidth(5); checkOut19.setX(215); checkOut19.setY(209); element4.addBasicElement(checkOut19); checkOut19.onAttributesInitialized(); checkOut19.onChildrenAdded(); final PixmapElement checkOut20 = PixmapElement.checkOut(); checkOut20.setElementMap(elementMap); checkOut20.setHeight(4); checkOut20.setPosition(Alignment17.NORTH_EAST); checkOut20.setTexture(this.doc.getTexture("default_1.tga")); checkOut20.setWidth(4); checkOut20.setX(538); checkOut20.setY(240); element4.addBasicElement(checkOut20); checkOut20.onAttributesInitialized(); checkOut20.onChildrenAdded(); final PixmapElement checkOut21 = PixmapElement.checkOut(); checkOut21.setElementMap(elementMap); checkOut21.setHeight(13); checkOut21.setPosition(Alignment17.EAST); checkOut21.setTexture(this.doc.getTexture("default_1.tga")); checkOut21.setWidth(4); checkOut21.setX(876); checkOut21.setY(749); element4.addBasicElement(checkOut21); checkOut21.onAttributesInitialized(); checkOut21.onChildrenAdded(); final PixmapElement checkOut22 = PixmapElement.checkOut(); checkOut22.setElementMap(elementMap); checkOut22.setHeight(4); checkOut22.setPosition(Alignment17.SOUTH_EAST); checkOut22.setTexture(this.doc.getTexture("default_1.tga")); checkOut22.setWidth(4); checkOut22.setX(834); checkOut22.setY(232); element4.addBasicElement(checkOut22); checkOut22.onAttributesInitialized(); checkOut22.onChildrenAdded(); final PixmapElement checkOut23 = PixmapElement.checkOut(); checkOut23.setElementMap(elementMap); checkOut23.setHeight(4); checkOut23.setPosition(Alignment17.SOUTH); checkOut23.setTexture(this.doc.getTexture("default_0.tga")); checkOut23.setWidth(5); checkOut23.setX(895); checkOut23.setY(481); element4.addBasicElement(checkOut23); checkOut23.onAttributesInitialized(); checkOut23.onChildrenAdded(); final PixmapElement checkOut24 = PixmapElement.checkOut(); checkOut24.setElementMap(elementMap); checkOut24.setHeight(4); checkOut24.setPosition(Alignment17.SOUTH_WEST); checkOut24.setTexture(this.doc.getTexture("default_1.tga")); checkOut24.setWidth(4); checkOut24.setX(892); checkOut24.setY(247); element4.addBasicElement(checkOut24); checkOut24.onAttributesInitialized(); checkOut24.onChildrenAdded(); final PixmapElement checkOut25 = PixmapElement.checkOut(); checkOut25.setElementMap(elementMap); checkOut25.setHeight(13); checkOut25.setPosition(Alignment17.WEST); checkOut25.setTexture(this.doc.getTexture("default_1.tga")); checkOut25.setWidth(4); checkOut25.setX(134); checkOut25.setY(611); element4.addBasicElement(checkOut25); checkOut25.onAttributesInitialized(); checkOut25.onChildrenAdded(); element4.onChildrenAdded(); final PixmapBackground checkOut26 = PixmapBackground.checkOut(); checkOut26.setElementMap(elementMap); checkOut26.setEnabled(true); checkOut26.setScaled(true); appearance10.addBasicElement(checkOut26); checkOut26.onAttributesInitialized(); final PixmapElement checkOut27 = PixmapElement.checkOut(); checkOut27.setElementMap(elementMap); checkOut27.setHeight(2); checkOut27.setPosition(Alignment17.CENTER); checkOut27.setTexture(this.doc.getTexture("default_0.tga")); checkOut27.setWidth(4); checkOut27.setX(193); checkOut27.setY(622); checkOut26.addBasicElement(checkOut27); checkOut27.onAttributesInitialized(); checkOut27.onChildrenAdded(); checkOut26.onChildrenAdded(); final PixmapElement checkOut28 = PixmapElement.checkOut(); checkOut28.setElementMap(elementMap); checkOut28.setHeight(6); checkOut28.setPosition(Alignment17.CENTER); checkOut28.setRotation(GeometrySprite.SpriteRotation.QUARTER_CLOCKWISE); checkOut28.setTexture(this.doc.getTexture("default_1.tga")); checkOut28.setWidth(4); checkOut28.setX(46); checkOut28.setY(386); appearance10.addBasicElement(checkOut28); checkOut28.onAttributesInitialized(); checkOut28.onChildrenAdded(); appearance10.onChildrenAdded(); final DecoratorAppearance appearance11 = widgetByThemeElementName4.getAppearance(); appearance11.setElementMap(elementMap); appearance11.setState("pressed"); widgetByThemeElementName4.addBasicElement(appearance11); appearance11.onAttributesInitialized(); final PixmapBorder element5 = new PixmapBorder(); element5.onCheckOut(); element5.setElementMap(elementMap); appearance11.addBasicElement(element5); element5.onAttributesInitialized(); final PixmapElement checkOut29 = PixmapElement.checkOut(); checkOut29.setElementMap(elementMap); checkOut29.setHeight(4); checkOut29.setPosition(Alignment17.NORTH_WEST); checkOut29.setTexture(this.doc.getTexture("default_1.tga")); checkOut29.setWidth(4); checkOut29.setX(713); checkOut29.setY(202); element5.addBasicElement(checkOut29); checkOut29.onAttributesInitialized(); checkOut29.onChildrenAdded(); final PixmapElement checkOut30 = PixmapElement.checkOut(); checkOut30.setElementMap(elementMap); checkOut30.setHeight(4); checkOut30.setPosition(Alignment17.NORTH); checkOut30.setTexture(this.doc.getTexture("default_1.tga")); checkOut30.setWidth(5); checkOut30.setX(215); checkOut30.setY(202); element5.addBasicElement(checkOut30); checkOut30.onAttributesInitialized(); checkOut30.onChildrenAdded(); final PixmapElement checkOut31 = PixmapElement.checkOut(); checkOut31.setElementMap(elementMap); checkOut31.setHeight(4); checkOut31.setPosition(Alignment17.NORTH_EAST); checkOut31.setTexture(this.doc.getTexture("default_1.tga")); checkOut31.setWidth(4); checkOut31.setX(1015); checkOut31.setY(193); element5.addBasicElement(checkOut31); checkOut31.onAttributesInitialized(); checkOut31.onChildrenAdded(); final PixmapElement checkOut32 = PixmapElement.checkOut(); checkOut32.setElementMap(elementMap); checkOut32.setHeight(13); checkOut32.setPosition(Alignment17.EAST); checkOut32.setTexture(this.doc.getTexture("default_0.tga")); checkOut32.setWidth(4); checkOut32.setX(828); checkOut32.setY(9); element5.addBasicElement(checkOut32); checkOut32.onAttributesInitialized(); checkOut32.onChildrenAdded(); final PixmapElement checkOut33 = PixmapElement.checkOut(); checkOut33.setElementMap(elementMap); checkOut33.setHeight(4); checkOut33.setPosition(Alignment17.SOUTH_EAST); checkOut33.setTexture(this.doc.getTexture("default_1.tga")); checkOut33.setWidth(4); checkOut33.setX(110); checkOut33.setY(219); element5.addBasicElement(checkOut33); checkOut33.onAttributesInitialized(); checkOut33.onChildrenAdded(); final PixmapElement checkOut34 = PixmapElement.checkOut(); checkOut34.setElementMap(elementMap); checkOut34.setHeight(4); checkOut34.setPosition(Alignment17.SOUTH); checkOut34.setTexture(this.doc.getTexture("default_1.tga")); checkOut34.setWidth(5); checkOut34.setX(684); checkOut34.setY(356); element5.addBasicElement(checkOut34); checkOut34.onAttributesInitialized(); checkOut34.onChildrenAdded(); final PixmapElement checkOut35 = PixmapElement.checkOut(); checkOut35.setElementMap(elementMap); checkOut35.setHeight(4); checkOut35.setPosition(Alignment17.SOUTH_WEST); checkOut35.setTexture(this.doc.getTexture("default_1.tga")); checkOut35.setWidth(4); checkOut35.setX(834); checkOut35.setY(253); element5.addBasicElement(checkOut35); checkOut35.onAttributesInitialized(); checkOut35.onChildrenAdded(); this.method0(element5); element5.onChildrenAdded(); this.method1(appearance11); this.method2(appearance11); appearance11.onChildrenAdded(); } this.method3(appearance8); appearance8.onChildrenAdded(); } appearance.onChildrenAdded(); }