Interface InputEvent
- All Superinterfaces:
 Event
Fired when an 
InputElement's value is changed either by a player or
 by invoking the InputElement.setValue(String) method.- 
Method Summary
Modifier and TypeMethodDescription@Nullable StringGet the new value of the input element@Nullable org.bukkit.entity.PlayerGet the player that typed in the new input, will benull, if this event was triggered by invoking theInputElement.setValue(String)method.@Nullable StringGet the previous value of the input element@NotNull InputElementGets the node this event was called on.Methods inherited from interface com.juliewoolie.dom.event.Event
getCurrentTarget, getDocument, getPhase, getType, isBubbling, isCancellable, isCancelled, isComposed, isPropagationStopped, preventDefault, stopPropagation 
- 
Method Details
- 
getTarget
Gets the node this event was called on. - 
getNewValue
 - 
getPreviousValue
Get the previous value of the input element- Returns:
 - Previous value
 
 - 
getPlayer
@Nullable @Nullable org.bukkit.entity.Player getPlayer()Get the player that typed in the new input, will benull, if this event was triggered by invoking theInputElement.setValue(String)method.- Returns:
 - Player, or 
null 
 
 -