public class UiWidgetAdapterGwtGridCell extends UiWidgetAdapterGwtSingleMutableComposite<TableCellAtomic,UiWidgetRegular> implements UiWidgetAdapterGridCell
UiWidgetAdapterDynamicPanel using GWT based on
TableCellAtomic.TAB_INDEX_NONEHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIAATTRIBUTE_COLSPANPROPERTY_LABELACCESS_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, removeFromParentaddHandlerRegistration, addStyle, createAbsoluteImageUrl, createEventAdapter, getHeightInPixel, getImage, getImageParentElement, getLength, getSizeElement, getToplevelWidget, getToplevelWidget, getWidthInPixel, isStyleDeltaSupported, removeStyle, setAttribute, setId, setImage, setLength, setPrimaryStyle, setStyles, setTooltip, setVisibleapplyEventAdapter, applyEventAdapterForChange, applyEventAdapterForClick, applyEventAdapterForFocus, applyEventAdapterForSelection, getEventAdapter, setEventSendercreateLabel, 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, setUiWidgetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAbsoluteImageUrl, createLabel, getToplevelWidget, isStyleDeltaSupported, removeFromParent, setEventSender, setMode, setParent, setVisiblesetIdgetIdsetTooltipgetTooltipisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedsetLengthgetLengthgetHeightInPixel, getWidthInPixelgetAttributesetAttributeprotected 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 AttributeWriteEnabledenabled - - 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 AttributeReadColumnSpangetColumnSpan 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 AttributeWriteColumnSpancolumnSpan - 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.