Package org.gnome.gdkpixbuf
Class PixbufSimpleAnim.Builder<B extends PixbufSimpleAnim.Builder<B>>
java.lang.Object
org.javagi.gobject.Builder<B>
org.gnome.gobject.GObject.Builder<B>
org.gnome.gdkpixbuf.PixbufAnimation.Builder<B>
org.gnome.gdkpixbuf.PixbufSimpleAnim.Builder<B>
- Type Parameters:
B- the type of the Builder that is returned
- All Implemented Interfaces:
BuilderInterface
- Enclosing class:
PixbufSimpleAnim
public static class PixbufSimpleAnim.Builder<B extends PixbufSimpleAnim.Builder<B>>
extends PixbufAnimation.Builder<B>
Inner class implementing a builder pattern to construct a GObject with
properties.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.gnome.gobject.GObject.Builder
onNotifyMethods inherited from class org.javagi.gobject.Builder
addBuilderProperty, connect, connect, connectSignals, getArena, getNames, getValues
-
Constructor Details
-
Builder
protected Builder()Default constructor for aBuilderobject.
-
-
Method Details
-
build
Finish building thePixbufSimpleAnimobject. This will callGObject.withProperties(org.gnome.glib.Type, java.lang.String[], org.gnome.gobject.Value[])to create a new GObject instance, which is then cast toPixbufSimpleAnim.- Overrides:
buildin classPixbufAnimation.Builder<B extends PixbufSimpleAnim.Builder<B>>- Returns:
- a new instance of
PixbufSimpleAnimwith the properties that were set in the Builder object.
-
setLoop
Deprecated.Use a different image loading library for animatable assetsWhether the animation should loop when it reaches the end.- Parameters:
loop- the value for theloopproperty- Returns:
- the
Builderinstance is returned, to allow method chaining - Since:
- 2.18
-