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_SUMMARYWAI_ARIAPROPERTY_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, removeadd, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprivate final TableHead tableHeader
getTableHeader()private final TableBody tableBody
getTableBody()private final TableFooter tableFooter
getTableFooter()private Caption captionWidget
getCaptionWidget()public TableBody getTableBody()
TableRows.public TableHead getTableHeader()
TableRows.public TableFooter getTableFooter()
TableRows.public String getSummary()
getSummary in interface AttributeReadSummarypublic void setSummary(String summary)
summary of this object.setSummary in interface AttributeWriteSummarysummary - 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 AttributeReadCaptionpublic void setCaption(String caption)
caption of this object.setCaption in interface AttributeWriteCaptioncaption - is the new caption to set.Copyright © 2001–2016 mmm-Team. All rights reserved.