sonification.dataimport.visbards_resourcetoolkit.model
Interface PropertyContainer

All Known Implementing Classes:
DefaultPropertyContainer

public interface PropertyContainer

Dataset property container. This unit contains values for dataset related properties. Property types can be found in Property.java. The value object type should be infered after calling Property.getType();


Method Summary
 void addListener(PropertyContainerListener listener)
          Registers a listener.
 boolean allowsNulls()
          Returns true if this container allows nulls.
 void dispose()
          Unregisters and cleans up.
 Property[] getAllProperties()
          Returns all the currently existing properties.
 java.lang.Object getPropertyValue(Property prop)
          Return the value for a particular visual property
 boolean hasProperty(Property prop)
          Returns true if this container has the property.
 void removeListener(PropertyContainerListener listener)
          Unregisters a listener.
 void setPropertyValue(Property prop, java.lang.Object value)
          Change the visual property to a given value.
 

Method Detail

setPropertyValue

void setPropertyValue(Property prop,
                      java.lang.Object value)
Change the visual property to a given value.


getPropertyValue

java.lang.Object getPropertyValue(Property prop)
Return the value for a particular visual property


hasProperty

boolean hasProperty(Property prop)
Returns true if this container has the property.


getAllProperties

Property[] getAllProperties()
Returns all the currently existing properties.


allowsNulls

boolean allowsNulls()
Returns true if this container allows nulls.


dispose

void dispose()
Unregisters and cleans up.


addListener

void addListener(PropertyContainerListener listener)
Registers a listener.


removeListener

void removeListener(PropertyContainerListener listener)
Unregisters a listener.