Class InputNumber
- All Implemented Interfaces:
SwingProvider
public class InputNumber
extends com.marginallyclever.nodegraphcore.port.Input<Number>
implements SwingProvider
InputNumber
exists only so that OutputInteger and OutputDouble can both connect to it.
It is problematic because it's the exact same as an InputDouble, but with a different parameter class.-
Field Summary
Fields inherited from class com.marginallyclever.nodegraphcore.port.Port
DEFAULT_HEIGHT, DEFAULT_WIDTH
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.marginallyclever.nodegraphcore.port.Input
createInverse, getFrom, hasConnection, setFrom, setValueToDefault
Methods inherited from class com.marginallyclever.nodegraphcore.port.Port
fromJSON, getDisplayName, getInPosition, getName, getOutPosition, getRectangle, getType, getTypeName, getValue, isDirty, isValidType, setDirty, setDisplayName, setValue, toJSON, toString
-
Constructor Details
-
InputNumber
-
InputNumber
- Throws:
IllegalArgumentException
-
-
Method Details
-
getSwingComponent
- Specified by:
getSwingComponent
in interfaceSwingProvider
- Returns:
- the Select component or null.
-