Class ActionWidgetDropdown
java.lang.Object
me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidget<W>
me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidgetVariable<WidgetComboBox>
me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidgetDropdown
-
Field Summary
Fields inherited from class me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidget
widget -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.gui.screens.ScreengetGui(RemoteEditorScreen guiRemote) getId()booleanintgetWidth()voidvoidvoidvoidreadFromNBT(net.minecraft.nbt.CompoundTag tag, int guiLeft, int guiTop) voidsetDropDownElements(String dropDownElements) voidsetSorted(boolean sorted) voidsetWidgetPos(int x, int y) voidsetWidth(int width) net.minecraft.nbt.CompoundTagtoNBT(int guiLeft, int guiTop) Methods inherited from class me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidgetVariable
getVariableName, setVariableNameMethods inherited from class me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidget
copy, getEnableVariable, getEnablingValue, isEnabled, setEnableVariable, setEnablingValue
-
Constructor Details
-
ActionWidgetDropdown
public ActionWidgetDropdown() -
ActionWidgetDropdown
-
-
Method Details
-
readFromNBT
public void readFromNBT(net.minecraft.nbt.CompoundTag tag, int guiLeft, int guiTop) - Overrides:
readFromNBTin classActionWidgetVariable<WidgetComboBox>
-
toNBT
public net.minecraft.nbt.CompoundTag toNBT(int guiLeft, int guiTop) - Overrides:
toNBTin classActionWidgetVariable<WidgetComboBox>
-
getId
- Specified by:
getIdin classActionWidget<WidgetComboBox>
-
onKeyTyped
public void onKeyTyped()- Overrides:
onKeyTypedin classActionWidgetVariable<WidgetComboBox>
-
onVariableChange
public void onVariableChange()- Specified by:
onVariableChangein classActionWidgetVariable<WidgetComboBox>
-
setWidgetPos
public void setWidgetPos(int x, int y) - Specified by:
setWidgetPosin classActionWidget<WidgetComboBox>
-
getWidget
- Overrides:
getWidgetin classActionWidget<WidgetComboBox>
-
onActionPerformed
public void onActionPerformed()- Specified by:
onActionPerformedin classActionWidgetVariable<WidgetComboBox>
-
setDropDownElements
-
getDropDownElements
-
getSorted
public boolean getSorted() -
setSorted
public void setSorted(boolean sorted) -
setWidth
public void setWidth(int width) -
getWidth
public int getWidth() -
getGui
- Overrides:
getGuiin classActionWidgetVariable<WidgetComboBox>
-