public class PopoverPanel
extends org.apache.wicket.markup.html.panel.Panel
ENABLE, FLAG_AFTER_RENDERING, FLAG_INITIALIZED, FLAG_PREPARED_FOR_RENDER, FLAG_REMOVING_FROM_HIERARCHY, FLAG_RENDERING, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING
Constructor and Description |
---|
PopoverPanel(String id)
Creates a new instance.
|
PopoverPanel(String id,
org.apache.wicket.model.IModel<String> titleModel)
Creates a new instance.
|
PopoverPanel(String id,
org.apache.wicket.model.IModel<String> titleModel,
org.apache.wicket.model.IModel<String> contentModel)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
de.agilecoders.wicket.core.markup.html.bootstrap.components.PopoverBehavior |
getBehavior()
Returns the behavior that implements the Bootstrap popover.
|
org.apache.wicket.model.IModel<String> |
getContentModel()
Returns the model used to populate the content of the popover.
|
Popover |
getPopover()
Returns the map overlay for the popover.
|
org.apache.wicket.model.IModel<String> |
getTitleModel()
Returns the model used to populate the title of the popover.
|
void |
hide(org.apache.wicket.ajax.AjaxRequestTarget target)
Hides the popover from view.
|
protected void |
onInitialize() |
void |
setPlacement(String placement)
Sets the placement of the popover relative to the position.
|
void |
setPosition(LongLat position)
Sets the position of the popover.
|
void |
setPositioning(Overlay.Positioning positioning)
Sets the placement of the panel relative to the position.
|
void |
show(org.apache.wicket.ajax.AjaxRequestTarget target)
Shows the popover.
|
getRegionMarkup, newMarkupSourcingStrategy
getWebPage, getWebRequest, getWebResponse, getWebSession
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findComponentToDequeue, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onAfterRenderChildren, onComponentTagBody, onDetach, onRender, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, canCallListenerInterface, canCallListenerInterfaceAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, debug, detach, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnModelChanged, internalPrepareForRender, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setRequestFlag, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, visitParents, warn, wrap
public PopoverPanel(String id)
id
- Wicket element ID for the panelpublic PopoverPanel(String id, org.apache.wicket.model.IModel<String> titleModel)
id
- Wicket element ID for the paneltitleModel
- Model used to populate the title of the popoverpublic PopoverPanel(String id, org.apache.wicket.model.IModel<String> titleModel, org.apache.wicket.model.IModel<String> contentModel)
id
- Wicket element ID for the paneltitleModel
- Model used to populate the title of the popovercontentModel
- Model used to populate the content of the popoverprotected void onInitialize()
onInitialize
in class org.apache.wicket.MarkupContainer
public org.apache.wicket.model.IModel<String> getTitleModel()
public org.apache.wicket.model.IModel<String> getContentModel()
public de.agilecoders.wicket.core.markup.html.bootstrap.components.PopoverBehavior getBehavior()
public Popover getPopover()
public void hide(org.apache.wicket.ajax.AjaxRequestTarget target)
target
- Ajax request targetpublic void show(org.apache.wicket.ajax.AjaxRequestTarget target)
target
- Ajax request targetpublic void setPosition(LongLat position)
position
- LongLat with the positionpublic void setPositioning(Overlay.Positioning positioning)
positioning
- Position placement of the panel relative to the position.public void setPlacement(String placement)
placement
- Placement of the popover relative to the positionCopyright © 2015. All rights reserved.