org.gwtbootstrap3.client.ui.gwt
Class HTMLPanel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.HTMLPanel
                      extended by org.gwtbootstrap3.client.ui.gwt.HTMLPanel
All Implemented Interfaces:
HasAttachHandlers, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>, HasContextualBackground, HasDataSpy, HasDataTarget, HasId, HasInlineStyle, HasResponsiveness
Direct Known Subclasses:
Paragraph, Span

public class HTMLPanel
extends HTMLPanel
implements HasId, HasDataSpy, HasDataTarget, HasResponsiveness, HasInlineStyle, HasContextualBackground

Author:
Sven Jacobs, Grant Slender, David Buhler

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
IndexedPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
HTMLPanel(SafeHtml safeHtml)
           
HTMLPanel(String html)
           
HTMLPanel(String tag, String html)
           
 
Method Summary
 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
 
Methods inherited from class com.google.gwt.user.client.ui.HTMLPanel
add, add, add, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, addAndReplaceElement, createUniqueId, getElementById, wrap
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLPanel

public HTMLPanel(String html)

HTMLPanel

public HTMLPanel(SafeHtml safeHtml)

HTMLPanel

public HTMLPanel(String tag,
                 String html)
Method Detail

setId

public void setId(String id)
Description copied from interface: HasId
Sets the ID on the widget

Specified by:
setId in interface HasId
Parameters:
id - String desired ID

getId

public String getId()
Description copied from interface: HasId
Gets the ID of the widget

Specified by:
getId in interface HasId
Returns:
String widget ID

setDataSpy

public void setDataSpy(Spy spy)
Description copied from interface: HasDataSpy
Set the data spy attribute on the widget

Specified by:
setDataSpy in interface HasDataSpy
Parameters:
spy - data spy attribute for the widget

getDataSpy

public Spy getDataSpy()
Description copied from interface: HasDataSpy
Gets the data spy attribute for the widget

Specified by:
getDataSpy in interface HasDataSpy
Returns:
data spy attribute on the widget

setDataTargetWidgets

public void setDataTargetWidgets(List<Widget> widgets)
Specified by:
setDataTargetWidgets in interface HasDataTarget

setDataTargetWidget

public void setDataTargetWidget(Widget widget)
Specified by:
setDataTargetWidget in interface HasDataTarget

setDataTarget

public void setDataTarget(String dataTarget)
Description copied from interface: HasDataTarget
Sets the data target for the widget

Specified by:
setDataTarget in interface HasDataTarget
Parameters:
dataTarget - data target string

getDataTarget

public String getDataTarget()
Description copied from interface: HasDataTarget
Gets the data target of the widget

Specified by:
getDataTarget in interface HasDataTarget
Returns:
data target

setVisibleOn

public void setVisibleOn(DeviceSize deviceSize)
Description copied from interface: HasResponsiveness
Sets the devices that the element is visible on

Specified by:
setVisibleOn in interface HasResponsiveness
Parameters:
deviceSize - device size
See Also:
DeviceSize

setHiddenOn

public void setHiddenOn(DeviceSize deviceSize)
Description copied from interface: HasResponsiveness
Sets the devices that the element is hidden on

Specified by:
setHiddenOn in interface HasResponsiveness
Parameters:
deviceSize - device sizes
See Also:
DeviceSize

setMarginTop

public void setMarginTop(double margin)
Specified by:
setMarginTop in interface HasInlineStyle

setMarginLeft

public void setMarginLeft(double margin)
Specified by:
setMarginLeft in interface HasInlineStyle

setMarginRight

public void setMarginRight(double margin)
Specified by:
setMarginRight in interface HasInlineStyle

setMarginBottom

public void setMarginBottom(double margin)
Specified by:
setMarginBottom in interface HasInlineStyle

setPaddingTop

public void setPaddingTop(double padding)
Specified by:
setPaddingTop in interface HasInlineStyle

setPaddingLeft

public void setPaddingLeft(double padding)
Specified by:
setPaddingLeft in interface HasInlineStyle

setPaddingRight

public void setPaddingRight(double padding)
Specified by:
setPaddingRight in interface HasInlineStyle

setPaddingBottom

public void setPaddingBottom(double padding)
Specified by:
setPaddingBottom in interface HasInlineStyle

setColor

public void setColor(String color)

Specified by:
setColor in interface HasInlineStyle

setContextualBackground

public void setContextualBackground(ContextualBackground contextualBackground)
Sets the object's contextual background.

Specified by:
setContextualBackground in interface HasContextualBackground
Parameters:
contextualBackground - the object's new contextual background

getContextualBackground

public ContextualBackground getContextualBackground()
Get the object's contextual background.

Specified by:
getContextualBackground in interface HasContextualBackground
Returns:
the object's contextual background


Copyright © 2015. All rights reserved.