|
GWT 2.4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.cellview.client.Header<H>
H
- the Cell
typepublic abstract class Header<H>
A table column header or footer.
Constructor Summary | |
---|---|
Header(Cell<H> cell)
Construct a Header with a given Cell . |
Method Summary | |
---|---|
Cell<H> |
getCell()
Return the Cell responsible for rendering items in the header. |
java.lang.Object |
getKey()
Get the key for the header value. |
abstract H |
getValue()
Return the header value. |
void |
onBrowserEvent(Cell.Context context,
Element elem,
NativeEvent event)
Handle a browser event that took place within the header. |
void |
render(Cell.Context context,
SafeHtmlBuilder sb)
Render the header. |
void |
setUpdater(ValueUpdater<H> updater)
Set the ValueUpdater . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Header(Cell<H> cell)
Cell
.
cell
- the Cell
responsible for rendering items in the headerMethod Detail |
---|
public Cell<H> getCell()
Cell
responsible for rendering items in the header.
public java.lang.Object getKey()
public abstract H getValue()
public void onBrowserEvent(Cell.Context context, Element elem, NativeEvent event)
context
- the context of the headerelem
- the parent Elementevent
- the native browser eventpublic void render(Cell.Context context, SafeHtmlBuilder sb)
context
- the context of the headersb
- a SafeHtmlBuilder
to render intopublic void setUpdater(ValueUpdater<H> updater)
ValueUpdater
.
updater
- the value updater to use
|
GWT 2.4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |