|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.WWidget
eu.webtoolkit.jwt.WWebWidget
eu.webtoolkit.jwt.WInteractWidget
eu.webtoolkit.jwt.WContainerWidget
eu.webtoolkit.jwt.WTableCell
public class WTableCell
A container widget that represents a cell in a table.
A WTable provides a table of WTableCell container widgets. A
WTableCell may overspan more than one grid location in the table, by
specifying a rowSpan and
columnSpan. Table cells at
overspanned positions are hidden. You cannot directly create a WTableCell,
instead, they are created automatically by a table.
A WTableCell acts as any other WContainerWidget, except that both the
vertical and horizontal alignment of contents may be specified by
WContainerWidget#setContentAlignment().
The widget corresponds to the HTML <td> or
<th> tag, depending on whether the cell is a plain cell or
a header cell. The widget does not provide styling, and can be styled using
inline or external CSS as appropriate.
WTable| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class eu.webtoolkit.jwt.WContainerWidget |
|---|
WContainerWidget.Overflow |
| Method Summary | |
|---|---|
int |
getColumn()
Returns the column index of this cell. |
int |
getColumnSpan()
Returns the column span. |
int |
getRow()
Returns the row index of this cell. |
int |
getRowSpan()
Returns the row span. |
WTable |
getTable()
Returns the table containing this cell. |
WTableColumn |
getTableColumn()
Returns the table column containing this cell. |
WTableRow |
getTableRow()
Returns the table row containing this cell. |
void |
setColumnSpan(int colSpan)
Sets the column span. |
void |
setRowSpan(int rowSpan)
Sets the row span. |
| Methods inherited from class eu.webtoolkit.jwt.WContainerWidget |
|---|
addWidget, clear, getContentAlignment, getCount, getIndexOf, getLayout, getPadding, getWidget, insertBefore, insertWidget, isList, isOrderedList, isUnorderedList, remove, removeWidget, scrolled, setContentAlignment, setContentAlignment, setLayout, setLayout, setLayout, setList, setList, setOverflow, setOverflow, setOverflow, setPadding, setPadding, setPadding |
| Methods inherited from class eu.webtoolkit.jwt.WInteractWidget |
|---|
clicked, doubleClicked, enterPressed, escapePressed, gestureChanged, gestureEnded, gestureStarted, isEnabled, keyPressed, keyWentDown, keyWentUp, load, mouseDragged, mouseMoved, mouseWentDown, mouseWentOut, mouseWentOver, mouseWentUp, mouseWheel, propagateSetEnabled, setDraggable, setDraggable, setDraggable, setDraggable, touchEnded, touchMoved, touchStarted |
| Methods inherited from class eu.webtoolkit.jwt.WWidget |
|---|
acceptDrops, acceptDrops, addCssRule, addCssRule, addStyleClass, animateHide, animateShow, boxBorder, boxPadding, containsExposed, disable, dropEvent, enable, getDrop, getJsRef, getParent, hide, htmlText, isLayoutSizeAware, layoutSizeChanged, positionAt, positionAt, removeStyleClass, resize, setClearSides, setHeight, setHidden, setLayoutSizeAware, setMargin, setMargin, setMargin, setMargin, setMargin, setOffsets, setOffsets, setOffsets, setOffsets, setOffsets, setToolTip, setVerticalAlignment, setWidth, show, stopAcceptDrops, toggleStyleClass, toggleStyleClass, tr |
| Methods inherited from class eu.webtoolkit.jwt.WObject |
|---|
addChild, getObjectName, setObjectName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setRowSpan(int rowSpan)
The row span indicates how many table rows this WTableCell
overspans. By default, a WTableCell has a row span of 1, only
occupying its own grid cell. A row span greater than 1 indicates that
table cells below this one are overspanned.
public int getRowSpan()
setRowSpan(int rowSpan)public void setColumnSpan(int colSpan)
The column span indicates how many table columns this WTableCell
overspans. By default, a WTableCell has a column span of 1, only
occupying its own grid cell. A column span greater than 1 indicates that
table cells to the right of this one are overspanned.
public int getColumnSpan()
setColumnSpan(int colSpan)public int getRow()
public int getColumn()
public WTable getTable()
public WTableRow getTableRow()
public WTableColumn getTableColumn()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||