org.gnu.gdk

Class PixbufAnimationIter

public class PixbufAnimationIter extends GObject

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.gdk.PixbufAnimationIter.

Provides the necessary functionality to display an animation.
Constructor Summary
PixbufAnimationIter(Handle handle)
Method Summary
booleanadvance(long currentSec, long currentUsec)
Possibly advances an animation to a new frame.
intgetDelayTime()
Gets the number of milliseconds the current Pixbuf should be displayed or -1 if the current Pixbuf should be displayed forever.
PixbufgetPixbuf()
Gets the current Pixbuf which should be displayed.
static TypegetType()
Retrieve the runtime type used by the GLib library.
booleanonCurrentlyLoadingFrame()
Returns true if the frame we're on is partially loaded, or the last frame

Constructor Detail

PixbufAnimationIter

public PixbufAnimationIter(Handle handle)

Method Detail

advance

public boolean advance(long currentSec, long currentUsec)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Possibly advances an animation to a new frame. Chooses the frame based on the start time passed to the getIter method of PixbufAnimation.

Parameters: currentSec currentUsec

getDelayTime

public int getDelayTime()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Gets the number of milliseconds the current Pixbuf should be displayed or -1 if the current Pixbuf should be displayed forever.

getPixbuf

public Pixbuf getPixbuf()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Gets the current Pixbuf which should be displayed.

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.

onCurrentlyLoadingFrame

public boolean onCurrentlyLoadingFrame()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Returns true if the frame we're on is partially loaded, or the last frame