Class DocumentEvent
java.lang.Object
org.bukkit.event.Event
com.juliewoolie.delphi.event.DocumentEvent
public class DocumentEvent
extends org.bukkit.event.Event
Event fired for each event fired inside an open document view.
This event is fired after the event has bubbled up through the document
tree, and after the Document.getGlobalTarget()
has been called.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Document
Get the document the event is fired onGet the DOM event objectstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
@NotNull DocumentView
getView()
Get the document's event viewMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
DocumentEvent
-
-
Method Details
-
getDomEvent
-
getDocument
Get the document the event is fired on- Returns:
- Document the event was fired on
-
getView
Get the document's event view- Returns:
- Document event view
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-