|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gwtbootstrap3.client.ui.Popover
public class Popover
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
|---|
HasWidgets.ForIsWidget |
| Constructor Summary | |
|---|---|
Popover()
|
|
Popover(Widget w)
|
|
| Method Summary | |
|---|---|
void |
add(Widget child)
|
HandlerRegistration |
addHiddenHandler(HiddenHandler hiddenHandler)
|
HandlerRegistration |
addHideHandler(HideHandler hideHandler)
|
HandlerRegistration |
addShowHandler(ShowHandler showHandler)
|
HandlerRegistration |
addShownHandler(ShownHandler shownHandler)
|
Widget |
asWidget()
|
void |
clear()
|
void |
destroy()
|
String |
getContainer()
Get where the hover will render it's HTML code |
int |
getHideDelayMs()
Get the delay in MS to hide the hover component |
String |
getId()
Gets the ID of the widget |
Placement |
getPlacement()
Get the Placement of the hover component |
int |
getShowDelayMs()
Get the delay in MS to show the hover component |
String |
getTitle()
|
Trigger |
getTrigger()
Get the hover component's trigger |
Widget |
getWidget()
|
void |
hide()
|
boolean |
isAnimated()
Get whether or not the hover widget will be animated |
boolean |
isHtml()
Get whether or not the hover widget will render HTML |
Iterator<Widget> |
iterator()
|
protected void |
onHidden(Event evt)
Can be override by subclasses to handle Tooltip's "hidden" event however it's recommended to add an event handler to the tooltip. |
protected void |
onHide(Event evt)
Can be override by subclasses to handle Tooltip's "hide" event however it's recommended to add an event handler to the tooltip. |
protected void |
onShow(Event evt)
Can be override by subclasses to handle Tooltip's "show" event however it's recommended to add an event handler to the tooltip. |
protected void |
onShown(Event evt)
Can be override by subclasses to handle Tooltip's "shown" event however it's recommended to add an event handler to the tooltip. |
void |
reconfigure()
|
boolean |
remove(Widget w)
|
void |
setContainer(String container)
Sets the custom container that the hover's HTML will render in |
void |
setContent(String content)
|
void |
setHideDelayMs(int hideDelayMs)
Set the delay in MS that the hover component takes to hide |
void |
setId(String id)
Sets the ID on the widget |
void |
setIsAnimated(boolean isAnimated)
Set whether or not to animate the displaying of the hover widget |
void |
setIsHtml(boolean isHTML)
Set to make the hover widget display HTML code |
void |
setPlacement(Placement placement)
Sets the placement of the hover component |
void |
setShowDelayMs(int showDelayMs)
Set the delay in MS that the hover component takes to display |
void |
setTitle(String title)
|
void |
setTrigger(Trigger trigger)
Set what will trigger the showing of the hover component |
void |
setWidget(IsWidget w)
|
void |
setWidget(Widget w)
|
void |
show()
|
void |
toggle()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Popover()
public Popover(Widget w)
| Method Detail |
|---|
public void setWidget(Widget w)
setWidget in interface HasOneWidgetpublic void add(Widget child)
add in interface HasWidgetspublic void setWidget(IsWidget w)
setWidget in interface AcceptsOneWidgetpublic Widget getWidget()
getWidget in interface HasOneWidgetpublic void setId(String id)
HasId
setId in interface HasIdid - String desired IDpublic String getId()
HasId
getId in interface HasIdpublic void setIsAnimated(boolean isAnimated)
HasHover
setIsAnimated in interface HasHoverisAnimated - boolean to animate or notpublic boolean isAnimated()
HasHover
isAnimated in interface HasHoverpublic void setIsHtml(boolean isHTML)
HasHover
setIsHtml in interface HasHoverisHTML - boolean to render HTML code or notpublic boolean isHtml()
HasHover
isHtml in interface HasHoverpublic void setPlacement(Placement placement)
HasHover
setPlacement in interface HasHoverplacement - Placement of the hover componentpublic Placement getPlacement()
HasHover
getPlacement in interface HasHoverpublic void setTrigger(Trigger trigger)
HasHover
setTrigger in interface HasHovertrigger - Trigger how the hover component will showpublic Trigger getTrigger()
HasHover
getTrigger in interface HasHoverpublic void setShowDelayMs(int showDelayMs)
HasHover
setShowDelayMs in interface HasHovershowDelayMs - int number of MS to delay the displaypublic int getShowDelayMs()
HasHover
getShowDelayMs in interface HasHoverpublic void setHideDelayMs(int hideDelayMs)
HasHover
setHideDelayMs in interface HasHoverhideDelayMs - int number of MS to delay the hidepublic int getHideDelayMs()
HasHover
getHideDelayMs in interface HasHoverpublic void setContainer(String container)
HasHover
setContainer in interface HasHovercontainer - String selector of where to render the hover's HTML codepublic String getContainer()
HasHover
getContainer in interface HasHoverpublic String getTitle()
public void setContent(String content)
public void setTitle(String title)
public void reconfigure()
public void toggle()
public void show()
public void hide()
public void destroy()
protected void onShow(Event evt)
evt - EventShowEventprotected void onShown(Event evt)
evt - EventShownEventprotected void onHide(Event evt)
evt - EventHideEventprotected void onHidden(Event evt)
evt - EventHiddenEventpublic HandlerRegistration addShowHandler(ShowHandler showHandler)
public HandlerRegistration addShownHandler(ShownHandler shownHandler)
public HandlerRegistration addHideHandler(HideHandler hideHandler)
public HandlerRegistration addHiddenHandler(HiddenHandler hiddenHandler)
public void clear()
clear in interface HasWidgetspublic Iterator<Widget> iterator()
iterator in interface HasWidgetsiterator in interface Iterable<Widget>public boolean remove(Widget w)
remove in interface HasWidgetspublic Widget asWidget()
asWidget in interface IsWidget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||