Class AbstractOneLineTextFieldRenderer

All Implemented Interfaces:
IPropertyContainer, IRenderer
Direct Known Subclasses:
ButtonRenderer, InputFieldRenderer

public abstract class AbstractOneLineTextFieldRenderer extends AbstractTextFieldRenderer
Abstract AbstractTextFieldRenderer for a single line of text content in a form field.
  • Constructor Details

  • Method Details

    • cropContentLines

      void cropContentLines(List<LineRenderer> lines, Rectangle bBox)
      Crops the content lines.
      Parameters:
      lines - a list of lines
      bBox - the bounding box
    • updateParagraphHeight

      private void updateParagraphHeight()
      Updates the paragraph height.
    • setContentHeight

      void setContentHeight(IRenderer flatRenderer, float height)
      Sets the content height.
      Parameters:
      flatRenderer - the flat renderer
      height - the height