Class AbstractWebcamRecorder

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable
    Direct Known Subclasses:
    SarxosWebcamRecorder

    public abstract class AbstractWebcamRecorder
    extends AbstractVideoRecorder
    Ancestor for webcam recorders.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_ID

        protected String m_ID
        the ID of the webcam.
      • m_Width

        protected int m_Width
        the width of the screen portion to grab (-1 = remainder).
      • m_Height

        protected int m_Height
        the height of the screen portion to grab (-1 = remainder).
    • Constructor Detail

      • AbstractWebcamRecorder

        public AbstractWebcamRecorder()
    • Method Detail

      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class AbstractVideoRecorder
      • setID

        public void setID​(String value)
        Sets the ID of the webcam to use.
        Parameters:
        value - the ID
      • getID

        public String getID()
        Returns the ID of the webcam to use.
        Returns:
        the ID
      • IDTipText

        public String IDTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setWidth

        public void setWidth​(int value)
        Sets the width of the webcam.
        Parameters:
        value - the width
      • getWidth

        public int getWidth()
        Returns the width of the webcam.
        Returns:
        the width
      • widthTipText

        public String widthTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setHeight

        public void setHeight​(int value)
        Sets the height of the webcam.
        Parameters:
        value - the height
      • getHeight

        public int getHeight()
        Returns the height of the webcam.
        Returns:
        the height
      • heightTipText

        public String heightTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.