net.aerith.misao.toolkit.ImageConversion
Class OutputDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.toolkit.ImageConversion.OutputDialog

public class OutputDialog
extends Dialog

The OutputDialog represents a dialog to select the directory to create converted images into.


Inner Class Summary
protected  class OutputDialog.BrowseListener
          The BrowseListener is a listener class of button push to open a file chooser dialog to select a directory.
 
Field Summary
protected  javax.swing.JButton button_browse
          The button to browser.
protected  javax.swing.JCheckBox checkbox_create_index
          The check box to create index.html.
protected  java.awt.Container parent_pane
          The parent pane.
protected  javax.swing.JTextField text_path
          The text field to input catalog path.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
OutputDialog()
          Constructs a OutputDialog.
 
Method Summary
 boolean createsIndex()
          Returns true when to create index.html.
 java.lang.String getPath()
          Gets the directory path.
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.
 int show(java.awt.Container pane)
          Shows this dialog.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

text_path

protected javax.swing.JTextField text_path
The text field to input catalog path.

button_browse

protected javax.swing.JButton button_browse
The button to browser.

checkbox_create_index

protected javax.swing.JCheckBox checkbox_create_index
The check box to create index.html.

parent_pane

protected java.awt.Container parent_pane
The parent pane.
Constructor Detail

OutputDialog

public OutputDialog()
Constructs a OutputDialog.
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

show

public int show(java.awt.Container pane)
Shows this dialog.
Overrides:
show in class Dialog
Parameters:
pane - the parent pane of this dialog.
Returns:
0 if OK button is pushed, or 2 if Cancel button is pushed.

createsIndex

public boolean createsIndex()
Returns true when to create index.html.
Returns:
true when to create index.html.

getPath

public java.lang.String getPath()
Gets the directory path.
Returns:
the directory path.