medi.util
Class PreviewDispatcher

java.lang.Object
java.lang.Thread
medi.util.PreviewDispatcher
- All Implemented Interfaces:
- java.lang.Runnable
- public class PreviewDispatcher
- extends java.lang.Thread
It is a class to dispatch preview classes.
- Version:
- 0.3.1
| Nested classes inherited from class java.lang.Thread |
java.lang.Thread.UncaughtExceptionHandler |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
prv
private medi.db.AbstractProvider prv
previewers
private medi.plugin.AbstractPreviewer[] previewers
ext2previewer
private java.util.HashMap ext2previewer
pframe
private medi.swing.frame.PreviewFrame pframe
vmount
private medi.db.util.VolumeMounter vmount
noMount
private javax.swing.JLabel noMount
noClass
private javax.swing.JLabel noClass
dataID
private java.lang.Long dataID
processing
private boolean processing
threadStopped
private boolean threadStopped
PreviewDispatcher
public PreviewDispatcher(java.lang.String str)
- Creates new PreviewDispatcher
setProvider
public void setProvider(medi.db.AbstractProvider pPrv)
throws javatools.db.DbException
- Sets the provider to use.
setVolumeMounter
public void setVolumeMounter(medi.db.util.VolumeMounter pVmount)
- Sets the volume mounter.
preview
public void preview(java.lang.Long dataID)
throws javatools.db.DbException
- Previews a file.
preview
public void preview(javatools.util.Clippable obj)
throws javatools.db.DbException
- Previews the object.
showFrame
public void showFrame()
- Shows the preview-frame.
hideFrame
public void hideFrame()
- Hides the preview frame.
isFrameVisible
public boolean isFrameVisible()
- Checks if the frame is visible.
mountAndRetry
public void mountAndRetry()
throws javatools.db.DbException
- Mounts the volume and retry displaying the file.
run
public void run()
- Thread's run method.
stopAll
public void stopAll()
- Stops the thread.
doPreview
private void doPreview()
restartDispatch
private void restartDispatch()