public abstract class ResizablePanel extends JQueryPanel
JQueryPanel.abstract because no markup is associated with this panel. It is up to the user to supply the corresponding markup.IJQueryWidget.JQueryWidgetoptions| Constructor and Description |
|---|
ResizablePanel(java.lang.String id)
Constructor
|
ResizablePanel(java.lang.String id,
org.apache.wicket.model.IModel<?> model)
Constructor
|
ResizablePanel(java.lang.String id,
org.apache.wicket.model.IModel<?> model,
Options options)
Constructor
|
ResizablePanel(java.lang.String id,
Options options)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isResizeStartEventEnabled()
Indicates whether the 'start' event is enabled.
If true, the onResizeStart(AjaxRequestTarget, int, int, int, int) event will be triggered. |
boolean |
isResizeStopEventEnabled()
Indicates whether the 'stop' event is enabled.
If true, the onResizeStop(AjaxRequestTarget, int, int, int, int) event will be triggered. |
JQueryBehavior |
newWidgetBehavior(java.lang.String selector) |
protected void |
onInitialize() |
void |
onResizeStart(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height)
Triggered when the resize event starts
|
void |
onResizeStop(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height)
Triggered when the resize event stops
|
onBeforeRender, onConfiguregetWebPage, getWebRequest, getWebResponse, getWebSessionadd, addOrReplace, autoAdd, contains, get, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getMarkupType, internalAdd, internalInitialize, iterator, iterator, onAfterRenderChildren, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, swap, toString, toString, visitChildren, visitChildren, visitChildren, visitChildrenadd, addStateChange, afterRender, beforeRender, canCallListenerInterface, 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, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, onAfterRender, onBeforeRender, onComponentTag, onConfigure, onDetach, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, prepareForRender, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderHead, 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, wrappublic ResizablePanel(java.lang.String id)
id - the markup idpublic ResizablePanel(java.lang.String id,
Options options)
id - the markup idoptions - the Optionspublic ResizablePanel(java.lang.String id,
org.apache.wicket.model.IModel<?> model)
id - the markup idmodel - the IModelpublic boolean isResizeStartEventEnabled()
onResizeStart(AjaxRequestTarget, int, int, int, int) event will be triggered.public boolean isResizeStopEventEnabled()
onResizeStop(AjaxRequestTarget, int, int, int, int) event will be triggered.protected void onInitialize()
onInitialize in class org.apache.wicket.Componentpublic void onResizeStart(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height)
target - the AjaxRequestTargettop - the position's top valueleft - the position's left valuewidth - the size's width valueheight - the size's height valueisResizeStartEventEnabled()public void onResizeStop(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height)
target - the AjaxRequestTargettop - the position's top valueleft - the position's left valuewidth - the size's width valueheight - the size's height valueisResizeStopEventEnabled()public JQueryBehavior newWidgetBehavior(java.lang.String selector)
newWidgetBehavior in interface IJQueryWidgetCopyright © 2014 7thWeb. All Rights Reserved.