Package org.spoutcraft.api.gui

Examples of org.spoutcraft.api.gui.GenericTextProcessor


    getScreen().attachWidget("Spoutcraft", delayLabel);

    delayText = new GenericTextField();
    delayText.setGeometry(right, top - 1, width - right - 10, 16);
    delayText.setText(item.getDelay() + "");
    delayText.setTextProcessor(new GenericTextProcessor() {
      protected boolean insert(char c) {
        if (c >= '0' && c <= '9') {
          return super.insert(c);
        }
        return false;
View Full Code Here

TOP

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

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.