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.OnAsyncReadyCallback
Von 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 TypMethodeBeschreibungvoid
Adds a new frame to @animation.static ClassHandler
static int
boolean
getLoop()
Gets whether @animation should loop indefinitely when it reaches the end.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
void
setLoop
(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, unref
Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrProperty
Von 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, weakUnref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von 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()
-