public interface IResizable
Component
with this interface and implement the interface's methods to
react on resizing.Modifier and Type | Method and Description |
---|---|
void |
onResize(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height,
SpecialKeys specialKeys)
If the Wicket
Component is marked as resizable by adding
a ResizableBehavior to it and the ResizableBehavior
has set ResizableBehavior.setWantOnResizeNotification(boolean)
to true,
this method is called every time the mouse moves during the resize operation. |
void |
onResized(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height,
int originalTop,
int originalLeft,
int originalWidth,
int originalHeight,
SpecialKeys specialKeys)
If the Wicket
Component is marked as resizable by adding
a ResizableBehavior to it,
this method is called after the resize operatioin has finished |
void |
onResizeStart(org.apache.wicket.ajax.AjaxRequestTarget target,
int top,
int left,
int width,
int height,
SpecialKeys specialKeys)
If the Wicket
Component is marked as resizable by adding
a ResizableBehavior to it and the ResizableBehavior
has set ResizableBehavior.setWantOnresizeStartNotification(boolean)
to true,
this method is called when the resize operation starts. |
void onResizeStart(org.apache.wicket.ajax.AjaxRequestTarget target, int top, int left, int width, int height, SpecialKeys specialKeys)
Component
is marked as resizable by adding
a ResizableBehavior
to it and the ResizableBehavior
has set ResizableBehavior.setWantOnresizeStartNotification(boolean)
to true,
this method is called when the resize operation starts.target
- The AjaxRequestTarget
associated with thistop
- the current top in pxleft
- the current left in pxwidth
- the current width in pxheight
- the current height in pxspecialKeys
- the special keys that were pressed when the event occursvoid onResize(org.apache.wicket.ajax.AjaxRequestTarget target, int top, int left, int width, int height, SpecialKeys specialKeys)
Component
is marked as resizable by adding
a ResizableBehavior
to it and the ResizableBehavior
has set ResizableBehavior.setWantOnResizeNotification(boolean)
to true,
this method is called every time the mouse moves during the resize operation.target
- The AjaxRequestTarget
associated with thistop
- the current top in pxleft
- the current left in pxwidth
- the current width in pxheight
- the current height in pxspecialKeys
- the special keys that were pressed when the event occursvoid onResized(org.apache.wicket.ajax.AjaxRequestTarget target, int top, int left, int width, int height, int originalTop, int originalLeft, int originalWidth, int originalHeight, SpecialKeys specialKeys)
Component
is marked as resizable by adding
a ResizableBehavior
to it,
this method is called after the resize operatioin has finishedtarget
- The AjaxRequestTarget
associated with thistop
- the final top in px after resizingleft
- the final left in px after resizingwidth
- the final width in px after resizingheight
- the final height in px after resizingoriginalTop
- the original top in px before resizingoriginalLeft
- the final original left in px before resizingoriginalWidth
- the final original width in px before resizingoriginalHeight
- the final original height in px before resizingspecialKeys
- the special keys that were pressed when the event occursCopyright © 2015. All rights reserved.