org.gnu.gdk
Class PixbufAnimationIter
public class PixbufAnimationIter
Provides the necessary functionality to display an animation.
PixbufAnimationIter
public PixbufAnimationIter(Handle handle)
advance
public boolean advance(long currentSec,
long currentUsec)
Possibly advances an animation to a new frame. Chooses the frame based
on the start time passed to the getIter method of PixbufAnimation.
currentSec
- currentUsec
-
gdk_pixbuf_animation_iter_advance
protected static final boolean gdk_pixbuf_animation_iter_advance(Handle iter,
long curSec,
long curUsec)
gdk_pixbuf_animation_iter_get_delay_time
protected static final int gdk_pixbuf_animation_iter_get_delay_time(Handle iter)
gdk_pixbuf_animation_iter_get_pixbuf
protected static final Handle gdk_pixbuf_animation_iter_get_pixbuf(Handle iter)
gdk_pixbuf_animation_iter_get_type
protected static final int gdk_pixbuf_animation_iter_get_type()
gdk_pixbuf_animation_iter_on_currently_loading_frame
protected static final boolean gdk_pixbuf_animation_iter_on_currently_loading_frame(Handle iter)
getDelayTime
public int getDelayTime()
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()
Gets the current Pixbuf which should be displayed.
onCurrentlyLoadingFrame
public boolean onCurrentlyLoadingFrame()
Returns true if the frame we're on is partially loaded, or the last frame