Class TreeListRowSorter.Builder<B extends TreeListRowSorter.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
TreeListRowSorter

public static class TreeListRowSorter.Builder<B extends TreeListRowSorter.Builder<B>> extends Sorter.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public TreeListRowSorter build()
      Finish building the TreeListRowSorter object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to TreeListRowSorter.
      Overrides:
      build in class Sorter.Builder<B extends TreeListRowSorter.Builder<B>>
      Returns:
      a new instance of TreeListRowSorter with the properties that were set in the Builder object.
    • setSorter

      public B setSorter(Sorter sorter)
      The underlying sorter
      Parameters:
      sorter - the value for the sorter property
      Returns:
      the Builder instance is returned, to allow method chaining