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 PropertyConfigurable
createConfiguration()
Object
getAdapter(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)
boolean
isPropertyNotSet(String key)
void
setProperties(Map<String,Object> properties)
void
unsetProperty(String key)
-
-
-
Method Detail
-
createConfiguration
protected abstract PropertyConfigurable createConfiguration()
-
getConfiguration
public <G extends IPropertyConfigurable> G getConfiguration()
-
getKeys
public Set<String> getKeys()
- Specified by:
getKeys
in interfaceIPropertyConfigurable
- Returns:
- See Also:
IPropertyConfigurable.getKeys()
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties
in interfaceIPropertyConfigurable
- Returns:
- See Also:
IPropertyConfigurable.getProperties()
-
setProperties
public void setProperties(Map<String,Object> properties)
- Specified by:
setProperties
in interfaceIPropertyConfigurable
- Parameters:
properties
-- See Also:
IPropertyConfigurable.setProperties(java.util.Map)
-
getDefaultConfiguration
public Map<? extends String,? extends Object> getDefaultConfiguration()
- Specified by:
getDefaultConfiguration
in interfaceIPropertyConfigurable
- Returns:
- See Also:
IPropertyConfigurable.getDefaultConfiguration()
-
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter
in interfaceIAdaptable
-
getPropertyType
public Class<?> getPropertyType(String key)
- Specified by:
getPropertyType
in interfaceIPropertyConfigurable
-
isPropertyNotSet
public boolean isPropertyNotSet(String key)
- Specified by:
isPropertyNotSet
in interfaceIPropertyConfigurable
- Parameters:
key
-- Returns:
- See Also:
PropertyConfigurable.isPropertyNotSet(java.lang.String)
-
unsetProperty
public void unsetProperty(String key)
- Specified by:
unsetProperty
in interfaceIPropertyConfigurable
- Parameters:
key
-- See Also:
PropertyConfigurable.unsetProperty(java.lang.String)
-
-