Method Summary |
|
public void | setAdjustments(int widthAdjustment, int heightAdjustment) The width, height adjustments to be added to the resize operation's new size. |
public void | setAnimate(boolean animate) True to animate the resize (not compatible with dynamic sizing, defaults to false). |
public void | setAutoAdjustments() Sets the adjustments to "auto". |
public void | setDisableTrackOver(boolean disableTrackOver) True to disable mouse tracking. |
public void | setDraggable(boolean draggable) Convenience to initialize drag drop (defaults to false). |
public void | setDuration(float duration) Animation duration if animate = true (defaults to .35). |
public void | setDynamic(boolean dynamic) True to resize the element while dragging instead of using a proxy (defaults to false). |
public void | setEasing(Easing easing) Animation easieng if animate = true. |
public void | setEnabled(boolean enabled) False to disable resizing (defaults to true). |
public void | setHandles(Resizable.Handle handles) |
public void | setHeight(int height) The height of the element in pixels (defaults to null). |
public void | setHeightIncrement(int heightIncrement) The increment to snap the height resize in pixels (dynamic must be true, defaults to 0). |
public void | setMaxHeight(int maxHeight) The maximum height for the element (defaults to 10000). |
public void | setMaxWidth(int maxWidth) The maximum width for the element (defaults to 10000). |
public void | setMinHeight(int minHeight) The minimum height for the element (defaults to 5). |
public void | setMinWidth(int minWidth) The minimum width for the element (defaults to 5). |
public void | setMinX(int minX) The minimum allowed page X for the element (only used for west resizing, defaults to 0). |
public void | setMinY(int minY) The minimum allowed page Y for the element (only used for north resizing, defaults to 0). |
public void | setPinned(boolean pinned) True to ensure that the resize handles are always visible, false to display them only when the user mouses over
the resizable borders. |
public void | setPreserveRatio(boolean preserveRatio) True to preserve the original ratio between height and width during resize (defaults to false). |
public void | setResizeChild(boolean resizeChild) True to resize the first child, or id/element to resize (defaults to false). |
public void | setTransparent(boolean transparent) True for transparent handles. |
public void | setWidth(int width) The width of the element in pixels (defaults to null). |
public void | setWidthIncrement(boolean widthIncrement) The increment to snap the width resize in pixels (dynamic must be true, defaults to 0). |
public void | setWrap(boolean wrap) True to wrap an element with a div if needed (required for textareas and images, defaults to false). |