Class SimpleHtmlObject

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, HtmlObject

public class SimpleHtmlObject extends JComponent implements HtmlObject
Simple implementation of HtmlObject.
See Also:
  • Field Details

  • Constructor Details

    • SimpleHtmlObject

      public SimpleHtmlObject(HTMLElement element)
  • Method Details

    • reset

      public void reset(int availWidth, int availHeight)
      Description copied from interface: HtmlObject
      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.
      Specified by:
      reset in interface HtmlObject
    • destroy

      public void destroy()
      Specified by:
      destroy in interface HtmlObject
    • getComponent

      public Component getComponent()
      Specified by:
      getComponent in interface HtmlObject
    • resume

      public void resume()
      Specified by:
      resume in interface HtmlObject
    • suspend

      public void suspend()
      Specified by:
      suspend in interface HtmlObject