Package transientlibs.preui.objects.gui.elements

Examples of transientlibs.preui.objects.gui.elements.TextInfo



        //Text Info
        if (byTypeCode == TextInfoType) {
            if (setFont != null) {
                result = new TextInfo(setX, setY, "Text", -1, setFont);
                ((TextInfo) result).font = setFont;
                ((TextInfo) result).canBeClicked = true;
            } else {

                result = new TextInfo(setX, setY, "Text", -1, Detonator.INSTANCE.fontProvider.getDefaultFont());
                ((TextInfo) result).font = Detonator.INSTANCE.fontProvider.getDefaultFont();
                ((TextInfo) result).canBeClicked = true;
            }

        }
View Full Code Here


        return addInfo(x, y, setText, state.getTextFont());
    }

    public TextInfo addInfo(int x, int y, String setText, IFont setFont) {

        state.getDrawStorage().add(new TextInfo(x, y, setText, -1, setFont));

        TextMarker.lastTextMarker = (TextMarker) state.getDrawStorage().get((state.getDrawStorage()).size() - 1);
        state.getHoverStorage().add(TextMarker.lastTextMarker);

View Full Code Here

TOP

Related Classes of transientlibs.preui.objects.gui.elements.TextInfo

Copyright © 2018 www.massapicom. 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.