]> source.dussan.org Git - vaadin-framework.git/commitdiff
Adds hints to related methods in GridStaticSection (#13334)
authorHenrik Paul <henrik@vaadin.com>
Fri, 24 Oct 2014 12:26:28 +0000 (15:26 +0300)
committerTeemu Suo-Anttila <teemusa@vaadin.com>
Tue, 28 Oct 2014 11:34:01 +0000 (11:34 +0000)
Change-Id: If10a99a16368d9d5711ab4c8a5dd12ac984294a8

client/src/com/vaadin/client/ui/grid/GridStaticSection.java
server/src/com/vaadin/ui/components/grid/GridStaticSection.java

index 05b809e1563e153e4e7f06d57b26622441c71f41..01248f12d67af337aaccba91539d47a80a2024cd 100644 (file)
@@ -418,6 +418,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * 
      * @throws IndexOutOfBoundsException
      *             if the index is out of bounds
+     * @see #appendRow()
+     * @see #prependRow()
+     * @see #removeRow(int)
+     * @see #removeRow(StaticRow)
      */
     public ROWTYPE addRow(int index) {
         ROWTYPE row = createRow();
@@ -435,6 +439,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * Adds a new row at the top of this section.
      * 
      * @return the new row
+     * @see #appendRow()
+     * @see #addRow(int)
+     * @see #removeRow(int)
+     * @see #removeRow(StaticRow)
      */
     public ROWTYPE prependRow() {
         return addRow(0);
@@ -444,6 +452,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * Adds a new row at the bottom of this section.
      * 
      * @return the new row
+     * @see #prependRow()
+     * @see #addRow(int)
+     * @see #removeRow(int)
+     * @see #removeRow(StaticRow)
      */
     public ROWTYPE appendRow() {
         return addRow(rows.size());
@@ -457,6 +469,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * 
      * @throws IndexOutOfBoundsException
      *             if the index is out of bounds
+     * @see #addRow(int)
+     * @see #appendRow()
+     * @see #prependRow()
+     * @see #removeRow(StaticRow)
      */
     public void removeRow(int index) {
         rows.remove(index);
@@ -471,6 +487,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * 
      * @throws IllegalArgumentException
      *             if the row does not exist in this section
+     * @see #addRow(int)
+     * @see #appendRow()
+     * @see #prependRow()
+     * @see #removeRow(int)
      */
     public void removeRow(ROWTYPE row) {
         try {
index 4f5a28ec5c399da8eab81cb2a78822919112200d..74acc2b78163c880c144db06591a9e8b3e31e6d0 100644 (file)
@@ -355,6 +355,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * 
      * @throws IndexOutOfBoundsException
      *             if the index is out of bounds
+     * @see #removeRow(StaticRow)
+     * @see #addRowAt(int)
+     * @see #appendRow()
+     * @see #prependRow()
      */
     public ROWTYPE removeRow(int rowIndex) {
         ROWTYPE row = rows.remove(rowIndex);
@@ -372,6 +376,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * 
      * @throws IllegalArgumentException
      *             if the row does not exist in this section
+     * @see #removeRow(int)
+     * @see #addRowAt(int)
+     * @see #appendRow()
+     * @see #prependRow()
      */
     public void removeRow(ROWTYPE row) {
         try {
@@ -397,6 +405,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * Adds a new row at the top of this section.
      * 
      * @return the new row
+     * @see #appendRow()
+     * @see #addRowAt(int)
+     * @see #removeRow(StaticRow)
+     * @see #removeRow(int)
      */
     public ROWTYPE prependRow() {
         return addRowAt(0);
@@ -406,6 +418,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * Adds a new row at the bottom of this section.
      * 
      * @return the new row
+     * @see #prependRow()
+     * @see #addRowAt(int)
+     * @see #removeRow(StaticRow)
+     * @see #removeRow(int)
      */
     public ROWTYPE appendRow() {
         return addRowAt(rows.size());
@@ -420,6 +436,10 @@ abstract class GridStaticSection<ROWTYPE extends GridStaticSection.StaticRow<?>>
      * 
      * @throws IndexOutOfBoundsException
      *             if the index is out of bounds
+     * @see #appendRow()
+     * @see #prependRow()
+     * @see #removeRow(StaticRow)
+     * @see #removeRow(int)
      */
     public ROWTYPE addRowAt(int index) {
         ROWTYPE row = createRow();