Interface HtmlObject

All Known Implementing Classes:
SimpleHtmlObject

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

    Modifier and Type
    Method
    Description
    void
     
     
    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
     
    void
     
  • Method Details

    • getComponent

      Component getComponent()
    • suspend

      void suspend()
    • resume

      void resume()
    • destroy

      void destroy()
    • 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.