(function(F){

	/**

	 * Navigates to the specified page number. Added by the {@link FooTable.Paging} component.

	 * @instance

	 * @param {number} num - The page number to go to.

	 * @returns {jQuery.Promise}

	 * @fires FooTable.Paging#paging_changing

	 * @fires FooTable.Paging#paging_changed

	 * @see FooTable.Paging#goto

	 */

	F.Table.prototype.gotoPage = function(num){

		return this.use(F.Paging).goto(num);

	};



	/**

	 * Navigates to the next page. Added by the {@link FooTable.Paging} component.

	 * @instance

	 * @returns {jQuery.Promise}

	 * @fires FooTable.Paging#paging_changing

	 * @fires FooTable.Paging#paging_changed

	 * @see FooTable.Paging#next

	 */

	F.Table.prototype.nextPage = function(){

		return this.use(F.Paging).next();

	};



	/**

	 * Navigates to the previous page. Added by the {@link FooTable.Paging} component.

	 * @instance

	 * @returns {jQuery.Promise}

	 * @fires FooTable.Paging#paging_changing

	 * @fires FooTable.Paging#paging_changed

	 * @see FooTable.Paging#prev

	 */

	F.Table.prototype.prevPage = function(){

		return this.use(F.Paging).prev();

	};



	/**

	 * Navigates to the first page. Added by the {@link FooTable.Paging} component.

	 * @instance

	 * @returns {jQuery.Promise}

	 * @fires FooTable.Paging#paging_changing

	 * @fires FooTable.Paging#paging_changed

	 * @see FooTable.Paging#first

	 */

	F.Table.prototype.firstPage = function(){

		return this.use(F.Paging).first();

	};



	/**

	 * Navigates to the last page. Added by the {@link FooTable.Paging} component.

	 * @instance

	 * @returns {jQuery.Promise}

	 * @fires FooTable.Paging#paging_changing

	 * @fires FooTable.Paging#paging_changed

	 * @see FooTable.Paging#last

	 */

	F.Table.prototype.lastPage = function(){

		return this.use(F.Paging).last();

	};



	/**

	 * Shows the next X number of pages in the pagination control where X is the value set by the {@link FooTable.Defaults#paging} - limit.size option value. Added by the {@link FooTable.Paging} component.

	 * @instance

	 * @see FooTable.Paging#nextPages

	 */

	F.Table.prototype.nextPages = function(){

		return this.use(F.Paging).nextPages();

	};



	/**

	 * Shows the previous X number of pages in the pagination control where X is the value set by the {@link FooTable.Defaults#paging} - limit.size option value. Added by the {@link FooTable.Paging} component.

	 * @instance

	 * @see FooTable.Paging#prevPages

	 */

	F.Table.prototype.prevPages = function(){

		return this.use(F.Paging).prevPages();

	};



	/**

	 * Gets or sets the current page size

	 * @instance

	 * @param {number} [value] - The new page size to use.

	 * @returns {(number|undefined)}

	 * @see FooTable.Paging#pageSize

	 */

	F.Table.prototype.pageSize = function(value){

		return this.use(F.Paging).pageSize(value);

	};

})(FooTable);