Class AsyncPlayerEditTextEvent
java.lang.Object
org.bukkit.event.Event
xyz.gmitch215.socketmc.events.SocketEvent
xyz.gmitch215.socketmc.events.screen.AsyncPlayerScreenEvent
xyz.gmitch215.socketmc.events.screen.AsyncPlayerElementEvent
xyz.gmitch215.socketmc.events.screen.AsyncPlayerEditTextEvent
Represents an event that is fired when a player edits a 
EditTextWidget.- 
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result - 
Constructor Summary
ConstructorsConstructorDescriptionAsyncPlayerEditTextEvent(@NotNull EditTextWidget element, @NotNull String text, @NotNull AbstractScreen screen, @NotNull SocketPlayer player) Constructs a new AsyncPlayerEditTextEvent. - 
Method Summary
Modifier and TypeMethodDescriptionGets the element associated with this event.getText()Gets the text that the player entered.Methods inherited from class xyz.gmitch215.socketmc.events.screen.AsyncPlayerScreenEvent
getScreenMethods inherited from class xyz.gmitch215.socketmc.events.SocketEvent
getHandlerList, getHandlers, getPlayer, getSocketPlayer, toStringMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous 
- 
Constructor Details
- 
AsyncPlayerEditTextEvent
public AsyncPlayerEditTextEvent(@NotNull @NotNull EditTextWidget element, @NotNull @NotNull String text, @NotNull @NotNull AbstractScreen screen, @NotNull @NotNull SocketPlayer player) Constructs a new AsyncPlayerEditTextEvent.- Parameters:
 element- The element that the player edited.text- The text that the player entered.screen- The screen that the element is on.player- The player that edited the element.
 
 - 
 - 
Method Details
- 
getElement
Description copied from class:AsyncPlayerElementEventGets the element associated with this event.- Overrides:
 getElementin classAsyncPlayerElementEvent- Returns:
 - The element
 
 - 
getText
Gets the text that the player entered.- Returns:
 - The text.
 
 
 -