public interface ComponentType<C extends Component>
extends java.util.function.Supplier<C>
It can be thought of as a wrapper around Class<? extends Component> with a more useful API and additional metadata.
Modifier and Type | Method and Description |
---|---|
default java.util.Set<DataType> |
getDataTypes()
Gets a set of data types that this component is capable of displaying.
|
java.lang.String |
getName()
Get the name of the component (ex: "Number Slider").
|
java.lang.Class<C> |
getType() |