public static class GuiScreenEvent.ActionPerformedEvent extends GuiScreenEvent
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
GuiScreenEvent.ActionPerformedEvent.Post
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
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.MouseInputEvent, GuiScreenEvent.PotionShiftEventEvent.HasResult, Event.Result| Constructor and Description | 
|---|
ActionPerformedEvent(GuiScreen gui,
                    GuiButton button,
                    java.util.List<GuiButton> buttonList)  | 
| Modifier and Type | Method and Description | 
|---|---|
GuiButton | 
getButton()
The button that was clicked. 
 | 
java.util.List<GuiButton> | 
getButtonList()
A COPY of the  
buttonList field from the GuiScreen referenced by GuiScreenEvent.gui. | 
void | 
setButton(GuiButton button)  | 
void | 
setButtonList(java.util.List<GuiButton> buttonList)  | 
getGuigetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic GuiButton getButton()
public void setButton(GuiButton button)
public java.util.List<GuiButton> getButtonList()
buttonList field from the GuiScreen referenced by GuiScreenEvent.gui.public void setButtonList(java.util.List<GuiButton> buttonList)