Package crazypants.enderio.gui

Examples of crazypants.enderio.gui.CheckBoxEIO


    });

    int x = MARGIN + Minecraft.getMinecraft().fontRenderer.getStringWidth(titleStr) + SPACING;

    enabledB = new CheckBoxEIO(this, 21267, x, 8);
    enabledB.setSelectedToolTip(Lang.localize("gui.enabled"));
    enabledB.setUnselectedToolTip(Lang.localize("gui.disabled"));
    enabledB.setSelected(te.engineControlEnabled);

  }
View Full Code Here


    int x = 0;
    int y = 50;

    x = col0x - 8;
    privateCB = new CheckBoxEIO(this, ID_PRIVATE, x, y);
    privateCB.setSelected(te.getAccessMode() == AccessMode.PRIVATE);

    x = col1x - 8;
    protectedCB = new CheckBoxEIO(this, ID_PROTECTED, x, y);
    protectedCB.setSelected(te.getAccessMode() == AccessMode.PROTECTED);

    x = col2x - 8;
    publicCB = new CheckBoxEIO(this, ID_PUBLIC, x, y);
    publicCB.setSelected(te.getAccessMode() == AccessMode.PUBLIC);

    ySize = 185;
  }
View Full Code Here

TOP

Related Classes of crazypants.enderio.gui.CheckBoxEIO

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.