net.aerith.misao.gui.dialog
Class ImageGallerySettingDialog

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

public class ImageGallerySettingDialog
extends Dialog

The ImageGallerySettingDialog represents a dialog to set the image size, scale, and rotation.


Field Summary
protected  javax.swing.JRadioButton radio_rotation_keep_original
          The radio button to keep the original rotation.
protected  javax.swing.JRadioButton radio_rotation_north_up_at_right_angles
          The radio button to rotate north up at right angles.
protected  javax.swing.JRadioButton radio_scale_keep_original
          The radio button to keep the original scale.
protected  javax.swing.JRadioButton radio_scale_unify_resolution
          The radio button to unify the resulution.
protected  javax.swing.JTextField text_height
          The text field to input the image height.
protected  javax.swing.JTextField text_resolution
          The text field to input the resolution.
protected  javax.swing.JTextField text_width
          The text field to input the image width.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
ImageGallerySettingDialog()
          Constructs an ImageGallerySettingDialog.
 
Method Summary
 double getResolution()
          Gets the resolution in arcsec/pixel.
 Size getSize()
          Gets the size.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
 boolean rotatesNorthUpAtRightAngles()
          Returns true when to rotate north up at right angles.
protected  void saveDefaultValues()
          Saves the default values.
protected  void setDefaultValues()
          Sets the default values.
 boolean unifiesResolution()
          Returns true when to unify the resolution.
 
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_width

protected javax.swing.JTextField text_width
The text field to input the image width.

text_height

protected javax.swing.JTextField text_height
The text field to input the image height.

radio_scale_keep_original

protected javax.swing.JRadioButton radio_scale_keep_original
The radio button to keep the original scale.

radio_scale_unify_resolution

protected javax.swing.JRadioButton radio_scale_unify_resolution
The radio button to unify the resulution.

text_resolution

protected javax.swing.JTextField text_resolution
The text field to input the resolution.

radio_rotation_keep_original

protected javax.swing.JRadioButton radio_rotation_keep_original
The radio button to keep the original rotation.

radio_rotation_north_up_at_right_angles

protected javax.swing.JRadioButton radio_rotation_north_up_at_right_angles
The radio button to rotate north up at right angles.
Constructor Detail

ImageGallerySettingDialog

public ImageGallerySettingDialog()
Constructs an ImageGallerySettingDialog.
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

getSize

public Size getSize()
Gets the size.
Returns:
the size.

unifiesResolution

public boolean unifiesResolution()
Returns true when to unify the resolution.
Returns:
true when to unify the resolution.

getResolution

public double getResolution()
Gets the resolution in arcsec/pixel.
Returns:
the resolution in arcsec/pixel.

rotatesNorthUpAtRightAngles

public boolean rotatesNorthUpAtRightAngles()
Returns true when to rotate north up at right angles.
Returns:
true when to rotate north up at right angles.