public class Popover extends Overlay
Overlay.PositioningDEFAULT_POSITIONING, DEFAULT_STOP_EVENT, element, position, positioning, stopEvent| Constructor and Description |
|---|
Popover(org.apache.wicket.Component component,
org.apache.wicket.model.IModel<String> titleModel,
org.apache.wicket.model.IModel<String> model)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Popover |
element(org.apache.wicket.Component element)
Sets the element tied to this popover.
|
boolean |
getHtml()
Returns the value of the HTML flag for this popover.
|
String |
getJsId()
Returns a String with the unique ID used to identify this object.
|
org.apache.wicket.model.IModel<String> |
getModel()
Returns the model for this popover.
|
String |
getPlacement()
Returns the placement of this popover.
|
Popover |
hide(org.apache.wicket.ajax.AjaxRequestTarget target)
Hides this popover.
|
Popover |
html(boolean html)
Sets the value of the HTML flag for this popover.
|
Popover |
model(org.apache.wicket.model.IModel<String> model)
Sets the model for this popover.
|
Popover |
placement(String placement)
Sets the placement of this popover.
|
Popover |
position(LongLat position)
Sets the position of the overlay.
|
Popover |
positioning(Overlay.Positioning positioning)
Sets the positioning of this overlay.
|
void |
setHtml(boolean html)
Sets the value of the HTML flag for this popover.
|
void |
setModel(org.apache.wicket.model.IModel<String> model)
Sets the model for this popover.
|
void |
setPlacement(String placement)
Sets the placement of this popover.
|
Popover |
show(org.apache.wicket.ajax.AjaxRequestTarget target)
Displays the popover.
|
Popover |
stopEvent(Boolean stopEvent)
Sets the stopEvent value.
|
escapeQuoteJs, getElement, getJsType, getPosition, getPositioning, getStopEvent, renderAttributesJs, renderJs, setElement, setPosition, setPositioning, setStopEventpublic String getPlacement()
public void setPlacement(String placement)
placement - New valuepublic Popover placement(String placement)
placement - New valuepublic boolean getHtml()
public void setHtml(boolean html)
html - New valuepublic Popover html(boolean html)
html - New valuepublic org.apache.wicket.model.IModel<String> getModel()
public void setModel(org.apache.wicket.model.IModel<String> model)
model - New valuepublic Popover model(org.apache.wicket.model.IModel<String> model)
model - New valuepublic Popover positioning(Overlay.Positioning positioning)
positioning in class Overlaypositioning - New valuepublic Popover element(org.apache.wicket.Component element)
public Popover show(org.apache.wicket.ajax.AjaxRequestTarget target)
target - Ajax request targetpublic Popover hide(org.apache.wicket.ajax.AjaxRequestTarget target)
target - Ajax request targetpublic String getJsId()
IJavascriptObjectgetJsId in interface IJavascriptObjectgetJsId in class OverlayCopyright © 2015. All rights reserved.