public static class GuiScreenEvent.ActionPerformedEvent extends GuiScreenEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
GuiScreenEvent.ActionPerformedEvent.Post
This event fires after
GuiScreen.actionPerformed() provided that the active
screen has not been changed as a result of GuiScreen.actionPerformed(). |
static class |
GuiScreenEvent.ActionPerformedEvent.Pre
This event fires once it has been determined that a GuiButton object has been clicked.
|
GuiScreenEvent.ActionPerformedEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEventEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
GuiButton |
button
The button that was clicked.
|
java.util.List |
buttonList
A COPY of the
buttonList field from the GuiScreen referenced by gui. |
gui| Constructor and Description |
|---|
GuiScreenEvent.ActionPerformedEvent(GuiScreen gui,
GuiButton button,
java.util.List buttonList) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic GuiButton button
public java.util.List buttonList
buttonList field from the GuiScreen referenced by gui.