|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.common.view.CardImagesLoader
Load up all the images for a specific deck of cards (or the default if none selected).
Constructor Summary | |
CardImagesLoader(java.awt.Component p)
Load the default Deck. |
|
CardImagesLoader(java.awt.Component peer,
java.lang.String deckName)
Load a specific deck. |
Method Summary | |
static CardImages |
getDeck(java.awt.Component peer,
java.lang.String deckName)
Return CardImages object for this deck (whether in cache or freshly loaded). |
static CardImages |
getDeck(java.awt.Component peer,
java.lang.String deckName,
ICardImagesStatus output)
Return CardImages object for this deck (whether in cache or freshly loaded) using given ICardImageStatus observer. |
boolean |
ready()
Determine if cards have been loaded. |
void |
run()
Retrieve all images. |
void |
setStatusAgent(ICardImagesStatus output)
Set Agent so we can announce the images we are loading... |
void |
start()
Launch the thread to execute run. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CardImagesLoader(java.awt.Component p)
public CardImagesLoader(java.awt.Component peer, java.lang.String deckName)
If deckName is null, the default deck is selected.
Method Detail |
public static CardImages getDeck(java.awt.Component peer, java.lang.String deckName)
If the deck is to be loaded, then peer is used as an ImageObserver
.
deckName
- Stringpeer
- java.awt.Component
public static CardImages getDeck(java.awt.Component peer, java.lang.String deckName, ICardImagesStatus output)
If the deck is to be loaded, then peer is used as an ImageObserver
.
deckName
- Stringpeer
- java.awt.Component
public boolean ready()
public void run()
run
in interface java.lang.Runnable
public void setStatusAgent(ICardImagesStatus output)
Creation date: (10/1/01 8:48:31 PM)
public void start()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |