net.aerith.misao.gui.dialog
Class FilterSizeDialog

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

public class FilterSizeDialog
extends Dialog

The FilterSizeDialog represents a dialog to intput the filter size.


Field Summary
protected  javax.swing.JTextField text_filter_size
          The text field to input the filter size.
protected  java.lang.String title
          The title of the dialog.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
FilterSizeDialog(java.lang.String title)
          Constructs a FilterSizeDialog.
 
Method Summary
 int getFilterSize()
          Gets the filter size.
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.
 void setFilterSize(int size)
          Sets the filter size.
 
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

text_filter_size

protected javax.swing.JTextField text_filter_size
The text field to input the filter size.

title

protected java.lang.String title
The title of the dialog.
Constructor Detail

FilterSizeDialog

public FilterSizeDialog(java.lang.String title)
Constructs a FilterSizeDialog.
Parameters:
title - the title of the dialog.
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

getFilterSize

public int getFilterSize()
Gets the filter size.
Returns:
the filter size.

setFilterSize

public void setFilterSize(int size)
Sets the filter size.
Parameters:
size - the filter size.