Package edu.wpi.grip.ui.pipeline.input
Class InputSocketController<T>
- java.lang.Object
-
- edu.wpi.grip.ui.pipeline.input.InputSocketController<T>
-
- All Implemented Interfaces:
Controller
- Direct Known Subclasses:
CheckboxInputSocketController
,ListSpinnerInputSocketController
,NumberSpinnerInputSocketController
,RangeInputSocketController
,SelectInputSocketController
,SliderInputSocketController
,TextFieldInputSocketController
@ParametrizedController(url="InputSocket.fxml") public class InputSocketController<T> extends java.lang.Object implements Controller
A JavaFX input that renders anInputSocket
that is an input to a step. This includes an identifier, a handle for connections, and an optional input (if a view is specified in the socket hint) that lets the user manually change the parameters of a step. Subclasses ofInputSocketController
control what sort of input is used (for example, a slider or a checkbox)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
InputSocketController.BaseInputSocketControllerFactory<T>
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.scene.Node
getContent()
SocketHandleView
getHandle()
protected javafx.scene.control.Label
getIdentifier()
javafx.scene.layout.GridPane
getRoot()
Socket<T>
getSocket()
protected void
initialize()
protected void
setContent(javafx.scene.Node node)
-
-
-
Method Detail
-
initialize
protected void initialize()
-
getHandle
public SocketHandleView getHandle()
- Returns:
- The handle view for this.
-
getContent
public javafx.scene.Node getContent()
-
setContent
protected void setContent(javafx.scene.Node node)
-
getIdentifier
protected javafx.scene.control.Label getIdentifier()
-
getRoot
public final javafx.scene.layout.GridPane getRoot()
- Specified by:
getRoot
in interfaceController
- Returns:
- The root node of the controller.
-
-