Package jflex.gui
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.8.2
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String
input file setting from GUI(package private) String
output directory(package private) final MainFrame
main UI component, likes to be notified when generator finishesprivate static boolean
there must be at most one instance of this Thread runningFields inherited from class java.lang.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 java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, 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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
Constructor Details
-
GeneratorThread
Create a new GeneratorThread, but do not run it yet.- Parameters:
parent
- the frame, main UI componentinputFile
- input file from UI settingsoutputDir
- output directory from UI settings
-
-
Method Details