Interface TimeEvent

All Superinterfaces:
Event

public interface TimeEvent extends Event
The TimeEvent interface provides specific contextual information associated with Time events.
  • Method Details

    • getView

      AbstractView getView()
      The view attribute identifies the AbstractView from which the event was generated.
      Returns:
      a AbstractView object.
    • getDetail

      int getDetail()
      Specifies some detail information about the Event , depending on the type of event.
      Returns:
      a Integer object.
    • initTimeEvent

      void initTimeEvent(String typeArg, AbstractView viewArg, int detailArg)
      The initTimeEvent method is used to initialize the value of a TimeEvent created through the DocumentEvent interface. This method may only be called before the TimeEvent has been dispatched via the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
      Parameters:
      typeArg - Specifies the event type.
      viewArg - Specifies the Event 's AbstractView .
      detailArg - Specifies the Event 's detail.