org.cruxframework.crux.widgets.client.util.draganddrop
Class ResizeCapability
java.lang.Object
org.cruxframework.crux.widgets.client.util.draganddrop.ResizeCapability
public class ResizeCapability
- extends Object
Encloses the logic and contracts needed resize a widget when user drags a part of it
- Author:
- Gesse Dafe
|
Nested Class Summary |
static class |
ResizeCapability.DragResizeAction
The logic needed to resize a widget when user drags a part of it |
static interface |
ResizeCapability.Resizable<K extends com.google.gwt.user.client.ui.IsWidget & com.google.gwt.event.dom.client.HasAllMouseHandlers>
The contract to implement a widget which can be resized |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResizeCapability
public ResizeCapability()
addResizeCapability
public static void addResizeCapability(ResizeCapability.Resizable<?> resizable,
int minWidth,
int minHeight)
- Makes a widget able to be resized by dragging a part of it, usually a right bottom corner.
- Parameters:
movable -
Copyright © 2015. All rights reserved.