bibliothek.gui.dock.util
Interface UISchemeEvent<V,U extends UIValue<V>,B extends UIBridge<V,U>>


public interface UISchemeEvent<V,U extends UIValue<V>,B extends UIBridge<V,U>>

An event fired by an UIScheme after some content changed.

Author:
Benjamin Sigg

Method Summary
 Collection<Path> changedBridges(Set<Path> names)
          Checks which bridges have changed, assuming that names are the only identifiers that are used.
 Collection<String> changedResources(Set<String> names)
          Checks which resources have changed, assuming that names are the only identifiers that are used.
 UIScheme<V,U,B> getScheme()
          Gets the scheme which fired this event.
 

Method Detail

getScheme

UIScheme<V,U,B> getScheme()
Gets the scheme which fired this event.

Returns:
the source of the event

changedResources

Collection<String> changedResources(Set<String> names)
Checks which resources have changed, assuming that names are the only identifiers that are used.

Parameters:
names - a set of identifiers to check, null indicates that every possible identifier must be included in the search
Returns:
the identifiers of resources that have actually been changed, should be a subset of names. A value of null indicates that either all resources changed, or that this method cannot exactly tell what effect the event had

changedBridges

Collection<Path> changedBridges(Set<Path> names)
Checks which bridges have changed, assuming that names are the only identifiers that are used.

Parameters:
names - a set of identifiers to check, null indicates that every possible identifier must be included in the search
Returns:
the identifiers of bridges that have actually been changed, should be a subset of names. A value of null indicates that either all bridges changed, or that this method cannot exactly tell what effect the event had