stella.command
Class SelectClearFilterCalibration

java.lang.Object
  extended by java.util.EventObject
      extended by util.rmi.RmiEvent
          extended by stella.MessageEvent
              extended by stella.CommandEvent
                  extended by stella.command.SelectFilterCalibration
                      extended by stella.command.SelectClearFilterCalibration
All Implemented Interfaces:
Serializable, CalibrationCommand, InitializerDepending, TargetDependingCommand

public class SelectClearFilterCalibration
extends SelectFilterCalibration

The command to select the clear filter wheel position. This is a convenience command to allow validity without any target registering.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class stella.CommandEvent
CommandEvent.Create
 
Field Summary
private static String CLEARFILTER
          The name of the filter to set.
 
Fields inherited from class stella.CommandEvent
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATOR
 
Fields inherited from class stella.MessageEvent
SEPCHAR
 
Fields inherited from class util.rmi.RmiEvent
localHost, sourceName
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SelectClearFilterCalibration(Object src)
          Constructs a select filter adapter, grabbing the type from the class name and setting the command time to the current system time.
SelectClearFilterCalibration(Object src, String type, long time)
          Constructs a select filter command.
 
Method Summary
 void registerTargetProperties(Object color)
          Calculates the command line from the mapping delivered in the DTDConstants.SETUP DOM-element.
 
Methods inherited from class stella.command.SelectFilterCalibration
getFilter, getLine, initWith, parseLine, setFilter
 
Methods inherited from class stella.CommandEvent
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, getExpectedAcknowledgeNumber, parseForStrings, templateToClassName
 
Methods inherited from class stella.MessageEvent
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toString
 
Methods inherited from class util.rmi.RmiEvent
getHost, getSourceName, setSourceName
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLEARFILTER

private static final String CLEARFILTER
The name of the filter to set.

See Also:
Constant Field Values
Constructor Detail

SelectClearFilterCalibration

public SelectClearFilterCalibration(Object src)
Constructs a select filter adapter, grabbing the type from the class name and setting the command time to the current system time.


SelectClearFilterCalibration

public SelectClearFilterCalibration(Object src,
                                    String type,
                                    long time)
Constructs a select filter command. Only the header is fully qualified with the provided argumnets. The command line can only be retrieved after a DTDConstants.SETUP element has been registered to this command.

See Also:
MessageEvent.isValid()
Method Detail

registerTargetProperties

public void registerTargetProperties(Object color)
Calculates the command line from the mapping delivered in the DTDConstants.SETUP DOM-element. It uses the filter name stored in the setup section handed over.

Specified by:
registerTargetProperties in interface TargetDependingCommand
Overrides:
registerTargetProperties in class SelectFilterCalibration