Class AnalyserEntranceSlit
java.lang.Object
gda.factory.ConfigurableBase
org.opengda.detector.electronanalyser.entrance.slit.AnalyserEntranceSlit
- All Implemented Interfaces:
Configurable,Findable,gda.observable.IObserver,EntranceSlitInformationProvider
@ServiceInterface(EntranceSlitInformationProvider.class)
public class AnalyserEntranceSlit
extends ConfigurableBase
implements EntranceSlitInformationProvider, gda.observable.IObserver
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSmall immutable class to encapsulate the information about a entrance slit -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.voiddispose()getName()Get the object name.getShape()doublegetSizeByRawValue(int rawValue) voidRe-initialisation of values and states.voidsetCurrentSlitByValue(int number) voidsetDefaultSlitString(String defaultSlitString) voidSet or change the name of the object (as defined in XML).voidsetSlitScannable(EnumPositioner slitScannable) voidMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, setConfigured
-
Constructor Details
-
AnalyserEntranceSlit
public AnalyserEntranceSlit()
-
-
Method Details
-
configure
Description copied from class:ConfigurableBaseDefault implementation for classes that do not have to do any specific configuration.
Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.- Specified by:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
reconfigure
Description copied from interface:ConfigurableRe-initialisation of values and states.Moved from Reconfigurable which has been deleted
- Specified by:
reconfigurein interfaceConfigurable- Overrides:
reconfigurein classConfigurableBase- Throws:
FactoryException
-
update
- Specified by:
updatein interfacegda.observable.IObserver
-
setCurrentSlitByValue
public void setCurrentSlitByValue(int number) - Specified by:
setCurrentSlitByValuein interfaceEntranceSlitInformationProvider
-
getRawValue
- Specified by:
getRawValuein interfaceEntranceSlitInformationProvider
-
getSizeInMM
- Specified by:
getSizeInMMin interfaceEntranceSlitInformationProvider
-
getShape
- Specified by:
getShapein interfaceEntranceSlitInformationProvider
-
getDirection
- Specified by:
getDirectionin interfaceEntranceSlitInformationProvider
-
getCurrentSlit
-
getDefaultSlitString
-
setDefaultSlitString
-
getSlitScannable
-
setSlitScannable
-
getDefaultSlit
-
dispose
public void dispose() -
getSizeByRawValue
public double getSizeByRawValue(int rawValue) - Specified by:
getSizeByRawValuein interfaceEntranceSlitInformationProvider
-
getSlitsRawValueList
- Specified by:
getSlitsRawValueListin interfaceEntranceSlitInformationProvider
-
setName
Description copied from interface:FindableSet or change the name of the object (as defined in XML). -
getName
Description copied from interface:FindableGet the object name. Used by Castor to check if the object name has been set before calling theFindable.setName(String)method.
-