equal
deleted
inserted
replaced
540 * the model. This is implemented to walk through the children |
540 * the model. This is implemented to walk through the children |
541 * looking for a range that contains the given position. In this |
541 * looking for a range that contains the given position. In this |
542 * view the children do not necessarily have a one to one mapping |
542 * view the children do not necessarily have a one to one mapping |
543 * with the child elements. |
543 * with the child elements. |
544 * |
544 * |
545 * @param pos the search position >= 0 |
545 * @param pos the search position >= 0 |
546 * @param a the allocation to the table on entry, and the |
546 * @param a the allocation to the table on entry, and the |
547 * allocation of the view containing the position on exit |
547 * allocation of the view containing the position on exit |
548 * @return the view representing the given position, or |
548 * @return the view representing the given position, or |
549 * <code>null</code> if there isn't one |
549 * <code>null</code> if there isn't one |
550 */ |
550 */ |
753 * the model. This is implemented to walk through the children |
753 * the model. This is implemented to walk through the children |
754 * looking for a range that contains the given position. In this |
754 * looking for a range that contains the given position. In this |
755 * view the children do not necessarily have a one to one mapping |
755 * view the children do not necessarily have a one to one mapping |
756 * with the child elements. |
756 * with the child elements. |
757 * |
757 * |
758 * @param pos the search position >= 0 |
758 * @param pos the search position >= 0 |
759 * @param a the allocation to the table on entry, and the |
759 * @param a the allocation to the table on entry, and the |
760 * allocation of the view containing the position on exit |
760 * allocation of the view containing the position on exit |
761 * @return the view representing the given position, or |
761 * @return the view representing the given position, or |
762 * <code>null</code> if there isn't one |
762 * <code>null</code> if there isn't one |
763 */ |
763 */ |
831 |
831 |
832 |
832 |
833 /** |
833 /** |
834 * Sets the grid location. |
834 * Sets the grid location. |
835 * |
835 * |
836 * @param row the row >= 0 |
836 * @param row the row >= 0 |
837 * @param col the column >= 0 |
837 * @param col the column >= 0 |
838 */ |
838 */ |
839 public void setGridLocation(int row, int col) { |
839 public void setGridLocation(int row, int col) { |
840 this.row = row; |
840 this.row = row; |
841 this.col = col; |
841 this.col = col; |
842 } |
842 } |
869 interface GridCell { |
869 interface GridCell { |
870 |
870 |
871 /** |
871 /** |
872 * Sets the grid location. |
872 * Sets the grid location. |
873 * |
873 * |
874 * @param row the row >= 0 |
874 * @param row the row >= 0 |
875 * @param col the column >= 0 |
875 * @param col the column >= 0 |
876 */ |
876 */ |
877 public void setGridLocation(int row, int col); |
877 public void setGridLocation(int row, int col); |
878 |
878 |
879 /** |
879 /** |
880 * Gets the row of the grid location |
880 * Gets the row of the grid location |