public class SortableHeader<T,C extends Comparable> extends com.google.gwt.user.cellview.client.Header<String>
Constructor and Description |
---|
SortableHeader(SortableHeaderGroup sortableHeaderGroup,
String text,
com.google.gwt.user.cellview.client.Column<T,C> column) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.user.cellview.client.Column<T,C> |
getColumn() |
SortDirection |
getSortDirection() |
int |
getSortIndex() |
String |
getValue() |
void |
render(com.google.gwt.cell.client.Cell.Context context,
com.google.gwt.safehtml.shared.SafeHtmlBuilder sb) |
void |
setSortDirection(SortDirection sortDirection) |
void |
setSortIndex(int sortIndex) |
void |
setValue(String text)
Set the Column header
|
public SortableHeader(SortableHeaderGroup sortableHeaderGroup, String text, com.google.gwt.user.cellview.client.Column<T,C> column)
public String getValue()
getValue
in class com.google.gwt.user.cellview.client.Header<String>
public void setValue(String text)
text
- public SortDirection getSortDirection()
public void setSortDirection(SortDirection sortDirection)
public int getSortIndex()
public void setSortIndex(int sortIndex)
public void render(com.google.gwt.cell.client.Cell.Context context, com.google.gwt.safehtml.shared.SafeHtmlBuilder sb)
render
in class com.google.gwt.user.cellview.client.Header<String>
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.