com.gwtext.client.widgets
Class Resizable
java.lang.Object
com.gwtext.client.core.JsObject
com.gwtext.client.widgets.Resizable
public class Resizable
- extends JsObject
Applies drag handles to an element to make it resizable. The drag handles are inserted into the element and
positioned absolute. Some elements, such as a textarea or image, don't support this. To overcome that, you
can wrap the textarea in a div and set "resizeChild" to true (or to the id of the element), or set wrap:true
in your config and the element will be wrapped for you automatically.
| Fields inherited from class com.gwtext.client.core.JsObject |
jsObj |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NORTH
public static Resizable.Handle NORTH
SOUTH
public static Resizable.Handle SOUTH
EAST
public static Resizable.Handle EAST
WEST
public static Resizable.Handle WEST
NORTH_WEST
public static Resizable.Handle NORTH_WEST
SOUTH_WEST
public static Resizable.Handle SOUTH_WEST
SOUTH_EAST
public static Resizable.Handle SOUTH_EAST
NORTH_EAST
public static Resizable.Handle NORTH_EAST
ALL
public static Resizable.Handle ALL
Resizable
public Resizable(java.lang.String id,
ResizableConfig config)
- Create a new resizable component. The component needs to be attached to the browser DOM.
- Parameters:
id - the element IDconfig - the resizable config
Resizable
public Resizable(com.google.gwt.user.client.Element elem,
ResizableConfig config)
- Create a new resizable component. The component needs to be attached to the browser DOM.
- Parameters:
elem - the elementconfig - the resizable config
Resizable
public Resizable(Component component,
ResizableConfig config)
- Create a new resizable component.
- Parameters:
component - the componentconfig - the resizable config
addListener
public void addListener(ResizableListener listener)
- Add a Resizable listener.
- Parameters:
listener - the listener