Class AnonymousInlineBoxRenderer

All Implemented Interfaces:
IPropertyContainer, IRenderer

public class AnonymousInlineBoxRenderer extends ParagraphRenderer
This class represents the IRenderer object for a AnonymousInlineBox object.
  • Constructor Details

  • Method Details

    • getNextRenderer

      public IRenderer getNextRenderer()
      Gets a new instance of this class to be used as a next renderer, after this renderer is used, if ParagraphRenderer.layout(LayoutContext) is called more than once.

      If a renderer overflows to the next area, iText uses this method to create a renderer for the overflow part. So if one wants to extend ParagraphRenderer, one should override this method: otherwise the default method will be used and thus the default rather than the custom renderer will be created.

      Specified by:
      getNextRenderer in interface IRenderer
      Overrides:
      getNextRenderer in class ParagraphRenderer
      Returns:
      new renderer instance
    • retrieveResolvedDeclaredHeight

      protected Float retrieveResolvedDeclaredHeight()
      Retrieve the resolved height declaration. If it has a relative height declaration, AbstractRenderer.retrieveHeight() is called.
      Overrides:
      retrieveResolvedDeclaredHeight in class AbstractRenderer
      Returns:
      null if no height declaration is set on the parent, or if its own height declaration cannot be resolved. The float value of the resolved height otherwise
    • getDefaultProperty

      public  T1 getDefaultProperty (int property)
      Gets the default property from this entity.
      Specified by:
      getDefaultProperty in interface IPropertyContainer
      Overrides:
      getDefaultProperty in class ParagraphRenderer
      Type Parameters:
      T1 - the return type associated with the property
      Parameters:
      property - the property to be retrieved
      Returns:
      the default property value. If the default property is not defined, null will be returned