Interface HtmlObject

  • All Known Implementing Classes:
    SimpleHtmlObject

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void destroy()  
      java.awt.Component 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 Detail

      • getComponent

        java.awt.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.