net.aerith.misao.toolkit.AgentDesktop
Class AgentHtmlImageGalleryOperation
java.lang.Object
|
+--net.aerith.misao.util.OperationObservable
|
+--net.aerith.misao.util.Operation
|
+--net.aerith.misao.util.MultiTaskOperation
|
+--net.aerith.misao.toolkit.HtmlImageGallery.HtmlImageGalleryOperation
|
+--net.aerith.misao.toolkit.AgentDesktop.AgentHtmlImageGalleryOperation
- public class AgentHtmlImageGalleryOperation
- extends HtmlImageGalleryOperation
The AgentHtmlImageGalleryOperation
represents an
operation to create HTML image gallery using the agent.
Fields inherited from class net.aerith.misao.toolkit.HtmlImageGallery.HtmlImageGalleryOperation |
create_fits,
creater,
current_element_list,
current_index,
current_message_list,
current_variability,
db_manager,
dialog,
directory,
dss_image,
file_manager,
gallery,
hash_failed_images,
past_image,
warning_message_flag |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
image_size
protected Size image_size
- The image size.
unify_resolution
protected boolean unify_resolution
- True when to unify the resolution.
resolution
protected double resolution
- The resolution in arcsec/pixel.
ratate_north_up_at_right_angles
protected boolean ratate_north_up_at_right_angles
- True when to rotate north up at right angles.
AgentHtmlImageGalleryOperation
public AgentHtmlImageGalleryOperation(MultiTaskConductor conductor,
FileManager file_manager,
GlobalDBManager db_manager,
boolean fits,
boolean past,
boolean dss)
- Constructs an
AgentHtmlImageGalleryOperation
.
- Parameters:
conductor
- the conductor of multi task operation.file_manager
- the file manager.db_manager
- the database manager.fits
- true when to create FITS thumbnail images.past
- true when to add a past image from database.dss
- true when to add a DSS image.
showSettingDialog
public int showSettingDialog()
- Shows the dialog to set parameters.
- Overrides:
- showSettingDialog in class HtmlImageGalleryOperation
- Returns:
- 0 if OK button is pushed, or 2 if Cancel
button is pushed.
setDirectory
public void setDirectory(java.io.File directory)
- Sets the directory to create the HTML image gallery.
- Parameters:
directory
- the directory.
setImageSize
public void setImageSize(Size size)
- Sets the image size.
- Parameters:
size
- the image size.
getImageSize
protected Size getImageSize()
- Gets the image size.
- Overrides:
- getImageSize in class HtmlImageGalleryOperation
- Returns:
- the image size.
setResolutionUnified
public void setResolutionUnified(boolean flag)
- Sets the flag to unify the resolution.
- Parameters:
flag
- true when to unify the resolution.
unifiesResolution
protected boolean unifiesResolution()
- Returns true when to unify the resolution.
- Overrides:
- unifiesResolution in class HtmlImageGalleryOperation
- Returns:
- true when to unify the resolution.
setResolution
public void setResolution(double resolution)
- Sets the resolution in arcsec/pixel.
- Parameters:
resolution
- the resolution in arcsec/pixel.
getResolution
protected double getResolution()
- Gets the resolution in arcsec/pixel.
- Overrides:
- getResolution in class HtmlImageGalleryOperation
- Returns:
- the resolution in arcsec/pixel.
setRotatedNorthUpAtRightAngles
public void setRotatedNorthUpAtRightAngles(boolean flag)
- Sets the flag to rotate north up at right angles.
- Parameters:
flag
- true when to rotate north up at right angles.
rotatesNorthUpAtRightAngles
protected boolean rotatesNorthUpAtRightAngles()
- Returns true when to rotate north up at right angles.
- Overrides:
- rotatesNorthUpAtRightAngles in class HtmlImageGalleryOperation
- Returns:
- true when to rotate north up at right angles.