public class TableWidget extends com.google.gwt.user.client.ui.ComplexPanel implements AttributeWriteSummary, AttributeWriteCaption
TableWidget
is a CustomPanel
that represents a table (<table>). You can
Panel.add(com.google.gwt.user.client.ui.Widget)
rows
to it. It is an alternative to
GWTs HTMLTable
or Grid
.getTableBody()
,
getTableHeader()
,
getTableFooter()
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
private Caption |
captionWidget |
private TableBody |
tableBody |
private TableFooter |
tableFooter |
private TableHead |
tableHeader |
PROPERTY_SUMMARY
WAI_ARIA
PROPERTY_CAPTION
Constructor and Description |
---|
TableWidget()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCaption()
This method gets the caption of this object.
|
Caption |
getCaptionWidget() |
String |
getSummary()
This method gets the summary of this object.
|
TableBody |
getTableBody() |
TableFooter |
getTableFooter() |
TableHead |
getTableHeader() |
void |
setCaption(String caption)
This method sets the
caption of this object. |
void |
setSummary(String summary)
This method sets the
summary of this object. |
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
private final TableHead tableHeader
getTableHeader()
private final TableBody tableBody
getTableBody()
private final TableFooter tableFooter
getTableFooter()
private Caption captionWidget
getCaptionWidget()
public TableBody getTableBody()
TableRow
s.public TableHead getTableHeader()
TableRow
s.public TableFooter getTableFooter()
TableRow
s.public String getSummary()
getSummary
in interface AttributeReadSummary
public void setSummary(String summary)
summary
of this object.setSummary
in interface AttributeWriteSummary
summary
- is the new summary
to set.public String getCaption()
title
. In our APIs we prefer to use the
title
but in specific contexts we use caption for technical
reasons - e.g. if the term is predefined by technology such as HTML.getCaption
in interface AttributeReadCaption
public void setCaption(String caption)
caption
of this object.setCaption
in interface AttributeWriteCaption
caption
- is the new caption
to set.Copyright © 2001–2016 mmm-Team. All rights reserved.