Interface HtmlObject


public interface HtmlObject
This interface should be implemented to provide OBJECT, EMBED or APPLET functionality.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    destroy.
    getComponent.
    void
    reset(int availableWidth, int availableHeight)
    Called as the object is layed out, either the first time it's layed out or whenever the DOM changes.
    void
    resume.
    void
    suspend.
  • Method Details

    • destroy

      void destroy()

      destroy.

    • getComponent

      Component getComponent()

      getComponent.

      Returns:
      a Component object.
    • reset

      void reset(int availableWidth, int availableHeight)
      Called as the object is layed out, either the first time it's layed out or whenever the DOM changes. This is where the object should reset its state based on element children or attributes and possibly change its preferred size if appropriate.
      Parameters:
      availableWidth - a Integer object.
      availableHeight - a Integer object.
    • resume

      void resume()

      resume.

    • suspend

      void suspend()

      suspend.