Package edu.wpi.grip.ui.pipeline
Class StepController
- java.lang.Object
-
- edu.wpi.grip.ui.pipeline.StepController
-
- All Implemented Interfaces:
Controller
@ParametrizedController(url="Step.fxml") public class StepController extends java.lang.Object implements Controller
A JavaFX control that shows a step in the pipeline. This control shows the name of the operation as well as a list of input sockets and output sockets.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StepController.Factory
Used for assisted injects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<InputSocketController>
getInputSockets()
An unmodifiable collection ofInputSocketController
s corresponding to the input sockets of this step.java.util.Collection<OutputSocketController>
getOutputSockets()
An unmodifiable collection ofInputSocketController
s corresponding to the output sockets of this step.javafx.scene.layout.VBox
getRoot()
Step
getStep()
void
setExpanded(SetStepsExpandedEvent event)
-
-
-
Method Detail
-
getInputSockets
public java.util.Collection<InputSocketController> getInputSockets()
An unmodifiable collection ofInputSocketController
s corresponding to the input sockets of this step.
-
getOutputSockets
public java.util.Collection<OutputSocketController> getOutputSockets()
An unmodifiable collection ofInputSocketController
s corresponding to the output sockets of this step.
-
getRoot
public javafx.scene.layout.VBox getRoot()
- Specified by:
getRoot
in interfaceController
- Returns:
- The root node of the controller.
-
getStep
public Step getStep()
-
setExpanded
public void setExpanded(SetStepsExpandedEvent event)
-
-