}
if (component instanceof IResizable) {
IResizable resizableComponent = (IResizable) component;
if (eventType == EventType.RESIZE_END) {
resizableComponent.onResized(target, top, left, width, height, originalTop, originalLeft, originalWidth, originalHeight, new SpecialKeys(request));
} else if (eventType == EventType.RESIZE_START) {
resizableComponent.onResizeStart(target, top, left, width, height, new SpecialKeys(request));
} else if (eventType == EventType.RESIZE) {
resizableComponent.onResize(target, top, left, width, height, new SpecialKeys(request));
}
}
if (eventType == EventType.RESIZE_END) {
onResized(target, top, left, width, height, originalTop, originalLeft, originalWidth, originalHeight, new SpecialKeys(request));
} else if (eventType == EventType.RESIZE_START) {
onResizeStart(target, top, left, width, height, new SpecialKeys(request));
} else if (eventType == EventType.RESIZE) {
onResize(target, top, left, width, height, new SpecialKeys(request));
}
}
}