|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.pixy.Resource
The Resource
consists of string messages and HTML
messages for the PIXY system.
Field Summary | |
private static javax.swing.ImageIcon |
batch_pixy_icon
The icon to run the batch examination. |
private static XmlConfiguration |
configuration
The configuration of the system. |
private static javax.swing.ImageIcon |
multiple_pixy_icon
The icon to run the multiple image examination. |
private static javax.swing.ImageIcon |
pixy2_icon
The image icon of the PIXY System 2. |
private static javax.swing.ImageIcon |
review_icon
The icon to run the review. |
private static javax.swing.ImageIcon |
single_pixy_icon
The icon to run the image examination. |
private static javax.swing.ImageIcon |
status_error_icon
The image icon of the error status. |
private static javax.swing.ImageIcon |
status_midway_icon
The image icon of the midway status. |
private static javax.swing.ImageIcon |
status_success_icon
The image icon of the success status. |
private static javax.swing.ImageIcon |
tutorial_pixy_icon
The icon to run the image examination in the tutorial mode. |
Constructor Summary | |
Resource()
|
Method Summary | |
(package private) static void |
Initializes the system configuration. |
static javax.swing.ImageIcon |
getBatchPixyIcon()
Gets the icon to run the batch examination. |
static java.lang.String |
getDefaultCatalogPath(java.lang.String catalog_name)
Gets the default catalog path. |
static java.lang.String |
getDefaultFitsOrder()
Gets the default FITS data order. |
static java.lang.String |
getHelpHtmlMessageAfterImageOpened()
Returns the help message of the PIXY system when the step is after the image is opened. |
static java.lang.String |
getHelpHtmlMessageAfterMatching(boolean failed_flag)
Returns the help message of the PIXY system when the step is after matching between detected stars and catalog data. |
static java.lang.String |
getHelpHtmlMessageAfterPairing()
Returns the help message of the PIXY system when the step is after making pairs between detected stars and catalog data. |
static java.lang.String |
getHelpHtmlMessageAfterStarsDetected()
Returns the help message of the PIXY system when the step is after stars are detected from the image. |
static java.lang.String |
getHelpHtmlMessageAtBeginning()
Returns the help message of the PIXY system when the step is at the beginning. |
static javax.swing.ImageIcon |
getMultiplePixyIcon()
Gets the icon to run the multiple image examination. |
static java.lang.String |
getReviewHelpHtmlMessageAtBeginning()
Returns the help message of the PIXY system to review at the beginning. |
static java.lang.String |
getReviewHelpHtmlMessageWhenImageNotFound(java.lang.String path)
Returns the help message of the PIXY system to review when the image is not found. |
static javax.swing.ImageIcon |
getReviewIcon()
Gets the icon to run the review. |
static java.lang.String |
getSampleImageChipCode()
Gets the CCD chip of the sample. |
static Coor |
getSampleImageCoor()
Gets the R.A. |
static JulianDay |
getSampleImageDate()
Gets the date and time of the sample image. |
static double |
getSampleImageExposureInSecond()
Gets the exposure time of the sample image in second. |
static java.lang.String |
getSampleImageFilename()
Gets the filename of the sample image. |
static double |
getSampleImageHorizontalFieldOfView()
Gets the horizontal field of view of the sample image in degree. |
static java.lang.String |
getSampleImageMagSystemCode()
Gets the magnitude system code of the sample. |
static double |
getSampleImageVerticalFieldOfView()
Gets the vertical field of view of the sample image in degree. |
static java.lang.String |
getSampleStarCatalogFilename()
Gets the filename of the sample star catalog. |
static java.lang.String |
getSecondHelpHtmlMessageAfterPairing()
Returns the help message of the PIXY system when the step is after making pairs between detected stars and catalog data. |
static javax.swing.ImageIcon |
getSinglePixyIcon()
Gets the icon to run the image examination. |
static java.lang.String |
getSpecialThanksHtmlMessage()
Returns the HTML string of special thanks messages. |
static javax.swing.ImageIcon |
getStatusErrorIcon()
Gets the icon of the error status. |
static javax.swing.ImageIcon |
getStatusMidwayIcon()
Gets the icon of the midway status. |
static javax.swing.ImageIcon |
getStatusSuccessIcon()
Gets the icon of the success status. |
static javax.swing.ImageIcon |
getSystemIcon()
Gets the image icon of the PIXY System 2. |
static int |
getThreadPriority()
Gets the priority of a thread. |
static java.lang.String |
getTutorialHtmlMessageAfterPairing()
Returns the tutorial message of the PIXY system when the step is after making pairs between detected stars and catalog data. |
static java.lang.String |
getTutorialHtmlMessageAfterStarsDetected()
Returns the tutorial message of the PIXY system when the step is after stars are detected from the image. |
static java.lang.String |
getTutorialHtmlMessageAtBeginning()
Returns the tutorial message of the PIXY system when the step is at the beginning. |
static javax.swing.ImageIcon |
getTutorialPixyIcon()
Gets the icon to run the image examination in the tutorial mode. |
static java.lang.String |
getVersion()
Returns the version. |
static java.lang.String[] |
getVersionAndCopyright()
Returns the version and copyright message. |
static void |
initialize()
Initializes the system configuration. |
private static void |
readConfiguration()
Reads the configuration of the system. |
private static void |
saveConfiguration()
Saves the configuration of the system. |
static void |
setDefaultCatalogPath(java.lang.String catalog_name,
java.lang.String path)
Sets the default catalog path. |
static void |
setDefaultFitsOrder(java.lang.String order)
Sets the default FITS data order. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Field Detail |
private static XmlConfiguration configuration
private static final javax.swing.ImageIcon pixy2_icon
private static final javax.swing.ImageIcon single_pixy_icon
private static final javax.swing.ImageIcon tutorial_pixy_icon
private static final javax.swing.ImageIcon review_icon
private static final javax.swing.ImageIcon multiple_pixy_icon
private static final javax.swing.ImageIcon batch_pixy_icon
private static final javax.swing.ImageIcon status_success_icon
private static final javax.swing.ImageIcon status_midway_icon
private static final javax.swing.ImageIcon status_error_icon
Constructor Detail |
public Resource()
Method Detail |
public static void initialize()
public static javax.swing.ImageIcon getSystemIcon()
public static javax.swing.ImageIcon getSinglePixyIcon()
public static javax.swing.ImageIcon getTutorialPixyIcon()
public static javax.swing.ImageIcon getReviewIcon()
public static javax.swing.ImageIcon getMultiplePixyIcon()
public static javax.swing.ImageIcon getBatchPixyIcon()
public static java.lang.String getVersion()
public static javax.swing.ImageIcon getStatusSuccessIcon()
public static javax.swing.ImageIcon getStatusMidwayIcon()
public static javax.swing.ImageIcon getStatusErrorIcon()
public static int getThreadPriority()
private static void readConfiguration()
private static void saveConfiguration()
public static void setDefaultCatalogPath(java.lang.String catalog_name, java.lang.String path)
catalog_name
- the catalog name.path
- the default path.public static java.lang.String getDefaultCatalogPath(java.lang.String catalog_name)
catalog_name
- the catalog name.public static void setDefaultFitsOrder(java.lang.String order)
order
- the default FITS data order.public static java.lang.String getDefaultFitsOrder()
public static java.lang.String[] getVersionAndCopyright()
public static java.lang.String getSpecialThanksHtmlMessage()
public static final java.lang.String getSampleImageFilename()
public static final Coor getSampleImageCoor()
public static final JulianDay getSampleImageDate()
public static final double getSampleImageExposureInSecond()
public static final double getSampleImageHorizontalFieldOfView()
public static final double getSampleImageVerticalFieldOfView()
public static final java.lang.String getSampleStarCatalogFilename()
public static final java.lang.String getSampleImageMagSystemCode()
public static final java.lang.String getSampleImageChipCode()
public static java.lang.String getHelpHtmlMessageAtBeginning()
public static java.lang.String getTutorialHtmlMessageAtBeginning()
public static java.lang.String getHelpHtmlMessageAfterImageOpened()
public static java.lang.String getHelpHtmlMessageAfterStarsDetected()
public static java.lang.String getTutorialHtmlMessageAfterStarsDetected()
public static java.lang.String getHelpHtmlMessageAfterMatching(boolean failed_flag)
failed_flag
- true if matching was failed.public static java.lang.String getHelpHtmlMessageAfterPairing()
public static java.lang.String getSecondHelpHtmlMessageAfterPairing()
public static java.lang.String getTutorialHtmlMessageAfterPairing()
public static java.lang.String getReviewHelpHtmlMessageAtBeginning()
public static java.lang.String getReviewHelpHtmlMessageWhenImageNotFound(java.lang.String path)
path
- the path of the image.static void()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |