public class UiWidgetAdapterGwtGridCell extends UiWidgetAdapterGwtSingleMutableComposite<TableCellAtomic,UiWidgetRegular> implements UiWidgetAdapterGridCell
UiWidgetAdapterDynamicPanel
using GWT based on
TableCellAtomic
.TAB_INDEX_NONE
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
ATTRIBUTE_COLSPAN
PROPERTY_LABEL
ACCESS_KEY_NONE, HTML_ATTRIBUTE_ACCESS_KEY
Constructor and Description |
---|
UiWidgetAdapterGwtGridCell()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TableCellAtomic |
createToplevelWidget()
This method creates the
underlying widget . |
int |
getColumnSpan()
This method gets the number of columns spanned by this object (cell).
|
void |
setChild(UiWidgetRegular child)
This method sets the single child of this widget.
|
void |
setColumnSpan(int columnSpan)
This method sets the
columnSpan attribute. |
void |
setEnabled(boolean enabled)
This method sets the
enabled status of this object. |
dispose, getActiveWidget, removeFromParent
addHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisible
applyEventAdapter, applyEventAdapterForChange, applyEventAdapterForClick, applyEventAdapterForFocus, applyEventAdapterForSelection, getEventAdapter, setEventSender
createLabel, getAccessKey, getAltText, getAttribute, getBundle, getContext, getHeightInRows, getId, getLabel, getMaximumTextLength, getPrimaryStyle, getSelectionMode, getStyles, getTitle, getTooltip, getToplevelWidget, getUiWidget, getUiWidgetTyped, getUrl, getValidationFailure, hasStyle, isDisposed, isEnabled, isFocused, isResizable, setMode, setParent, setUiWidget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisible
setId
getId
setTooltip
getTooltip
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
setLength
getLength
getHeightInPixel, getWidthInPixel
getAttribute
setAttribute
protected TableCellAtomic createToplevelWidget()
underlying widget
. createToplevelWidget
in class AbstractUiWidgetAdapter<TableCellAtomic>
underlying widget
.public void setChild(UiWidgetRegular child)
setChild
in interface UiWidgetAdapterSingleComposite<UiWidgetRegular>
child
- is the new child to set.public void setEnabled(boolean enabled)
enabled
status of this object. If it is disabled, the user can
not interact with the object.setEnabled
in interface AttributeWriteEnabled
enabled
- - if true
the object will be enabled, else the object will be disabled.public int getColumnSpan()
1
indicates that the next cells to the right are
connected.getColumnSpan
in interface AttributeReadColumnSpan
getColumnSpan
in class AbstractUiWidgetAdapter<TableCellAtomic>
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()
Copyright © 2001–2016 mmm-Team. All rights reserved.