Package org.getspout.spoutapi.gui

Examples of org.getspout.spoutapi.gui.GenericTextField


            popup.gridAttachWidget(plug, new GenericLabel("Owner: ").setTextColor(textPrimaryColor), 0, 4);
            popup.gridAttachWidget(plug, new GenericLabel("World: ").setTextColor(textPrimaryColor), 0, 5);
            popup.gridAttachWidget(plug, new GenericLabel(res.getOwner()).setTextColor(textSecondaryColor), 1, 4);
            popup.gridAttachWidget(plug, new GenericLabel(res.getWorld()).setTextColor(textSecondaryColor), 1, 5);

            GenericTextField flag = new GenericTextField();
            flag.setTooltip("The name of the flag...");
            flag.setColor(textSecondaryColor);
            flag.setFieldColor(fieldcolor);
            popup.gridAttachWidget("FlagName", plug, flag, 1, 1);

            GenericTextField playername = new GenericTextField();
            playername.setTooltip("The name of the player...");
            playername.setColor(textSecondaryColor);
            playername.setFieldColor(fieldcolor);
            popup.gridAttachWidget("PlayerName",plug, playername,1,2);

            GenericTextField groupname = new GenericTextField();
            groupname.setTooltip("The name of the group...");
            groupname.setColor(textSecondaryColor);
            groupname.setFieldColor(fieldcolor);
            popup.gridAttachWidget("GroupName",plug, groupname,1,3);

            GenericButton truebutton = new GenericButton("SetTrue");
            truebutton.setTooltip("Set the flag to true.");
            truebutton.setColor(textSecondaryColor);
View Full Code Here

TOP

Related Classes of org.getspout.spoutapi.gui.GenericTextField

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.