public class ActionWidgetCheckBox extends ActionWidgetVariable<WidgetCheckBox> implements IActionWidgetLabeled
widget| Constructor and Description |
|---|
ActionWidgetCheckBox() |
ActionWidgetCheckBox(WidgetCheckBox widget) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId() |
net.minecraft.util.text.ITextComponent |
getText() |
java.util.List<net.minecraft.util.text.ITextComponent> |
getTooltip() |
void |
onActionPerformed() |
void |
onVariableChange() |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag,
int guiLeft,
int guiTop) |
void |
setText(net.minecraft.util.text.ITextComponent text) |
void |
setTooltip(java.util.List<net.minecraft.util.text.ITextComponent> text) |
void |
setWidgetPos(int x,
int y) |
net.minecraft.nbt.CompoundNBT |
toNBT(int guiLeft,
int guiTop) |
getGui, getVariableName, onKeyTyped, setVariableNamecopy, getEnableVariable, getEnablingValue, getWidget, isEnabled, setEnableVariable, setEnablingValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializeTextComponentpublic ActionWidgetCheckBox()
public ActionWidgetCheckBox(WidgetCheckBox widget)
public void readFromNBT(net.minecraft.nbt.CompoundNBT tag,
int guiLeft,
int guiTop)
readFromNBT in class ActionWidgetVariable<WidgetCheckBox>public net.minecraft.nbt.CompoundNBT toNBT(int guiLeft,
int guiTop)
toNBT in class ActionWidgetVariable<WidgetCheckBox>public java.lang.String getId()
getId in class ActionWidget<WidgetCheckBox>public void setText(net.minecraft.util.text.ITextComponent text)
setText in interface IActionWidgetLabeledpublic net.minecraft.util.text.ITextComponent getText()
getText in interface IActionWidgetLabeledpublic void onActionPerformed()
onActionPerformed in class ActionWidgetVariable<WidgetCheckBox>public void onVariableChange()
onVariableChange in class ActionWidgetVariable<WidgetCheckBox>public void setWidgetPos(int x,
int y)
setWidgetPos in class ActionWidget<WidgetCheckBox>public void setTooltip(java.util.List<net.minecraft.util.text.ITextComponent> text)
setTooltip in interface IActionWidgetLabeledpublic java.util.List<net.minecraft.util.text.ITextComponent> getTooltip()
getTooltip in interface IActionWidgetLabeled