Package com.smartgwt.client.widgets.events

# Interface ClearHandler

All Superinterfaces:
  `EventHandler`

public interface ClearHandler extends EventHandler

- ## Method Summary

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

- ## Method Details

  - ### 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