net.aerith.misao.gui.dialog
Class FileCopyDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.gui.dialog.FileCopyDialog

public class FileCopyDialog
extends Dialog

The FileCopyDialog represents a dialog to set the directory to copy files from.


Inner Class Summary
protected  class FileCopyDialog.BrowseListener
          The BrowseListener is a listener class of button push to open a file chooser dialog to search directory.
 
Field Summary
protected  javax.swing.JButton button_browse_from
          The button to browser the directory to copy from.
protected  javax.swing.JButton button_browse_to
          The button to browser the directory to copy to.
protected  javax.swing.JPanel panel_from
          The panel to select a directory to copy from.
protected  javax.swing.JPanel panel_to
          The panel to select a directory to copy to.
protected  javax.swing.JTextField text_path_from
          The text field to input directory path to copy from.
protected  javax.swing.JTextField text_path_to
          The text field to input directory path to copy to.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
FileCopyDialog()
          Constructs a FileCopyDialog.
 
Method Summary
 java.io.File getDirectoryFrom()
          Gets the directory path to copy from.
 java.io.File getDirectoryTo()
          Gets the directory path to copy to.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
protected  void setDefaultValues()
          Sets the default values.
 
Methods inherited from class net.aerith.misao.gui.dialog.Dialog
show
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

panel_from

protected javax.swing.JPanel panel_from
The panel to select a directory to copy from.

panel_to

protected javax.swing.JPanel panel_to
The panel to select a directory to copy to.

text_path_from

protected javax.swing.JTextField text_path_from
The text field to input directory path to copy from.

text_path_to

protected javax.swing.JTextField text_path_to
The text field to input directory path to copy to.

button_browse_from

protected javax.swing.JButton button_browse_from
The button to browser the directory to copy from.

button_browse_to

protected javax.swing.JButton button_browse_to
The button to browser the directory to copy to.
Constructor Detail

FileCopyDialog

public FileCopyDialog()
Constructs a FileCopyDialog.
Method Detail

getTitle

protected java.lang.String getTitle()
Gets the title of the dialog.
Overrides:
getTitle in class Dialog
Returns:
the title of the dialog.

setDefaultValues

protected void setDefaultValues()
Sets the default values.

saveDefaultValues

protected void saveDefaultValues()
Saves the default values.
Overrides:
saveDefaultValues in class Dialog

getDirectoryFrom

public java.io.File getDirectoryFrom()
Gets the directory path to copy from.
Returns:
the directory path to copy from.

getDirectoryTo

public java.io.File getDirectoryTo()
Gets the directory path to copy to.
Returns:
the directory path to copy to.