Package org.spoutcraft.api.gui

Examples of org.spoutcraft.api.gui.GenericListWidgetItem


    for (ListWidgetItem item:entries) {
      ret.add(item);
    }

    if (moreItems) {
      itemLoadNextItems = new GenericListWidgetItem("More items on the server.", "Click to load", "");
      ret.add(itemLoadNextItems);
    }
    return ret;
  }
View Full Code Here


          // Put a fancy error message on the list!
          clear();
          effectiveCache = new LinkedList<ListWidgetItem>();
          //String error = e1.getClass().getSimpleName().replaceAll("Exception", "");
          //error = error.replaceAll("([A-Z])", " $1").trim();
          effectiveCache.add(new GenericListWidgetItem(ChatColor.RED + "Could not load items!", e1.getMessage(), ""));
          return;
        } catch (Exception e) {
        }
        finally {
          setLoading(false);
View Full Code Here

TOP

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

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.