Class AbstractInput
- java.lang.Object
-
- org.palladiosimulator.commons.designpatterns.AbstractObservable<IVisualisationInputListener>
-
- org.palladiosimulator.edp2.visualization.AbstractInput
-
- All Implemented Interfaces:
IAdaptable,org.palladiosimulator.commons.designpatterns.IAbstractObservable<IVisualisationInputListener>,IPropertyConfigurable
- Direct Known Subclasses:
AbstractVisualizationInput,AbstractVisualizationSingleDatastreamInput
public abstract class AbstractInput extends org.palladiosimulator.commons.designpatterns.AbstractObservable<IVisualisationInputListener> implements IPropertyConfigurable
-
-
Constructor Summary
Constructors Constructor Description AbstractInput()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PropertyConfigurablecreateConfiguration()ObjectgetAdapter(Class adapter)<G extends IPropertyConfigurable>
GgetConfiguration()Map<? extends String,? extends Object>getDefaultConfiguration()Set<String>getKeys()Map<String,Object>getProperties()protected abstract Set<String>getPropertyKeysTriggeringUpdate()Class<?>getPropertyType(String key)booleanisPropertyNotSet(String key)voidsetProperties(Map<String,Object> properties)voidunsetProperty(String key)
-
-
-
Method Detail
-
createConfiguration
protected abstract PropertyConfigurable createConfiguration()
-
getConfiguration
public <G extends IPropertyConfigurable> G getConfiguration()
-
getKeys
public Set<String> getKeys()
- Specified by:
getKeysin interfaceIPropertyConfigurable- Returns:
- See Also:
IPropertyConfigurable.getKeys()
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getPropertiesin interfaceIPropertyConfigurable- Returns:
- See Also:
IPropertyConfigurable.getProperties()
-
setProperties
public void setProperties(Map<String,Object> properties)
- Specified by:
setPropertiesin interfaceIPropertyConfigurable- Parameters:
properties-- See Also:
IPropertyConfigurable.setProperties(java.util.Map)
-
getDefaultConfiguration
public Map<? extends String,? extends Object> getDefaultConfiguration()
- Specified by:
getDefaultConfigurationin interfaceIPropertyConfigurable- Returns:
- See Also:
IPropertyConfigurable.getDefaultConfiguration()
-
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapterin interfaceIAdaptable
-
getPropertyType
public Class<?> getPropertyType(String key)
- Specified by:
getPropertyTypein interfaceIPropertyConfigurable
-
isPropertyNotSet
public boolean isPropertyNotSet(String key)
- Specified by:
isPropertyNotSetin interfaceIPropertyConfigurable- Parameters:
key-- Returns:
- See Also:
PropertyConfigurable.isPropertyNotSet(java.lang.String)
-
unsetProperty
public void unsetProperty(String key)
- Specified by:
unsetPropertyin interfaceIPropertyConfigurable- Parameters:
key-- See Also:
PropertyConfigurable.unsetProperty(java.lang.String)
-
-