Package org.spoutcraft.api.gui

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()


    button.setSelected(Configuration.isAutomatePerformance() && Configuration.getAutomateMode() == 2);

    button = (RadioButton) new ManualSelectionButton("Manual Selection", message, parent).setGroup(1).setAlign(WidgetAnchor.TOP_CENTER);
    button.setWidth(150).setHeight(20).setX(right).setY(top);
    button.setTooltip("Disable automatic performance settings and adjust the settings manually.");
    screen.attachWidget("Spoutcraft", button);
    button.setSelected(!Configuration.isAutomatePerformance());

    top += 22;

    linebreak = new GenericGradient();
View Full Code Here


    linebreak = new GenericGradient();
    linebreak.setBottomColor(grey);
    linebreak.setTopColor(grey);
    linebreak.setX(width/2 - 318 / 2).setY(top).setHeight(3).setWidth(318);
    screen.attachWidget("Spoutcraft", linebreak);
    top += 6;

    ArrayList<CheckBox> graphicCheckboxes = new ArrayList<CheckBox>();

    control = new FancyGraphicsButton().setAlign(WidgetAnchor.TOP_CENTER);
View Full Code Here

    ArrayList<CheckBox> graphicCheckboxes = new ArrayList<CheckBox>();

    control = new FancyGraphicsButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX((int) (width / 2 - size / 2) - 75/2).setY(top);
    screen.attachWidget("Spoutcraft", control);
    UUID fancyGraphics = control.getId();
    top+=20;

    control = new FancyGrassButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
View Full Code Here

    UUID fancyGraphics = control.getId();
    top+=20;

    control = new FancyGrassButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    control = new FancyCloudsButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
View Full Code Here

    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    control = new FancyCloudsButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    top += 22;

    control = new BiomeColorsButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
View Full Code Here

    top += 22;

    control = new BiomeColorsButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    control = new FancyFogButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
View Full Code Here

    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    control = new FancyFogButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    top += 22;

    control = new FancyWaterButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
View Full Code Here

    top += 22;

    control = new FancyWaterButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    control = new FancyTreesButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
View Full Code Here

    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    control = new FancyTreesButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    top += 22;

    control = new FancyLightingButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
View Full Code Here

    top += 22;

    control = new FancyLightingButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    control = new FancyWeatherButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
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.