[richfaces-svn-commits] JBoss Rich Faces SVN: r1153 - in trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/event: scroll and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Jun 13 11:16:52 EDT 2007


Author: abelevich
Date: 2007-06-13 11:16:52 -0400 (Wed, 13 Jun 2007)
New Revision: 1153

Added:
   trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/event/scroll/
   trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/event/scroll/ScrollEvent.java
Log:


Added: trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/event/scroll/ScrollEvent.java
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/event/scroll/ScrollEvent.java	                        (rev 0)
+++ trunk/sandbox/scrollable-grid/src/main/java/org/richfaces/event/scroll/ScrollEvent.java	2007-06-13 15:16:52 UTC (rev 1153)
@@ -0,0 +1,51 @@
+/**
+ * 
+ */
+package org.richfaces.event.scroll;
+
+import javax.faces.component.UIComponent;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.FacesListener;
+
+/**
+ * @author Anton Belevich
+ *
+ */
+public class ScrollEvent extends FacesEvent {
+
+	private static final long serialVersionUID = 3786221668771853810L;
+
+	private int rows;
+	
+	private int first;
+	
+	public ScrollEvent(UIComponent component, int rows, int first){
+		super(component);
+		this.rows = rows;
+		this.first = first;
+	}
+
+	public boolean isAppropriateListener(FacesListener listener) {
+		return false;
+	}
+
+	public void processListener(FacesListener listener) {
+	}
+
+	public int getFirst() {
+		return first;
+	}
+
+	public void setFirst(int first) {
+		this.first = first;
+	}
+
+	public int getRows() {
+		return rows;
+	}
+
+	public void setRows(int rows) {
+		this.rows = rows;
+	}
+
+}




More information about the richfaces-svn-commits mailing list