public static class GuiScreenEvent.ActionPerformedEvent extends GuiScreenEvent
| 修飾子とタイプ | クラスと説明 |
|---|---|
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.KeyboardCharTypedEvent, GuiScreenEvent.KeyboardKeyEvent, GuiScreenEvent.KeyboardKeyPressedEvent, GuiScreenEvent.KeyboardKeyReleasedEvent, GuiScreenEvent.MouseClickedEvent, GuiScreenEvent.MouseDragEvent, GuiScreenEvent.MouseInputEvent, GuiScreenEvent.MouseReleasedEvent, GuiScreenEvent.MouseScrollEvent, GuiScreenEvent.PotionShiftEventEvent.HasResult, Event.Result| コンストラクタと説明 |
|---|
ActionPerformedEvent(Screen gui,
Button button,
java.util.List<Button> buttonList) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Button |
getButton()
The button that was clicked.
|
java.util.List<Button> |
getButtonList()
A COPY of the
buttonList field from the GuiScreen referenced by GuiScreenEvent.gui. |
void |
setButton(Button button) |
void |
setButtonList(java.util.List<Button> buttonList) |
getGuigetListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic 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)