类 Event

  • 所有已实现的接口:
    java.io.Serializable
    直接已知子类:
    FileChangedEvent, GenericEvent

    public abstract class Event
    extends java.util.EventObject
    An event object is based on the Java standard event
    从以下版本开始:
    1.0.0
    另请参阅:
    序列化表格
    • 字段概要

      • 从类继承的字段 java.util.EventObject

        source
    • 构造器概要

      构造器 
      构造器 说明
      Event​(java.lang.Object source)
      Constructs a prototypical Event.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      long getTimestamp()  
      • 从类继承的方法 java.util.EventObject

        getSource, toString
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • Event

        public Event​(java.lang.Object source)
        Constructs a prototypical Event.
        参数:
        source - The object on which the Event initially occurred.
        抛出:
        java.lang.IllegalArgumentException - if source is null.
    • 方法详细资料

      • getTimestamp

        public long getTimestamp()