Interface AuthorFoldManager


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public interface AuthorFoldManager
    Interface which can be used to expand/collapse foldable nodes. The CSS is used to mark nodes as foldable: https://www.oxygenxml.com/doc/ug-oxygen/#topics/dg-folding-elements.html
    Since:
    17
    • Method Detail

      • isFoldable

        boolean isFoldable​(AuthorNode node)
        Check if a particular node is foldable.
        Parameters:
        node - The Author Node.
        Returns:
        true if the node can be folded.
      • isFolded

        boolean isFolded​(AuthorNode node)
        Check if a particular node is folded.
        Parameters:
        node - The Author Node.
        Returns:
        true if the node is folded.
      • expandFold

        void expandFold​(AuthorNode node)
        If the node is folded, expand it.
        Parameters:
        node - The Author Node.
      • collapseFold

        void collapseFold​(AuthorNode node)
        If the node's fold is expanded, collapse it.
        Parameters:
        node - The Author Node.