Class TablePaginator
- java.lang.Object
-
- org.openidentityplatform.openam.click.control.TablePaginator
-
- All Implemented Interfaces:
Serializable,Renderable
public class TablePaginator extends Object implements Renderable
Provides the default Table Paginator.Example
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TablePaginator(Table table)Create a Paginator for the given Table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TablegetTable()Return the parent Table for this Paginator.voidrender(HtmlStringBuffer buffer)Render output, normally HTML markup, to the given buffer.voidsetTable(Table table)Set the parent Table for this Paginator.StringtoString()Returns the HTML representation of this paginator.
-
-
-
Field Detail
-
table
protected Table table
The parent table to provide paginator for.
-
-
Constructor Detail
-
TablePaginator
public TablePaginator(Table table)
Create a Paginator for the given Table.- Parameters:
table- the paginator's table
-
-
Method Detail
-
getTable
public Table getTable()
Return the parent Table for this Paginator.- Returns:
- the paginator's parent table
-
setTable
public void setTable(Table table)
Set the parent Table for this Paginator.- Parameters:
table- the paginator's parent table
-
render
public void render(HtmlStringBuffer buffer)
Description copied from interface:RenderableRender output, normally HTML markup, to the given buffer.- Specified by:
renderin interfaceRenderable- Parameters:
buffer- the string buffer to render the paginator to- See Also:
Renderable.render(HtmlStringBuffer)
-
toString
public String toString()
Returns the HTML representation of this paginator.This method delegates the rendering to the method
render(HtmlStringBuffer).- Overrides:
toStringin classObject- Returns:
- the HTML representation of this paginator
- See Also:
Object.toString()
-
-