Author: ivaynberg
Date: Sun Sep 21 22:27:57 2008
New Revision: 697662
URL: http://svn.apache.org/viewvc?rev=697662&view=rev
Log:
indexed based accessor to child components
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupContainer.java
Modified:
wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupContainer.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupContainer.java?rev=697662&r1=697661&r2=697662&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupContainer.java
(original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/MarkupContainer.java
Sun Sep 21 22:27:57 2008
@@ -965,6 +965,18 @@
}
/**
+ * Returns child component at the specified index
+ *
+ * @param index
+ * @throws ArrayIndexOutOfBoundsException
+ * @return child component at the specified index
+ */
+ public final Component get(int index)
+ {
+ return children_get(index);
+ }
+
+ /**
*
* @param index
* @return The child component