|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--medi.util.PreviewDispatcher
It is a class to dispatch preview classes.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
PreviewDispatcher(java.lang.String str)
Creates new PreviewDispatcher |
Method Summary | |
void |
hideFrame()
Hides the preview frame. |
boolean |
isFrameVisible()
Checks if the frame is visible. |
void |
mountAndRetry()
Mounts the volume and retry displaying the file. |
void |
preview(Clippable obj)
Previews the object. |
void |
preview(java.lang.Long dataID)
Previews a file. |
void |
run()
Thread's run method. |
void |
setProvider(Provider pPrv)
Sets the provider to use. |
void |
setVolumeMounter(VolumeMounter pVmount)
Sets the volume mounter. |
void |
showFrame()
Shows the preview-frame. |
void |
stopAll()
Stops the thread. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PreviewDispatcher(java.lang.String str)
str
- The thread's name. Choose the one that you like.Method Detail |
public void setProvider(Provider pPrv) throws DbException
pPrv
- The provider to use.
DbException
- If something goes wrong.public void setVolumeMounter(VolumeMounter pVmount)
pVmount
- The volume mounter to use.public void preview(java.lang.Long dataID) throws DbException
dataID
- The data ID of the file to preview.
DbException
- If something goes wrong.public void preview(Clippable obj) throws DbException
obj
- The clippable object to be previewed.
DbException
- If something goes wrong.public void showFrame()
public void hideFrame()
public boolean isFrameVisible()
true
: the frame is visible;
false
: the frame is NOT visible.public void mountAndRetry() throws DbException
DbException
- If something goes wrong.public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void stopAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |