Class Section

    • Constructor Summary

      Constructors 
      Constructor Description
      Section()  
    • Constructor Detail

      • Section

        public Section()
    • Method Detail

      • requestRedraw

        public final void requestRedraw()
        Marks this section dirty; the framework batches and repaints the dirty subtree.
        Throws:
        java.lang.IllegalStateException - if called off the UI thread
      • isFocused

        public final boolean isFocused()
        Returns:
        true if this section is on the focus path
      • bounds

        public final Rect bounds()
        Returns:
        this section's current bounds
      • parent

        public final Section parent()
        Returns:
        the parent section, or null if this is the root or unattached
      • bordered

        public final Section bordered()
        Wraps this section in a border.
        Returns:
        the wrapping bordered section
      • bordered

        public final Section bordered​(java.lang.String title)
        Wraps this section in a titled border.
        Parameters:
        title - the border title
        Returns:
        the wrapping bordered section