public interface Sourced
Modifier and Type | Method and Description |
---|---|
void |
addSource(DataSource source)
Adds a source.
|
default java.util.Set<DataType> |
getDataTypes()
Gets the allowable data types for sources.
|
javafx.collections.ObservableList<DataSource> |
getSources()
Gets an observable list of the sources for this object.
|
default void |
removeAllSources() |
default void |
removeSource(DataSource source) |
void addSource(DataSource source) throws IncompatibleSourceException
source
- the source to addIncompatibleSourceException
- if the source is not compatible with this objectjavafx.collections.ObservableList<DataSource> getSources()
default void removeSource(DataSource source)
default void removeAllSources()
default java.util.Set<DataType> getDataTypes()
DataTypes.All
.