Package ch.bailu.gtk.gdkpixbuf
Klasse PixbufSimpleAnim
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.gdkpixbuf.PixbufAnimation
ch.bailu.gtk.gdkpixbuf.PixbufSimpleAnim
- Alle implementierten Schnittstellen:
PointerInterface
An opaque struct representing a simple animation.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gdkpixbuf.PixbufAnimation
PixbufAnimation.OnAsyncReadyCallbackVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Feldübersicht
Von Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPixbufSimpleAnim(int width, int height, float rate) Creates a new, empty animation.PixbufSimpleAnim(PointerContainer pointer) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdds a new frame to @animation.static ClassHandlerstatic intbooleangetLoop()Gets whether @animation should loop indefinitely when it reaches the end.static longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizevoidsetLoop(boolean loop) Sets whether @animation should loop indefinitely when it reaches the end.Von Klasse geerbte Methoden ch.bailu.gtk.gdkpixbuf.PixbufAnimation
getHeight, getIter, getStaticImage, getWidth, isStaticImage, newFromFilePixbufAnimation, newFromFilePixbufAnimation, newFromResourcePixbufAnimation, newFromResourcePixbufAnimation, newFromStreamAsync, newFromStreamFinishPixbufAnimation, newFromStreamPixbufAnimation, ref, unrefVon Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrPropertyVon Klasse geerbte Methoden ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, watchClosure, weakRef, weakUnrefVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
PixbufSimpleAnim
-
PixbufSimpleAnim
public PixbufSimpleAnim(int width, int height, float rate) Creates a new, empty animation.- Parameter:
width- the width of the animationheight- the height of the animationrate- the speed of the animation, in frames per second
-
-
Methodendetails
-
getClassHandler
-
addFrame
Adds a new frame to @animation. The @pixbuf must
have the dimensions specified when the animation
was constructed.- Parameter:
pixbuf- the pixbuf to add
-
getLoop
public boolean getLoop()Gets whether @animation should loop indefinitely when it reaches the end.- Gibt zurück:
- %TRUE if the animation loops forever, %FALSE otherwise
-
setLoop
public void setLoop(boolean loop) Sets whether @animation should loop indefinitely when it reaches the end.- Parameter:
loop- whether to loop the animation
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-