Add 'src/jexer/' from commit 'cf01c92f5809a0732409e280fb0f32f27393618d'
[nikiroo-utils.git] / src / jexer / event / TInputEvent.java
index 38acfb6185841c894986ba819632298633b56560..220512fab1f8ccfee3443e23209b822241dbed4b 100644 (file)
@@ -3,7 +3,7 @@
  *
  * The MIT License (MIT)
  *
- * Copyright (C) 2016 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -35,11 +35,31 @@ import java.util.Date;
  */
 public abstract class TInputEvent {
 
+    // ------------------------------------------------------------------------
+    // Variables --------------------------------------------------------------
+    // ------------------------------------------------------------------------
+
     /**
      * Time at which event was generated.
      */
     private Date time;
 
+    // ------------------------------------------------------------------------
+    // Constructors -----------------------------------------------------------
+    // ------------------------------------------------------------------------
+
+    /**
+     * Protected contructor.
+     */
+    protected TInputEvent() {
+        // Save the current time
+        time = new Date();
+    }
+
+    // ------------------------------------------------------------------------
+    // TInputEvent ------------------------------------------------------------
+    // ------------------------------------------------------------------------
+
     /**
      * Get time.
      *
@@ -49,11 +69,4 @@ public abstract class TInputEvent {
         return time;
     }
 
-    /**
-     * Protected contructor.
-     */
-    protected TInputEvent() {
-        // Save the current time
-        time = new Date();
-    }
 }