-
Notifications
You must be signed in to change notification settings - Fork 1
[Feature] Added Camera Type to Deploy GUI #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| public class CameraBean | ||
| { | ||
|
|
||
| public final ObjectProperty<CameraType> camera_type = new SimpleObjectProperty<>(CameraType.CAPTURE_CARD_MAGEWELL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the camera type so that it can be saved to the file via the gui
|
|
||
| camera_table.setEditable(true); | ||
|
|
||
| ObservableList<CameraType> cameraOptionsList = FXCollections.observableArrayList(CameraType.values()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creates the dropdown in the GUI in order to select the camera type
| <TableColumn fx:id="camera_id_col" prefWidth="244.5" text="ID"/> | ||
| <TableColumn fx:id="camera_name_col" prefWidth="318.0" text="Name"/> | ||
| <TableColumn fx:id="camera_input_col" prefWidth="193.0" text="Input Number"/> | ||
| <TableColumn fx:id="camera_type_column" prefWidth="250.0" text="Type"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a new column to javaFX
Added a feature where you can set the camera type from the deploy GUI. This makes it easier to use the Magewell stuff as that's the default option when adding a camera from the GUI.