net.aerith.misao.toolkit.NewStarSearch
Class NewStarSearchOperation
java.lang.Object
|
+--net.aerith.misao.util.OperationObservable
|
+--net.aerith.misao.util.Operation
|
+--net.aerith.misao.util.MultiTaskOperation
|
+--net.aerith.misao.toolkit.ReportBatch.ReportBatchOperation
|
+--net.aerith.misao.toolkit.NewStarSearch.NewStarSearchOperation
- Direct Known Subclasses:
- AgentNewStarSearchOperation
- public class NewStarSearchOperation
- extends ReportBatchOperation
The NewStarSearchOperation
represents a batch
operation to search new stars from XML report documents.
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
dialog
protected NewStarSearchSettingDialog dialog
- The dialog to set the parameters to search new stars.
db_manager
protected CatalogDBManager db_manager
- The catalog database manager.
list
protected java.util.Vector list
- The list of variability records of new stars.
NewStarSearchOperation
public NewStarSearchOperation(MultiTaskConductor conductor,
CatalogDBManager db_manager)
- Constructs a
NewStarSearchOperation
.
- Parameters:
conductor
- the conductor of multi task operation.db_manager
- the catalog database manager.
showSettingDialog
public int showSettingDialog()
- Shows the dialog to set parameters.
- Overrides:
- showSettingDialog in class MultiTaskOperation
- Returns:
- 0 if OK button is pushed, or 2 if Cancel
button is pushed.
notifyStart
protected void notifyStart()
- Notifies when the operation starts.
- Overrides:
- notifyStart in class OperationObservable
getVariabilityRecords
public Variability[] getVariabilityRecords()
- Gets the variability records of new stars.
- Returns:
- the variability records of new stars.
operate
public void operate(java.lang.Object object)
throws java.lang.Exception
- Operates on one item. This is invoked from the conductor of
multi task operation.
- Overrides:
- operate in class MultiTaskOperation
- Parameters:
object
- the target object to operate.- Throws:
- java.lang.Exception - if an error occurs.
getLimitingMag
protected double getLimitingMag()
- Gets the limiting magnitude.
- Returns:
- the limiting magnitude.
getAmplitude
protected double getAmplitude()
- Gets the amplitude.
- Returns:
- the amplitude.