Class StyleTracker

java.lang.Object
org.xhtmlrenderer.layout.StyleTracker

public class StyleTracker extends Object
A managed list of CalculatedStyle objects. It is used when keeping track of the styles which apply to a :first-line or :first-letter pseudo element.
  • Constructor Details

    • StyleTracker

      public StyleTracker()
  • Method Details

    • addStyle

      public void addStyle(CascadedStyle style)
    • removeLast

      public void removeLast()
    • hasStyles

      public boolean hasStyles()
    • clearStyles

      public void clearStyles()
    • deriveAll

      public CalculatedStyle deriveAll(CalculatedStyle start)
    • getStyles

      public List getStyles()
    • copyOf

      public StyleTracker copyOf()