mosaiccreator
Class MainWindow

public class MainWindow
extends JFrame

Title: Main Window

Description: This is the main interface to the Mosaic Creator

Version:
1.0
Author:
Lance Finfrock
Constructor Detail

MainWindow

public MainWindow()
Construct the frame

Method Detail

jbInit

private void jbInit()
Component initialization
Throws:
Exception -

jMenuFileExit_actionPerformed

public void jMenuFileExit_actionPerformed(ActionEvent e)
File | Exit action performed used to close the program
Parameters:
e - ActionEvent

jMenuHelpAbout_actionPerformed

public void jMenuHelpAbout_actionPerformed(ActionEvent e)
Help | About action performed
Parameters:
e - ActionEvent

processWindowEvent

protected void processWindowEvent(WindowEvent e)
Overridden so we can exit when window is closed
Parameters:
e - WindowEvent

BrowsePiecesButton_actionPerformed

public void BrowsePiecesButton_actionPerformed(ActionEvent e)
When the browse button to choose a folder to the mosaic pieces
Parameters:
e - ActionEvent

FileFinderReturn

public void FileFinderReturn(File[] PathToPieces)
This is the return method for the FileFinder class
Parameters:
PathToPieces - File[] all the images found from the FileFinder

BrowsePictureButton_actionPerformed

public void BrowsePictureButton_actionPerformed(ActionEvent e)
The click of the Browse for the mosaic picture button this bring up the directory browers
Parameters:
e - ActionEvent

jMenuFileOpen_actionPerformed

public void jMenuFileOpen_actionPerformed(ActionEvent e)
grabs the open file click and starts the mosaicOpener class that allows the user to open a save .mosaic file
Parameters:
e - ActionEvent

comboBoxDivisions_actionPerformed

public void comboBoxDivisions_actionPerformed(ActionEvent e)
catches any change to the width of divisions of the mosaic
Parameters:
e - ActionEvent

ViewButton_actionPerformed

public void ViewButton_actionPerformed(ActionEvent e)
catches the view button clicked and opens the interactive viewer
Parameters:
e - ActionEvent

jMenuHelpManual_actionPerformed

public void jMenuHelpManual_actionPerformed(ActionEvent e)
starts the user manual viewer
Parameters:
e - ActionEvent

StoreMosaic

public void StoreMosaic()
A return from the two algorithms that created mosaics ( open mosaic and create mosiac )

StopButton_actionPerformed

public void StopButton_actionPerformed(ActionEvent e)
catches the stop button clicked and stop the process of opening or creating a mosaic
Parameters:
e - ActionEvent