|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javaprec.javaprec
Nested Class Summary | |
(package private) class |
javaprec.AddActionListener
AddActionListener - is both an abstract action & action listener so it can listen for button, check box, menu & popup events. |
(package private) class |
javaprec.BrowseActionListener
BrowseActionListener - is both an abstract action & action listener so it can listen for button, check box, menu & popup events. |
class |
javaprec.ChooserFileFilter
SourceFileFilter - is a FileFilter that filters out all files except *.java files |
(package private) class |
javaprec.EditActionListener
EditActionListener - is both an abstract action & action listener so it can listen for button, check box, menu & popup events. |
(package private) class |
javaprec.ExitActionListener
ExitActionListener - is both an abstract action & action listener so it can listen for button, check box, menu & popup events. |
(package private) static class |
javaprec.FileDirectory
|
(package private) class |
javaprec.LogBrowseActionListener
|
(package private) class |
javaprec.LogCheckActionListener
LogCheckActionListener - is both an abstract action & action listener so it can listen for button, check box, menu & popup events. |
(package private) class |
javaprec.MouseHandler
MouseHandler - is a standard mouse listener to listen for mouse events for the popup menu |
(package private) class |
javaprec.ParseCompleteFileListThread
|
(package private) class |
javaprec.PreAction
|
(package private) class |
javaprec.precompiledDirectoryActionListener
|
(package private) class |
javaprec.precompiledDirectoryBrowseActionListener
|
(package private) class |
javaprec.ProgressBarThread
|
(package private) class |
javaprec.ReAction
|
(package private) class |
javaprec.RemoveActionListener
RemoveActionListener - is both an abstract action & action listener so it can listen for button, check box, menu & popup events. |
(package private) class |
javaprec.RunActionListener
RunActionListener - is both an abstract action & action listener so it can listen for button, check box, menu & popup events. |
(package private) class |
javaprec.StopActionListener
StopActionListener - is both an abstract action & action listener so it can listen for button, check box, menu & popup events. |
(package private) class |
javaprec.WriteFilesThread
|
Field Summary | |
protected javax.swing.AbstractAction |
addAction
|
protected javax.swing.JButton |
browseButton
|
protected javax.swing.JPanel |
buttonsPanel
|
(package private) byte[] |
byteArray
|
protected java.awt.Point |
center
|
protected long |
charactersParsed
|
protected javax.swing.JCheckBox |
checkBox
|
protected javax.swing.JPanel |
commandLinePanel
|
protected javax.swing.JTextField |
commandLineTextField
|
protected javax.swing.JPanel |
contentPanel
|
protected java.lang.String |
dDirectory
|
protected java.lang.String |
DEFAULT_DIRECTORY
|
protected java.lang.String |
DEFAULT_DRIVE
|
protected java.lang.String |
destination
|
protected javax.swing.JList |
destinationDirectoryList
|
protected javax.swing.JScrollPane |
destinationDirectoryListScrollPanel
|
protected javax.swing.JPanel |
destinationDirectoryPanel
|
protected java.util.Vector |
directories
|
protected java.util.List |
directoryArrayList
|
protected int |
directoryListLength
|
protected javax.swing.AbstractAction |
editAction
|
protected boolean |
end
|
protected javax.swing.AbstractAction |
exitAction
|
protected javaprec.FileDirectory |
fileDirectory
|
protected javax.swing.JLabel |
fileLabel
|
protected java.lang.String |
fileName
|
protected int |
fileNumber
|
protected boolean |
gui
|
protected boolean |
hasBeenCompiled
|
protected boolean |
help
|
protected java.io.RandomAccessFile |
inputSource
|
protected java.lang.String |
inputSourceString
|
protected java.util.List |
javacOptions
|
protected static javaprec |
javaprec
|
protected javaprec |
javaprecObj
|
protected static boolean |
keep_files
|
protected java.lang.String |
log
|
protected javax.swing.JButton |
logBrowseButton
|
protected java.lang.StringBuffer |
logBuffer
|
protected javax.swing.JCheckBox |
logCheckBox
|
protected boolean |
logend
|
protected javax.swing.JPanel |
logPanel
|
protected javax.swing.JTextField |
logTextField
|
protected javax.swing.JFrame |
mainFrame
|
protected javax.swing.JMenuBar |
menuBar
|
protected javaprec.MouseHandler |
mouseHandler
|
protected static java.lang.String |
NAME
|
protected boolean |
normalCompile
|
(package private) java.lang.Object |
obj
|
javax.swing.JButton |
okButton
|
protected java.lang.String[] |
options
|
protected javax.swing.JPanel |
outerProgressPanel
|
protected javax.swing.JPanel |
outersourceDirectoryPanel
|
protected java.io.FileWriter |
outputSource
|
protected java.io.FileWriter |
outputXML
|
protected javaprec.ParseCompleteFileListThread |
parseCompleteFileListThread
|
protected int |
percentProgress
|
protected javax.swing.JPopupMenu |
popupMenu
|
protected javax.swing.JCheckBox |
preCheckBox
|
protected boolean |
precompile
|
protected java.lang.String |
precompiledDirectory
|
protected javax.swing.JButton |
precompiledDirectoryBrowseButton
|
protected javax.swing.JCheckBox |
precompiledDirectoryCheckBox
|
protected javax.swing.JPanel |
precompiledDirectoryPanel
|
protected javax.swing.JTextField |
precompiledDirectoryTextField
|
protected java.lang.String |
preDirectory
|
protected javax.swing.JProgressBar |
progress
|
protected javaprec.ProgressBarThread |
progressBarThread
|
protected javax.swing.JLabel |
progressLabel
|
protected javax.swing.JPanel |
progressPanel
|
protected boolean |
quiet
|
protected javax.swing.JCheckBox |
reCheckBox
|
protected java.util.List |
recursiveDirectoryCompilationOptionsList
|
protected java.util.List |
recursiveDirectoryFilesList
|
protected java.lang.String[] |
recursiveDirectoryjavacOptionsArray
|
protected boolean |
recursivePrecompileCompile
|
protected java.lang.String |
reDirectory
|
protected javax.swing.AbstractAction |
removeAction
|
(package private) java.io.File |
rootDirectory
|
protected javax.swing.AbstractAction |
runAction
|
protected javax.swing.JList |
sourceDirectoryList
|
protected javax.swing.JScrollPane |
sourceDirectoryListScrollPanel
|
protected javax.swing.JPanel |
sourceDirectoryPanel
|
protected java.lang.String |
sourcefileName
|
protected int |
sourceLength
|
protected long |
startTimeMilliseconds
|
protected javax.swing.AbstractAction |
stopAction
|
protected static boolean |
take_log
|
protected java.io.File |
targetSourceFile
|
protected java.lang.String |
targetSourceFileName
|
protected java.lang.String |
targetXMLFileName
|
protected java.lang.String |
tmpDirectory
|
(package private) int |
toCompileNonRecursively
|
protected javax.swing.JToolBar |
toolBar
|
protected int |
windowHeight
|
protected int |
windowTopLeftCornerX
|
protected int |
windowTopLeftCornerY
|
protected int |
windowWidth
|
protected javaprec.WriteFilesThread |
writeFilesThread
|
protected java.lang.String |
xmlExtension
|
Constructor Summary | |
(package private) |
javaprec()
|
Method Summary | |
private javax.swing.JPopupMenu |
addActions(javax.swing.Action[] actions,
javax.swing.JPopupMenu popupMenu)
|
protected java.util.List |
findSourceFiles(java.util.List directories,
boolean addDirectories)
|
boolean |
getConformation(java.lang.String message,
java.lang.String title)
Displays a message for conformation on a small popup frame which contains RUN & CANCEL buttons and a question icon |
static void |
main(java.lang.String[] args)
|
private void |
recognizeCommandLine(java.lang.String[] args)
|
private java.util.List |
recursiveFindFiles(java.lang.String fileName,
java.lang.String directory,
boolean addDirectories)
|
private int |
runJavaC(java.lang.String[] options)
|
protected void |
setDefaultDirectory()
|
private void |
setUpActions()
Setup actions for the menu bar and tool bar |
private void |
setUpCommandLinePanel()
|
private void |
setUpLogPanel()
|
private void |
setUpMainFrame()
Setup main editor frame |
private void |
setUpPopupMenu()
Setup popup menus |
private void |
setUpprecompiledDirectoryPanel()
|
private void |
setUpProgressPanel()
|
private void |
setUpSourceDirectoryPanel()
|
void |
warnUser(java.lang.String message)
Displays a warning message on a small popup frame which contains an RUN button and an error icon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String reDirectory
protected java.lang.String preDirectory
protected java.lang.String dDirectory
protected java.lang.String destination
protected java.lang.String tmpDirectory
protected java.lang.String DEFAULT_DIRECTORY
protected java.lang.String DEFAULT_DRIVE
protected boolean hasBeenCompiled
int toCompileNonRecursively
protected javaprec javaprecObj
protected java.lang.StringBuffer logBuffer
protected final java.lang.String xmlExtension
protected java.lang.String log
protected java.lang.String precompiledDirectory
protected boolean quiet
protected boolean help
protected boolean gui
protected boolean precompile
protected boolean recursivePrecompileCompile
protected boolean normalCompile
protected static javaprec javaprec
protected java.util.Vector directories
protected int percentProgress
protected int fileNumber
protected java.lang.String fileName
protected java.util.List directoryArrayList
protected javaprec.ProgressBarThread progressBarThread
protected javaprec.WriteFilesThread writeFilesThread
protected javaprec.ParseCompleteFileListThread parseCompleteFileListThread
protected static boolean take_log
protected static boolean keep_files
protected static final java.lang.String NAME
protected java.awt.Point center
protected int windowWidth
protected int windowHeight
protected int windowTopLeftCornerX
protected int windowTopLeftCornerY
protected javax.swing.JPanel outersourceDirectoryPanel
protected javax.swing.JPanel buttonsPanel
protected javax.swing.JPanel contentPanel
protected javax.swing.JPanel commandLinePanel
protected javax.swing.JPanel precompiledDirectoryPanel
protected javax.swing.JPanel logPanel
protected javax.swing.JPanel sourceDirectoryPanel
protected javax.swing.JPanel destinationDirectoryPanel
protected javax.swing.JPanel progressPanel
protected javax.swing.JPanel outerProgressPanel
protected javax.swing.JFrame mainFrame
protected javax.swing.JMenuBar menuBar
protected javax.swing.JToolBar toolBar
protected javax.swing.JPopupMenu popupMenu
protected javaprec.MouseHandler mouseHandler
protected javax.swing.AbstractAction addAction
protected javax.swing.AbstractAction editAction
protected javax.swing.AbstractAction removeAction
protected javax.swing.AbstractAction runAction
protected javax.swing.AbstractAction stopAction
protected javax.swing.AbstractAction exitAction
protected javax.swing.JProgressBar progress
protected javax.swing.JLabel progressLabel
protected javax.swing.JLabel fileLabel
protected javax.swing.JTextField commandLineTextField
protected javax.swing.JTextField precompiledDirectoryTextField
protected javax.swing.JTextField logTextField
protected javax.swing.JButton browseButton
protected javax.swing.JButton precompiledDirectoryBrowseButton
protected javax.swing.JButton logBrowseButton
protected javax.swing.JCheckBox checkBox
protected javax.swing.JCheckBox reCheckBox
protected javax.swing.JCheckBox preCheckBox
protected javax.swing.JCheckBox precompiledDirectoryCheckBox
protected javax.swing.JCheckBox logCheckBox
protected javax.swing.JList sourceDirectoryList
protected javax.swing.JScrollPane sourceDirectoryListScrollPanel
protected javax.swing.JList destinationDirectoryList
protected javax.swing.JScrollPane destinationDirectoryListScrollPanel
protected java.lang.String[] options
protected java.lang.String[] recursiveDirectoryjavacOptionsArray
protected java.util.List javacOptions
protected java.util.List recursiveDirectoryCompilationOptionsList
protected java.util.List recursiveDirectoryFilesList
protected java.io.RandomAccessFile inputSource
protected java.io.FileWriter outputSource
protected java.io.FileWriter outputXML
protected javaprec.FileDirectory fileDirectory
protected java.lang.String inputSourceString
protected java.lang.String sourcefileName
protected java.lang.String targetXMLFileName
protected java.lang.String targetSourceFileName
protected int directoryListLength
protected int sourceLength
protected java.io.File targetSourceFile
protected long startTimeMilliseconds
protected long charactersParsed
protected boolean end
protected boolean logend
byte[] byteArray
java.lang.Object obj
java.io.File rootDirectory
public javax.swing.JButton okButton
Constructor Detail |
javaprec()
Method Detail |
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
protected void setDefaultDirectory()
private void recognizeCommandLine(java.lang.String[] args) throws java.io.IOException
java.io.IOException
private int runJavaC(java.lang.String[] options) throws java.lang.Exception
java.lang.Exception
private java.util.List recursiveFindFiles(java.lang.String fileName, java.lang.String directory, boolean addDirectories)
protected java.util.List findSourceFiles(java.util.List directories, boolean addDirectories)
private void setUpMainFrame()
private void setUpActions()
private void setUpPopupMenu()
private javax.swing.JPopupMenu addActions(javax.swing.Action[] actions, javax.swing.JPopupMenu popupMenu)
private void setUpCommandLinePanel()
private void setUpLogPanel()
private void setUpprecompiledDirectoryPanel()
private void setUpSourceDirectoryPanel()
private void setUpProgressPanel()
public void warnUser(java.lang.String message)
message
- a String which contains the message that is displayedpublic boolean getConformation(java.lang.String message, java.lang.String title)
message
- a String which contains the message that is displayed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |