Package gda.px.sampleChanger
Class BlockedPositionsComponent
java.lang.Object
gda.factory.ConfigurableBase
gda.px.sampleChanger.BlockedPositionsComponent
- All Implemented Interfaces:
Configurable,BlockedPositions
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBlockedPositionsComponent(BlockedPositionsComponent.EventNotifier eventNotifier) -
Method Summary
Modifier and TypeMethodDescriptionvoidblockPosition(int holder, int sample) voidDefault 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.booleanisPositionBlocked(int holder, int sample) voidvoidunblockPosition(int holder, int sample) Methods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Constructor Details
-
BlockedPositionsComponent
-
-
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
-
loadBlockedPositions
public void loadBlockedPositions() -
isPositionBlocked
public boolean isPositionBlocked(int holder, int sample) - Specified by:
isPositionBlockedin interfaceBlockedPositions
-
getBlockedPositions
- Specified by:
getBlockedPositionsin interfaceBlockedPositions
-
blockPosition
public void blockPosition(int holder, int sample) -
unblockPosition
public void unblockPosition(int holder, int sample)
-