Interface IResizableListener
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
ResizableAdapter
,ResizablePanel
public interface IResizableListener extends org.apache.wicket.util.io.IClusterable
Event listener shared by theResizablePanel
widget and theResizableBehavior
- Author:
- Sebastien Briquet - sebfz1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isResizeStartEventEnabled()
Indicates whether the 'start' event is enabled.
If true, theonResizeStart(AjaxRequestTarget, int, int, int, int)
event will be triggered.boolean
isResizeStopEventEnabled()
Indicates whether the 'stop' event is enabled.
If true, theonResizeStop(AjaxRequestTarget, int, int, int, int)
event will be triggered.void
onResizeStart(org.apache.wicket.ajax.AjaxRequestTarget target, int top, int left, int width, int height)
Triggered when the resize event startsvoid
onResizeStop(org.apache.wicket.ajax.AjaxRequestTarget target, int top, int left, int width, int height)
Triggered when the resize event stops
-
-
-
Method Detail
-
isResizeStartEventEnabled
boolean isResizeStartEventEnabled()
Indicates whether the 'start' event is enabled.
If true, theonResizeStart(AjaxRequestTarget, int, int, int, int)
event will be triggered.- Returns:
- false by default
-
isResizeStopEventEnabled
boolean isResizeStopEventEnabled()
Indicates whether the 'stop' event is enabled.
If true, theonResizeStop(AjaxRequestTarget, int, int, int, int)
event will be triggered.- Returns:
- false by default
-
onResizeStart
void onResizeStart(org.apache.wicket.ajax.AjaxRequestTarget target, int top, int left, int width, int height)
Triggered when the resize event starts- Parameters:
target
- theAjaxRequestTarget
top
- the position's top valueleft
- the position's left valuewidth
- the size's width valueheight
- the size's height value- See Also:
isResizeStartEventEnabled()
-
onResizeStop
void onResizeStop(org.apache.wicket.ajax.AjaxRequestTarget target, int top, int left, int width, int height)
Triggered when the resize event stops- Parameters:
target
- theAjaxRequestTarget
top
- the position's top valueleft
- the position's left valuewidth
- the size's width valueheight
- the size's height value- See Also:
isResizeStopEventEnabled()
-
-