net.aerith.misao.gui.dialog
Class ValidAreaSettingDialog

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

public class ValidAreaSettingDialog
extends Dialog

The ValidAreaSettingDialog represents a dialog to specify the valid area on the image.


Field Summary
protected  javax.swing.JTextField text_pixels_from_edge
          The text field to input the pixels from edge to exclude.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
ValidAreaSettingDialog()
          Constructs a ValidAreaSettingDialog.
 
Method Summary
 int getPixelsFromEdge()
          Gets the pixels from edge to exclude.
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

text_pixels_from_edge

protected javax.swing.JTextField text_pixels_from_edge
The text field to input the pixels from edge to exclude.
Constructor Detail

ValidAreaSettingDialog

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

getPixelsFromEdge

public int getPixelsFromEdge()
Gets the pixels from edge to exclude.
Returns:
the pixels from edge to exclude.