Class ScannableGroupSinglePosition

All Implemented Interfaces:
Device, Scannable, IScannableGroup, Configurable, Findable, gda.observable.IObservable, gda.observable.IObserver

public class ScannableGroupSinglePosition extends ScannableGroup
  • Constructor Details

    • ScannableGroupSinglePosition

      public ScannableGroupSinglePosition()
  • Method Details

    • extractPositionsFromObject

      protected Vector<Object[]> extractPositionsFromObject(Object position) throws DeviceException
      Generate array with same demand position for each scannable in the group
      Overrides:
      extractPositionsFromObject in class ScannableGroup
      Parameters:
      position - - demand position (a single number/single number contained in array)
      Throws:
      DeviceException
    • getInputNames

      public String[] getInputNames()
      Description copied from interface: Scannable
      gets a array of InputNames used by moveTo of this scannable.
      Specified by:
      getInputNames in interface Scannable
      Overrides:
      getInputNames in class ScannableGroup
      Returns:
      array of the names of the elements of the object returned by getPosition
    • getExtraNames

      public String[] getExtraNames()
      Description copied from interface: Scannable
      Additional names for extra values that returned by getPosition().
      Specified by:
      getExtraNames in interface Scannable
      Overrides:
      getExtraNames in class ScannableGroup
      Returns:
      array of names of the extra elements if the array returned by getPosition is larger than the array required by moveTo