Package edu.wpi.grip.ui.pipeline
Class OutputSocketController
- java.lang.Object
-
- edu.wpi.grip.ui.pipeline.OutputSocketController
-
- All Implemented Interfaces:
Controller
@ParametrizedController(url="OutputSocket.fxml") public class OutputSocketController extends java.lang.Object implements Controller
A JavaFX control that renders anOutputSocketthat is the output of a step. It shows a label with the identifier of the output, as well as a handle for connections to other sockets, and some buttons to configure what do to with the output.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOutputSocketController.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SocketHandleViewgetHandle()javafx.scene.NodegetRoot()Socket<?>getSocket()protected voidinitialize()voidonSocketChanged(SocketChangedEvent event)voidonSocketPreviewChangedEvent(SocketPreviewChangedEvent event)
-
-
-
Method Detail
-
initialize
protected void initialize()
-
getSocket
public Socket<?> getSocket()
-
getHandle
public SocketHandleView getHandle()
-
onSocketChanged
public void onSocketChanged(SocketChangedEvent event)
-
onSocketPreviewChangedEvent
public void onSocketPreviewChangedEvent(SocketPreviewChangedEvent event)
-
getRoot
public javafx.scene.Node getRoot()
- Specified by:
getRootin interfaceController- Returns:
- The root node of the controller.
-
-