Package de.ailis.xadrian.support

Examples of de.ailis.xadrian.support.TextRenderer.newLine()


            Font font = UIManager.getFont("Label.font");
            if (font == null) font = new Font("Arial", Font.PLAIN, 12);
            textRenderer.setFont(font.deriveFont(Font.BOLD, font.getSize2D() * 1.2f / this.scale));
            textRenderer.setColor(titleColor);
            textRenderer.addText(this.overSector.getName());
            textRenderer.newLine();
            textRenderer.setFont(font.deriveFont(Font.PLAIN, font.getSize2D() / this.scale));
            textRenderer.setColor(detailColor);
            textRenderer.addText(String.format("%s: %d; %d", I18N
                .getString("component.sectorSelector.location"), this.overSector.getX(),
                this.overSector.getY()));
View Full Code Here


            textRenderer.setFont(font.deriveFont(Font.PLAIN, font.getSize2D() / this.scale));
            textRenderer.setColor(detailColor);
            textRenderer.addText(String.format("%s: %d; %d", I18N
                .getString("component.sectorSelector.location"), this.overSector.getX(),
                this.overSector.getY()));
            textRenderer.newLine();
            textRenderer.addText(String.format("%s: %s", I18N
                .getString("component.sectorSelector.race"), this.overSector.getRace()
                .toString()));
            textRenderer.newLine();
            textRenderer.addText(String.format("%s: %s", I18N
View Full Code Here

                this.overSector.getY()));
            textRenderer.newLine();
            textRenderer.addText(String.format("%s: %s", I18N
                .getString("component.sectorSelector.race"), this.overSector.getRace()
                .toString()));
            textRenderer.newLine();
            textRenderer.addText(String.format("%s: %s", I18N
                .getString("component.sectorSelector.suns"), this.overSector.getSuns()
                .toString()));

            addYieldInfo(textRenderer, this.overSector, "siliconWafers");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.