static class ResizeLayoutPanel.ImplStandard extends ResizeLayoutPanel.Impl implements EventListener
ResizeLayoutPanel.Impl.Delegate
isAttached, parent
Constructor and Description |
---|
ImplStandard() |
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 |
onBrowserEvent(Event event)
Fired whenever a browser event is received.
|
void |
onDetach()
Called on detach.
|
public void init(Element elem, ResizeLayoutPanel.Impl.Delegate delegate)
ResizeLayoutPanel.Impl
init
in class ResizeLayoutPanel.Impl
elem
- the element to listen for resizedelegate
- the ResizeLayoutPanel.Impl.Delegate
to inform when resize occurspublic void onAttach()
ResizeLayoutPanel.Impl
onAttach
in class ResizeLayoutPanel.Impl
public void onBrowserEvent(Event event)
EventListener
onBrowserEvent
in interface EventListener
event
- the event receivedpublic void onDetach()
ResizeLayoutPanel.Impl
onDetach
in class ResizeLayoutPanel.Impl
protected void handleResize()
ResizeLayoutPanel.Impl
handleResize
in class ResizeLayoutPanel.Impl