use of mekanism.client.gui.element.tab.GuiAmplifierTab in project Mekanism by mekanism.
the class GuiLaserAmplifier method addGuiElements.
@Override
protected void addGuiElements() {
super.addGuiElements();
addButton(new GuiEnergyGauge(tile.getEnergyContainer(), GaugeType.STANDARD, this, 6, 10));
addButton(new GuiAmplifierTab(this, tile));
timerField = addButton(new GuiTextField(this, 96, 28, 36, 11));
timerField.setMaxStringLength(4);
timerField.setEnterHandler(this::setTime);
timerField.setInputValidator(InputValidator.DIGIT);
minField = addButton(new GuiTextField(this, 96, 43, 72, 11));
minField.setMaxStringLength(10);
minField.setEnterHandler(this::setMinThreshold);
minField.setInputValidator(InputValidator.SCI_NOTATION);
maxField = addButton(new GuiTextField(this, 96, 58, 72, 11));
maxField.setMaxStringLength(10);
maxField.setEnterHandler(this::setMaxThreshold);
maxField.setInputValidator(InputValidator.SCI_NOTATION);
}
Aggregations