Crossfire JXClient, Trunk
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
com.realtime.crossfire.jxclient.faces.AbstractFaceQueue Class Referenceabstract
Inheritance diagram for com.realtime.crossfire.jxclient.faces.AbstractFaceQueue:
Inheritance graph
Collaboration diagram for com.realtime.crossfire.jxclient.faces.AbstractFaceQueue:
Collaboration graph

Public Member Functions

void addFaceQueueListener (@NotNull final FaceQueueListener faceQueueListener)
 
void removeFaceQueueListener (@NotNull final FaceQueueListener faceQueueListener)
 
- Public Member Functions inherited from com.realtime.crossfire.jxclient.faces.FaceQueue
void loadFace (@NotNull Face face)
 
void reset ()
 

Protected Member Functions

void fireFaceFailed (@NotNull final Face face)
 
void fireFaceLoaded (@NotNull final Face face, @NotNull final FaceImages faceImages)
 

Private Attributes

final EventListenerList2< FaceQueueListenerfaceQueueListeners = new EventListenerList2<>()
 

Detailed Description

Abstract base class for classes implementing FaceQueue. This class maintains the FaceQueueListeners; implementing classes need to implement only the actual face loading code.

Author
Andreas Kirschbaum

Definition at line 34 of file AbstractFaceQueue.java.

Member Function Documentation

◆ addFaceQueueListener()

void com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.addFaceQueueListener ( @NotNull final FaceQueueListener  faceQueueListener)

Adds a FaceQueueListener to be notified about processed faces.

Parameters
faceQueueListenerthe listener to add

Implements com.realtime.crossfire.jxclient.faces.FaceQueue.

Definition at line 43 of file AbstractFaceQueue.java.

References com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.faceQueueListeners.

Referenced by com.realtime.crossfire.jxclient.faces.FacesQueue.FacesQueue().

Here is the caller graph for this function:

◆ fireFaceFailed()

void com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.fireFaceFailed ( @NotNull final Face  face)
protected

◆ fireFaceLoaded()

void com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.fireFaceLoaded ( @NotNull final Face  face,
@NotNull final FaceImages  faceImages 
)
protected

Notify all listener with FaceQueueListener#faceLoaded(Face, FaceImages).

Parameters
facethe face that has been loaded
faceImagesthe face images instance that has been loaded

Definition at line 58 of file AbstractFaceQueue.java.

References com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.faceQueueListeners.

Referenced by com.realtime.crossfire.jxclient.faces.AskfaceFaceQueue.processFaceData(), and com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue.LoadTask.run().

Here is the caller graph for this function:

◆ removeFaceQueueListener()

void com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.removeFaceQueueListener ( @NotNull final FaceQueueListener  faceQueueListener)

Removes a FaceQueueListener to be notified about processed faces.

Parameters
faceQueueListenerthe listener to remove

Implements com.realtime.crossfire.jxclient.faces.FaceQueue.

Definition at line 48 of file AbstractFaceQueue.java.

References com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.faceQueueListeners.

Member Data Documentation

◆ faceQueueListeners

final EventListenerList2<FaceQueueListener> com.realtime.crossfire.jxclient.faces.AbstractFaceQueue.faceQueueListeners = new EventListenerList2<>()
private

The documentation for this class was generated from the following file: