Author: paperwing
Date: 2012-02-28 15:05:08 -0800 (Tue, 28 Feb 2012)
New Revision: 28390

Modified:
   
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/input/InputHandler.java
   
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/input/InputProcessor.java
Log:
Added javadoc explaining functions of InputHandler, InputProcessor

Modified: 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/input/InputHandler.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/input/InputHandler.java
       2012-02-28 22:49:32 UTC (rev 28389)
+++ 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/input/InputHandler.java
       2012-02-28 23:05:08 UTC (rev 28390)
@@ -2,6 +2,11 @@
 
 import org.cytoscape.paperwing.internal.data.GraphicsData;
 
+/**
+ * An InputHandler is capable of processing a given {@link GraphicsData} 
object using the given keyboard
+ * and mouse states. The processing done by an InputHandler is usually 
specific to a certain kind of input,
+ * such as input relating to camera movement or node selectioni.
+ */
 public interface InputHandler {
        public void processInput(KeyboardMonitor keys, MouseMonitor mouse, 
GraphicsData graphicsData);
 }

Modified: 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/input/InputProcessor.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/input/InputProcessor.java
     2012-02-28 22:49:32 UTC (rev 28389)
+++ 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/input/InputProcessor.java
     2012-02-28 23:05:08 UTC (rev 28390)
@@ -2,6 +2,11 @@
 
 import org.cytoscape.paperwing.internal.data.GraphicsData;
 
+/**
+ * An InputProcessor is capable of using the given keyboard and mouse states 
to process
+ * data in the given {@link GraphicsData} object for each frame of rendering. 
An
+ * InputProcessor is responsible for all the input processing per frame.
+ */
 public interface InputProcessor {
        
        public void processInput(KeyboardMonitor keys, MouseMonitor mouse,

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to