Package controlP5

Examples of controlP5.Textlabel.moveTo()


        nfoYPos+=yposAdd;
       
        Button saveScreenshot = cp5.addButton(GuiElement.SAVE_SCREENSHOT.guiText(), 0,
            nfoXPos, nfoYPos, 110, 15);
        saveScreenshot.setCaptionLabel(messages.getString("GeneratorGui.SAVE_SCREENSHOT")); //$NON-NLS-1$
        saveScreenshot.moveTo(infoTab);
        cp5.getTooltip().register(GuiElement.SAVE_SCREENSHOT.guiText(), messages.getString("GeneratorGui.TOOLTIP_SAVE_SCREENSHOT")); //$NON-NLS-1$

       
        nfoXPos += xposAdd;
        nfoYPos = yPosStartDrowdown+20;
View Full Code Here


        //----------       

        Textlabel tRnd = cp5.addTextlabel("rndDesc"//$NON-NLS-1$
            messages.getString("GeneratorGui.TEXT_RANDOM_MODE_SELECT_ELEMENTS")//$NON-NLS-1$
            20, yPosStartDrowdown);
        tRnd.moveTo(randomTab).getValueLabel();
       
       
        randomCheckbox = cp5.addCheckBox(GuiElement.RANDOM_ELEMENT.guiText())
                .setPosition(35, 20+yPosStartDrowdown)
                .setSize(40, 20)
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.