net.aerith.misao.gui.dialog
Class HtmlImageGallerySettingDialog

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

public class HtmlImageGallerySettingDialog
extends Dialog

The HtmlImageGallerySettingDialog represents a dialog to configure how to put the images on the gallery.


Field Summary
protected  javax.swing.JCheckBox checkbox_dss
          The check box to add a DSS image.
protected  javax.swing.JCheckBox checkbox_fits
          The check box to create FITS thumbnail images.
protected  javax.swing.JCheckBox checkbox_past
          The check box to add a past image from the database.
static int MODE_ALL
          The number which implies to put all images.
static int MODE_BRIGHTEST
          The number which implies to put the brightest image.
static int MODE_BRIGHTEST_FAINTEST
          The number which implies to put the brightest and faintest images.
protected  javax.swing.JRadioButton radio_all
          The radio button to put all images.
protected  javax.swing.JRadioButton radio_brightest
          The radio button to put the brightest image.
protected  javax.swing.JRadioButton radio_brightest_faintest
          The radio button to put the brightest and faintest images.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
HtmlImageGallerySettingDialog()
          Constructs an HtmlImageGallerySettingDialog.
 
Method Summary
 boolean addsDssImage()
          Returns true when to add a DSS image.
 boolean addsPastImage()
          Returns true when to add a past image from database.
 boolean createsFitsImages()
          Returns true when to create FITS thumbnail images.
 int getMode()
          Gets the mode.
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

radio_all

protected javax.swing.JRadioButton radio_all
The radio button to put all images.

radio_brightest

protected javax.swing.JRadioButton radio_brightest
The radio button to put the brightest image.

radio_brightest_faintest

protected javax.swing.JRadioButton radio_brightest_faintest
The radio button to put the brightest and faintest images.

checkbox_fits

protected javax.swing.JCheckBox checkbox_fits
The check box to create FITS thumbnail images.

checkbox_past

protected javax.swing.JCheckBox checkbox_past
The check box to add a past image from the database.

checkbox_dss

protected javax.swing.JCheckBox checkbox_dss
The check box to add a DSS image.

MODE_ALL

public static final int MODE_ALL
The number which implies to put all images.

MODE_BRIGHTEST

public static final int MODE_BRIGHTEST
The number which implies to put the brightest image.

MODE_BRIGHTEST_FAINTEST

public static final int MODE_BRIGHTEST_FAINTEST
The number which implies to put the brightest and faintest images.
Constructor Detail

HtmlImageGallerySettingDialog

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

getMode

public int getMode()
Gets the mode.
Returns:
the mode.

createsFitsImages

public boolean createsFitsImages()
Returns true when to create FITS thumbnail images.
Returns:
true when to create FITS thumbnail images.

addsPastImage

public boolean addsPastImage()
Returns true when to add a past image from database.
Returns:
true when to add a past image from database.

addsDssImage

public boolean addsDssImage()
Returns true when to add a DSS image.
Returns:
true when to add a DSS image.