org.lobobrowser.html

Interface HtmlObject

Known Implementing Classes:
SimpleHtmlObject

public interface HtmlObject

This interface should be implemented to provide OBJECT, EMBED or APPLET functionality.

Method Summary

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

destroy

public void destroy()

getComponent

public Component getComponent()

reset

public 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.

resume

public void resume()

suspend

public void suspend()