- All Implemented Interfaces:
SwingProvider
- Direct Known Subclasses:
InputOneOfMany
public class InputInt
extends com.marginallyclever.nodegraphcore.port.Input<Integer>
implements SwingProvider
-
Field Summary
Fields inherited from class com.marginallyclever.nodegraphcore.port.Port
DEFAULT_HEIGHT, DEFAULT_WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSwingComponent
(Component parent) boolean
isValidType
(Class<?> arg0) void
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, setDirty, setDisplayName, toJSON, toString
-
Constructor Details
-
InputInt
-
InputInt
- Throws:
IllegalArgumentException
-
-
Method Details
-
getSwingComponent
- Specified by:
getSwingComponent
in interfaceSwingProvider
- Returns:
- the Select component or null.
-
isValidType
-
setValue
-