@Deprecated public static class GuiScreenEvent.ActionPerformedEvent extends GuiScreenEvent
Modifier and Type | Class and Description |
---|---|
static class |
GuiScreenEvent.ActionPerformedEvent.Post
Deprecated.
This event fires after
GuiScreen#actionPerformed(GuiButton) provided that the active
screen has not been changed as a result of GuiScreen#actionPerformed(GuiButton) . |
static class |
GuiScreenEvent.ActionPerformedEvent.Pre
Deprecated.
This event fires once it has been determined that a GuiButton object has been clicked.
|
GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEvent
Modifier and Type | Field and Description |
---|---|
private Button |
button
Deprecated.
|
private java.util.List<Button> |
buttonList
Deprecated.
|
Constructor and Description |
---|
ActionPerformedEvent(Screen gui,
Button button,
java.util.List<Button> buttonList)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Button |
getButton()
Deprecated.
The button that was clicked.
|
java.util.List<Button> |
getButtonList()
Deprecated.
A COPY of the
buttonList field from the GuiScreen referenced by GuiScreenEvent.gui . |
void |
setButton(Button button)
Deprecated.
|
void |
setButtonList(java.util.List<Button> buttonList)
Deprecated.
|
getGui
private Button button
private java.util.List<Button> buttonList
public Button getButton()
public void setButton(Button button)
public java.util.List<Button> getButtonList()
buttonList
field from the GuiScreen referenced by GuiScreenEvent.gui
.public void setButtonList(java.util.List<Button> buttonList)