abstract static class ResizeLayoutPanel.Impl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
ResizeLayoutPanel.Impl.Delegate
Delegate event handler.
|
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
isAttached |
(package private) Element |
parent |
Constructor and Description |
---|
Impl() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleResize()
Handle a resize event.
|
void |
init(Element elem,
ResizeLayoutPanel.Impl.Delegate delegate)
Initialize the implementation.
|
void |
onAttach()
Called on attach.
|
void |
onDetach()
Called on detach.
|
boolean isAttached
Element parent
public void init(Element elem, ResizeLayoutPanel.Impl.Delegate delegate)
elem
- the element to listen for resizedelegate
- the ResizeLayoutPanel.Impl.Delegate
to inform when resize occurspublic void onAttach()
public void onDetach()
protected void handleResize()