Package jexer.help

Class TParagraph

  • All Implemented Interfaces:
    java.lang.Comparable<TWidget>

    public class TParagraph
    extends TWidget
    TParagraph contains a reflowable collection of TWords, some of which are clickable links.
    • Constructor Detail

      • TParagraph

        public TParagraph​(THelpText parent,
                          java.util.List<TWord> words)
        Public constructor.
        Parameters:
        parent - parent widget
        words - the pieces of the paragraph to display
    • Method Detail

      • reflowData

        public void reflowData()
        Reposition the words in this paragraph to reflect the new width, and set the paragraph height.
      • up

        public boolean up()
        Try to select a previous link.
        Returns:
        true if there was a previous link in this paragraph to select
      • down

        public boolean down()
        Try to select a next link.
        Returns:
        true if there was a next link in this paragraph to select