V - The kind of values this map containsU - The kind of observers used to read values from this mapB - The kind of bridges used to transfer values V to observers Upublic interface UIScheme<V,U extends UIValue<V>,B extends UIBridge<V,U>>
UIPropertiess.| Modifier and Type | Method and Description |
|---|---|
void |
addListener(UISchemeListener<V,U,B> listener)
Adds a listener to this scheme.
|
B |
getBridge(Path name,
UIProperties<V,U,B> properties)
Creates the
UIBridge that handles resources of type name. |
V |
getResource(String name,
UIProperties<V,U,B> properties)
Creates the resource with name
name. |
void |
install(UIProperties<V,U,B> properties)
Informs this scheme that it is now used by
properties. |
void |
removeListener(UISchemeListener<V,U,B> listener)
Removes a listener from this scheme.
|
void |
uninstall(UIProperties<V,U,B> properties)
Informs this scheme that it is no longer used by
properties. |
void install(UIProperties<V,U,B> properties)
properties.properties - the owner of this schemevoid uninstall(UIProperties<V,U,B> properties)
properties.properties - an old client of this schemeV getResource(String name, UIProperties<V,U,B> properties)
name. This method may be called often
and should complete quickly.name - the name of some resourceproperties - the map that will use the resourcenull if this scheme does not know nameB getBridge(Path name, UIProperties<V,U,B> properties)
UIBridge that handles resources of type name.name - the name of the bridgeproperties - the map that will use the resourcenull if this scheme does not know namevoid addListener(UISchemeListener<V,U,B> listener)
listener - the new listener, not nullvoid removeListener(UISchemeListener<V,U,B> listener)
listener - the listener to removeCopyright © 2017 Docking Frames. All rights reserved.