public abstract class AbstractTableCellAtomic extends SingleCompositePanel implements AttributeWriteColumnSpan, AttributeWriteRowSpan, AttributeWriteText
AbstractTableCellAtomic
is a SingleCompositePanel
that represents a table cell in a
TableRow
. It only supports a single child
.ATTRIBUTE_COLSPAN
ATTRIBUTE_ROWSPAN
Constructor and Description |
---|
AbstractTableCellAtomic()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnSpan()
This method gets the number of columns spanned by this object (cell).
|
int |
getRowSpan()
This method gets the number of rows spanned by this object (cell).
|
String |
getText()
This method gets the text of this object.
|
void |
setColumnSpan(int columnSpan)
This method sets the
columnSpan attribute. |
void |
setRowSpan(int rowSpan)
This method sets the
rowSpan attribute. |
void |
setText(String text)
This method sets the
text of this object. |
add, iterator, remove, setChild
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
public int getColumnSpan()
1
indicates that the next cells to the right are
connected.getColumnSpan
in interface AttributeReadColumnSpan
1
.public void setColumnSpan(int columnSpan)
columnSpan
attribute. 1
and not 0
. To join with the next
column, you need to provide the value 2
.setColumnSpan
in interface AttributeWriteColumnSpan
columnSpan
- is the new value of AttributeReadColumnSpan.getColumnSpan()
. Should be at least 1
. As
1
is the default, a typical value will be greater than 1
.AttributeReadColumnSpan.getColumnSpan()
public int getRowSpan()
1
indicates that the next cells to the bottom are
connected.getRowSpan
in interface AttributeReadRowSpan
1
.public void setRowSpan(int rowSpan)
rowSpan
attribute. 1
and not 0
. To join with the next row, you
need to provide the value 2
.setRowSpan
in interface AttributeWriteRowSpan
rowSpan
- is the new value of AttributeReadRowSpan.getRowSpan()
. Should be at least 1
. As
1
is the default, a typical value will be greater than 1
.AttributeReadRowSpan.getRowSpan()
public String getText()
label
or title
.getText
in interface AttributeReadText
public void setText(String text)
text
of this object.setText
in interface AttributeWriteText
text
- is the new text
to set.Copyright © 2001–2016 mmm-Team. All rights reserved.