From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../cpw/mods/fml/common/eventhandler/Event.html | 442 +++++++++++++++++++++ 1 file changed, 442 insertions(+) create mode 100644 javadoc/cpw/mods/fml/common/eventhandler/Event.html (limited to 'javadoc/cpw/mods/fml/common/eventhandler/Event.html') diff --git a/javadoc/cpw/mods/fml/common/eventhandler/Event.html b/javadoc/cpw/mods/fml/common/eventhandler/Event.html new file mode 100644 index 0000000..7f4af89 --- /dev/null +++ b/javadoc/cpw/mods/fml/common/eventhandler/Event.html @@ -0,0 +1,442 @@ + + + + + +Event (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.eventhandler
+

Class Event

+
+
+ + +
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static interface Event.HasResult 
      static class Event.Result 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Event() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      ListenerListgetListenerList() +
      Returns a ListenerList object that contains all listeners + that are registered to this event.
      +
      EventPrioritygetPhase() 
      Event.ResultgetResult() +
      Returns the value set as the result of this event
      +
      booleanhasResult() +
      Determines if this event expects a significant result value.
      +
      booleanisCancelable() +
      Determine if this function is cancelable at all.
      +
      booleanisCanceled() +
      Determine if this event is canceled and should stop executing.
      +
      voidsetCanceled(boolean cancel) +
      Sets the state of this event, not all events are cancelable, and any attempt to + cancel a event that can't be will result in a IllegalArgumentException.
      +
      voidsetPhase(EventPriority value) 
      voidsetResult(Event.Result value) +
      Sets the result value for this event, not all events can have a result set, and any attempt to + set a result for a event that isn't expecting it will result in a IllegalArgumentException.
      +
      protected voidsetup() +
      Called by the base constructor, this is used by ASM generated + event classes to setup various functionality such as the listenerlist.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Event

        +
        public Event()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isCancelable

        +
        public boolean isCancelable()
        +
        Determine if this function is cancelable at all.
        +
        Returns:
        If access to setCanceled should be allowed
        +
      • +
      + + + +
        +
      • +

        isCanceled

        +
        public boolean isCanceled()
        +
        Determine if this event is canceled and should stop executing.
        +
        Returns:
        The current canceled state
        +
      • +
      + + + +
        +
      • +

        setCanceled

        +
        public void setCanceled(boolean cancel)
        +
        Sets the state of this event, not all events are cancelable, and any attempt to + cancel a event that can't be will result in a IllegalArgumentException. + + The functionality of setting the canceled state is defined on a per-event bases.
        +
        Parameters:
        cancel - The new canceled value
        +
      • +
      + + + +
        +
      • +

        hasResult

        +
        public boolean hasResult()
        +
        Determines if this event expects a significant result value.
        +
      • +
      + + + +
        +
      • +

        getResult

        +
        public Event.Result getResult()
        +
        Returns the value set as the result of this event
        +
      • +
      + + + +
        +
      • +

        setResult

        +
        public void setResult(Event.Result value)
        +
        Sets the result value for this event, not all events can have a result set, and any attempt to + set a result for a event that isn't expecting it will result in a IllegalArgumentException. + + The functionality of setting the result is defined on a per-event bases.
        +
        Parameters:
        value - The new result
        +
      • +
      + + + +
        +
      • +

        setup

        +
        protected void setup()
        +
        Called by the base constructor, this is used by ASM generated + event classes to setup various functionality such as the listenerlist.
        +
      • +
      + + + +
        +
      • +

        getListenerList

        +
        public ListenerList getListenerList()
        +
        Returns a ListenerList object that contains all listeners + that are registered to this event.
        +
        Returns:
        Listener List
        +
      • +
      + + + + + + + +
        +
      • +

        setPhase

        +
        public void setPhase(@Nonnull
        +            EventPriority value)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3