Package edu.wpi.grip.core.sockets
Class OutputSocketImpl<T>
- java.lang.Object
-
- edu.wpi.grip.core.sockets.SocketImpl<T>
-
- edu.wpi.grip.core.sockets.OutputSocketImpl<T>
-
- Type Parameters:
T- The type that that this socket holds.
- All Implemented Interfaces:
OutputSocket<T>,Socket<T>
public class OutputSocketImpl<T> extends SocketImpl<T> implements OutputSocket<T>
A concrete implementation of theOutputSocket.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOutputSocketImpl.FactoryImpl-
Nested classes/interfaces inherited from interface edu.wpi.grip.core.sockets.OutputSocket
OutputSocket.Factory
-
Nested classes/interfaces inherited from interface edu.wpi.grip.core.sockets.Socket
Socket.Direction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisPreviewed()voidresetValueToInitial()Resets the value of this socket to its initial value.voidsetPreviewed(boolean previewed)java.lang.StringtoString()-
Methods inherited from class edu.wpi.grip.core.sockets.SocketImpl
addConnection, flagChanged, getConnections, getDirection, getSocketHint, getSource, getStep, getValue, removeConnection, setSource, setStep, setValueOptional
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface edu.wpi.grip.core.sockets.Socket
addConnection, flagChanged, getConnections, getDirection, getSocketHint, getSource, getStep, getValue, onValueChanged, removeConnection, setSource, setStep, setValue, setValueOptional, simpleString
-
-
-
-
Method Detail
-
isPreviewed
public boolean isPreviewed()
- Specified by:
isPreviewedin interfaceOutputSocket<T>- Returns:
- Whether or not this socket is shown in a preview in the GUI.
- See Also:
d(boolean)
-
setPreviewed
public void setPreviewed(boolean previewed)
- Specified by:
setPreviewedin interfaceOutputSocket<T>- Parameters:
previewed- Iftrue, this socket will be shown in a preview in the GUI.
-
resetValueToInitial
public void resetValueToInitial()
Description copied from interface:OutputSocketResets the value of this socket to its initial value.- Specified by:
resetValueToInitialin interfaceOutputSocket<T>
-
toString
public java.lang.String toString()
- Overrides:
toStringin classSocketImpl<T>
-
-