Class Layout

java.lang.Object
com.github.westsi.browser.layout.Layout

public class Layout extends Object
Lays out a web page for a BrowserTab.
  • Constructor Details

  • Method Details

    • getDisplayList

      public ArrayList<Pair<Point,StyledString>> getDisplayList()
    • updateResize

      public void updateResize(Integer width, Integer height)
    • resetVariables

      public void resetVariables()
    • layout

      public void layout(HTMLElement root)
      Lays out tokens on page, with handling for some HTMLTags and HTMLText.
      Parameters:
      root - The root of the HTMLElement tree that needs to be laid out.