Class EmblemedIcon.Builder<B extends EmblemedIcon.Builder<B>>

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

public static class EmblemedIcon.Builder<B extends EmblemedIcon.Builder<B>> extends GObject.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 EmblemedIcon build()
      Finish building the EmblemedIcon object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to EmblemedIcon.
      Overrides:
      build in class GObject.Builder<B extends EmblemedIcon.Builder<B>>
      Returns:
      a new instance of EmblemedIcon with the properties that were set in the Builder object.
    • setGicon

      public B setGicon(Icon gicon)
      The Icon to attach emblems to.
      Parameters:
      gicon - the value for the gicon property
      Returns:
      the Builder instance is returned, to allow method chaining
      Since:
      2.18