com.github.gwtbootstrap.client.ui
Class Popover

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.github.gwtbootstrap.client.ui.base.ComplexWidget
                      extended by com.github.gwtbootstrap.client.ui.base.HoverBase
                          extended by com.github.gwtbootstrap.client.ui.Popover
All Implemented Interfaces:
HasPlacement, HasShowDelay, HasStyle, HasTrigger, IsAnimated, IsResponsive, HasAttachHandlers, HasHandlers, EventListener, AcceptsOneWidget, HasOneWidget, HasText, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>

public class Popover
extends HoverBase

Popover that

Since:
2.0.4.0
Author:
Dominik Mayer, ohashi keisuke
See Also:
Bootstrap documentation, Tooltip

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.HasWidgets
HasWidgets.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
IndexedPanel.ForIsWidget
 
Field Summary
 
Fields inherited from class com.github.gwtbootstrap.client.ui.base.HoverBase
animated, hideDelayInMilliseconds, placement, showDelayInMilliseconds, trigger
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Popover()
          Creates an empty Popover.
 
Method Summary
protected  void changeVisibility(VisibilityChange visibilityChange)
          Changes the visibility of the widget.
protected  String getDataName()
          Get data name of JS Data API.
 String getHeading()
           
 String getText()
          
 void reconfigure()
          Redraws the widget with the currently set options.
 void setHeading(String heading)
           
 void setText(String content)
          
 
Methods inherited from class com.github.gwtbootstrap.client.ui.base.HoverBase
add, getAnimation, getContainerElement, getDataAttribute, getHideDelay, getPlacement, getShowDelay, getTrigger, getWidget, hide, iterator, onLoad, remove, removeDataIfExists, removeDataIfExists, setAnimation, setDataAttribute, setHideDelay, setPlacement, setShowDelay, setTrigger, setWidget, setWidget, show, toggle
 
Methods inherited from class com.github.gwtbootstrap.client.ui.base.ComplexWidget
addStyle, insert, removeStyle, setHideOn, setShowOn, setStyle
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, clear, disown, 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, onUnload, removeFromParent, setLayoutData, sinkEvents
 
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, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets
clear
 

Constructor Detail

Popover

public Popover()
Creates an empty Popover.

Method Detail

setText

public void setText(String content)


getText

public String getText()


setHeading

public void setHeading(String heading)

getHeading

public String getHeading()

reconfigure

public void reconfigure()
Redraws the widget with the currently set options. This must not be called when a parameter is updated because it would deactivate all other parameters. No idea why...

Specified by:
reconfigure in class HoverBase

changeVisibility

protected void changeVisibility(VisibilityChange visibilityChange)
Changes the visibility of the widget.

Specified by:
changeVisibility in class HoverBase
Parameters:
visibilityChange - the action to be performed

getDataName

protected String getDataName()
Description copied from class: HoverBase
Get data name of JS Data API.

Specified by:
getDataName in class HoverBase
Returns:
data name


Copyright © 2012 gwtbootstrap. All Rights Reserved.