Class ListBlock

All Implemented Interfaces:
BlankLineContainer, Content
Direct Known Subclasses:
BulletList, DefinitionList, OrderedList

public abstract class ListBlock extends Block implements BlankLineContainer
  • Field Details

    • tight

      private boolean tight
  • Constructor Details

  • Method Details

    • isTight

      public boolean isTight()
    • isLoose

      public boolean isLoose()
    • setTight

      public void setTight(boolean tight)
    • setLoose

      public void setLoose(boolean loose)
    • getLastBlankLineChild

      public Node getLastBlankLineChild()
      Description copied from class: Node
      Overridden by ListBlock and any others whose children propagate their blank line to parent
      Overrides:
      getLastBlankLineChild in class Node
      Returns:
      return a child block that can contain the parent's last blank line
    • getAstExtra

      public void getAstExtra(@NotNull @NotNull StringBuilder out)
      Overrides:
      getAstExtra in class Node