Package org.omegat.gui.common
Class EntryInfoSearchThread<T>
java.lang.Object
java.lang.Thread
org.omegat.gui.common.EntryInfoSearchThread<T>
- Type Parameters:
T- result type of found data
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
DictionariesTextArea.DictionaryEntriesSearchThread,FindGlossaryThread,FindMatchesThread,MultipleTransFindThread
Base class for search info about current entry in the separate thread.
Implementation must check isEntryChanged method and exit if antry changed,
against create multimple threads when user travels by entries fast.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAny search can generate this exception for stop searching if entry changed.Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionEntryInfoSearchThread(EntryInfoThreadPane<T> pane, SourceTextEntry entry) Constructor. -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield