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.BackgroundDrawnEvent, GuiScreenEvent.DrawScreenEvent, GuiScreenEvent.InitGuiEvent, GuiScreenEvent.KeyboardInputEvent, GuiScreenEvent.MouseInputEventEvent.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
GuiButton |
button
The button that was clicked.
|
java.util.List<GuiButton> |
buttonList
A COPY of the
buttonList field from the GuiScreen referenced by gui. |
gui| Constructor and Description |
|---|
ActionPerformedEvent(GuiScreen gui,
GuiButton button,
java.util.List<GuiButton> buttonList) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup