ResizableWidget (gCube Join New Portlet 1.0.0-SNAPSHOT API)
Date: 2013-01-11

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.portlets.user.joinnew.client.commons
Interface ResizableWidget

    public interface ResizableWidget

An interface that defines the methods required to support automatic resizing of the Widget element.

Method Summary
`com.google.gwt.user.client.Element` | `getElement()` Get the widget's element.
`boolean` | `isAttached()` Check if this widget is attached to the page.
`void` | `onResize(int width, int height)` This method is called when the dimensions of the parent element change.

Method Detail

### getElement

    com.google.gwt.user.client.Element getElement()

  Get the widget's element.

### isAttached

    boolean isAttached()

  Check if this widget is attached to the page.

  Returns:
    true if the widget is attached to the page

### onResize

    void onResize(int width,
                  int height)

  This method is called when the dimensions of the parent element change. Subclasses should override this method as needed.

  Parameters:
    `width` - the new client width of the element
    `height` - the new client height of the element

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013. All Rights Reserved.