Package com.google.gwt.user.client.ui
Class ResizeLayoutPanel.ImplStandard
java.lang.Object
com.google.gwt.user.client.ui.ResizeLayoutPanel.Impl
com.google.gwt.user.client.ui.ResizeLayoutPanel.ImplStandard
- All Implemented Interfaces:
EventListener
- Enclosing class:
ResizeLayoutPanel
Implementation of resize event.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.ResizeLayoutPanel.Impl
ResizeLayoutPanel.Impl.Delegate
-
Field Summary
Fields inherited from class com.google.gwt.user.client.ui.ResizeLayoutPanel.Impl
isAttached, parent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
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.
-
Constructor Details
-
ImplStandard
ImplStandard()
-
-
Method Details
-
init
Description copied from class:ResizeLayoutPanel.Impl
Initialize the implementation.- Overrides:
init
in classResizeLayoutPanel.Impl
- Parameters:
elem
- the element to listen for resizedelegate
- theResizeLayoutPanel.Impl.Delegate
to inform when resize occurs
-
onAttach
public void onAttach()Description copied from class:ResizeLayoutPanel.Impl
Called on attach.- Overrides:
onAttach
in classResizeLayoutPanel.Impl
-
onBrowserEvent
Description copied from interface:EventListener
Fired whenever a browser event is received.- Specified by:
onBrowserEvent
in interfaceEventListener
- Parameters:
event
- the event received
-
onDetach
public void onDetach()Description copied from class:ResizeLayoutPanel.Impl
Called on detach.- Overrides:
onDetach
in classResizeLayoutPanel.Impl
-
handleResize
protected void handleResize()Description copied from class:ResizeLayoutPanel.Impl
Handle a resize event.- Overrides:
handleResize
in classResizeLayoutPanel.Impl
-