public class HTMLPanel extends HTMLPanel implements HasId, HasDataSpy, HasDataTarget, HasResponsiveness, HasInlineStyle, HasContextualBackground
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledIndexedPanel.ForIsWidgetHasWidgets.ForIsWidgetDEBUG_ID_PREFIX| Constructor and Description |
|---|
HTMLPanel(SafeHtml safeHtml) |
HTMLPanel(String html) |
HTMLPanel(String tag,
String html) |
| Modifier and Type | Method and Description |
|---|---|
ContextualBackground |
getContextualBackground()
Get the object's contextual background.
|
Spy |
getDataSpy()
Gets the data spy attribute for the widget
|
String |
getDataTarget()
Gets the data target of the widget
|
String |
getId()
Gets the ID of the widget
|
void |
setColor(String color) |
void |
setContextualBackground(ContextualBackground contextualBackground)
Sets the object's contextual background.
|
void |
setDataSpy(Spy spy)
Set the data spy attribute on the widget
|
void |
setDataTarget(String dataTarget)
Sets the data target for the widget
|
void |
setDataTargetWidget(Widget widget) |
void |
setDataTargetWidgets(List<Widget> widgets) |
void |
setHiddenOn(DeviceSize deviceSize)
Sets the devices that the element is hidden on
|
void |
setId(String id)
Sets the ID on the widget
|
void |
setMarginBottom(double margin) |
void |
setMarginLeft(double margin) |
void |
setMarginRight(double margin) |
void |
setMarginTop(double margin) |
void |
setPaddingBottom(double padding) |
void |
setPaddingLeft(double padding) |
void |
setPaddingRight(double padding) |
void |
setPaddingTop(double padding) |
void |
setVisibleOn(DeviceSize deviceSize)
Sets the devices that the element is visible on
|
add, add, add, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, createUniqueId, getElementById, wrapadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeadd, 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, spliteratorpublic void setId(String id)
HasIdpublic void setDataSpy(Spy spy)
HasDataSpysetDataSpy in interface HasDataSpyspy - data spy attribute for the widgetpublic Spy getDataSpy()
HasDataSpygetDataSpy in interface HasDataSpypublic void setDataTargetWidgets(List<Widget> widgets)
setDataTargetWidgets in interface HasDataTargetpublic void setDataTargetWidget(Widget widget)
setDataTargetWidget in interface HasDataTargetpublic void setDataTarget(String dataTarget)
HasDataTargetsetDataTarget in interface HasDataTargetdataTarget - data target stringpublic String getDataTarget()
HasDataTargetgetDataTarget in interface HasDataTargetpublic void setVisibleOn(DeviceSize deviceSize)
HasResponsivenesssetVisibleOn in interface HasResponsivenessdeviceSize - device sizeDeviceSizepublic void setHiddenOn(DeviceSize deviceSize)
HasResponsivenesssetHiddenOn in interface HasResponsivenessdeviceSize - device sizesDeviceSizepublic void setMarginTop(double margin)
setMarginTop in interface HasInlineStylepublic void setMarginLeft(double margin)
setMarginLeft in interface HasInlineStylepublic void setMarginRight(double margin)
setMarginRight in interface HasInlineStylepublic void setMarginBottom(double margin)
setMarginBottom in interface HasInlineStylepublic void setPaddingTop(double padding)
setPaddingTop in interface HasInlineStylepublic void setPaddingLeft(double padding)
setPaddingLeft in interface HasInlineStylepublic void setPaddingRight(double padding)
setPaddingRight in interface HasInlineStylepublic void setPaddingBottom(double padding)
setPaddingBottom in interface HasInlineStylepublic void setColor(String color)
setColor in interface HasInlineStylepublic void setContextualBackground(ContextualBackground contextualBackground)
setContextualBackground in interface HasContextualBackgroundcontextualBackground - the object's new contextual backgroundpublic ContextualBackground getContextualBackground()
getContextualBackground in interface HasContextualBackgroundCopyright © 2017. All rights reserved.