com.smartgwt.client.widgets.events

## Interface ClearHandler

- All Superinterfaces:
    com.google.gwt.event.shared.EventHandler

      public interface ClearHandler
      extends com.google.gwt.event.shared.EventHandler

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onClear(ClearEvent event)` Notification method fired when the canvas is removed from the DOM via a call to `clear()`.

- - ### Method Detail

    - #### onClear

          void onClear(ClearEvent event)

      Notification method fired when the canvas is removed from the DOM via a call to `clear()`. Canvases are cleared recursively, so if a parent is clear()'d, all of its descendants will also be cleared. This notification is fired before the canvas has been removed from the DOM, and `isDrawn()` will return `true` if called while the notification is running.
      Parameters:
        `event` - the event