Class OpenWebcamDialog

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
boofcv.gui.StandardAlgConfigPanel
boofcv.io.webcamcapture.OpenWebcamDialog
All Implemented Interfaces:
boofcv.gui.controls.JConfigLength.Listener, ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener

public class OpenWebcamDialog
extends boofcv.gui.StandardAlgConfigPanel
Opens a dialog and lets the user configure the camera and select which one
See Also:
Serialized Form
  • Constructor Details

    • OpenWebcamDialog

      public OpenWebcamDialog​(JDialog dialog)
  • Method Details

    • loadPreferences

      public boolean loadPreferences()
    • savePreferences

      public void savePreferences()
    • showDialog

      public static OpenWebcamDialog.Selection showDialog​(Window owner)
    • actionOK

      public void actionOK()
    • actionCancel

      public void actionCancel()
    • getSelectedCamera

      public com.github.sarxos.webcam.Webcam getSelectedCamera()
    • getSelectedWidth

      public int getSelectedWidth()
    • getSelectedHeight

      public int getSelectedHeight()
    • main

      public static void main​(String[] args)