Package org.spoutcraft.api.gui

Examples of org.spoutcraft.api.gui.GenericListView


    buttonRefresh = new GenericButton("Refresh");
    buttonRefresh.setHeight(20).setWidth(100).setX(width - 105).setY(5);
    getScreen().attachWidget("Spoutcraft", buttonRefresh);

    int viewheight = height - 110;
    view = new GenericListView(model);
    view.setX(5).setY(30).setWidth(width - 10).setHeight(viewheight);
    getScreen().attachWidget("Spoutcraft", view);

    int top = (int) (view.getY() + view.getHeight() + 5);
View Full Code Here


    hasPlayers = new FilterButton("Has Players", "hasplayers", model);
    notFull = new FilterButton("Not Full", "notfull", model);
    accessType = new AccessTypeFilter(model);
    search = new SearchField(model);
    buttonCountry = new CountryButton();
    view = new GenericListView(model);
    buttonJoin = new GenericButton("Join Server");
    buttonMainMenu = new GenericButton("Main Menu");
    buttonFavorites = new GenericButton("Favorites");
    buttonRefresh = new GenericButton("Refresh");
    buttonReset = new GenericButton("Reset Filters");
View Full Code Here

    buttonRefresh = new GenericButton("Refresh");
    buttonRefresh.setHeight(20).setWidth(100).setX(width - 105).setY(5);
    getScreen().attachWidget("Spoutcraft", buttonRefresh);

    int viewheight = height - 110;
    view = new GenericListView(model);
    view.setX(5).setY(30).setWidth(width - 10).setHeight(viewheight);
    getScreen().attachWidget("Spoutcraft", view);

    int top = (int) (view.getY() + view.getHeight() + 5);
View Full Code Here

    buttonRemove.setTooltip("Remove Shortcut");
    labelDescription = new GenericLabel();
    labelDescription.setText("Double-click an item, then press the key (combination).");
    labelDescription.setWrapLines(true);
    filter = new GenericScrollArea();
    view = new GenericListView(model);
    model.setCurrentGui(this);

    checkVanilla = new ControlsCheckBox(this, VANILLA_COLOR + "Minecraft Bindings");
    checkSpoutcraft = new ControlsCheckBox(this, SPOUTCRAFT_COLOR + "Spoutcraft Bindings");
    checkCustom = new ControlsCheckBox(this, CUSTOM_COLOR + "Custom Bindings");
View Full Code Here

TOP

Related Classes of org.spoutcraft.api.gui.GenericListView

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.