Class GeneratorThread
java.lang.Object
java.lang.Thread
jflex.gui.GeneratorThread
- All Implemented Interfaces:
Runnable
Low priority thread for code generation (low priority that gui has time for screen updates)
- Version:
- JFlex 1.9.1
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescription(package private) Stringinput file setting from GUI(package private) Stringoutput directory(package private) final MainFramemain UI component, likes to be notified when generator finishesprivate static booleanthere must be at most one instance of this Thread runningFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionGeneratorThread(MainFrame parent, String inputFile, String outputDir) Create a new GeneratorThread, but do not run it yet. -
Method Summary
Methods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
Constructor Details
-
GeneratorThread
-
-
Method Details
-
run
-