|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 U
public interface UIScheme<V,U extends UIValue<V>,B extends UIBridge<V,U>>
An algorithm that can create missing entries for an UIProperties
s.
Method Summary | |
---|---|
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 . |
Method Detail |
---|
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 resource
null
if this scheme does not know name
B 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 resource
null
if this scheme does not know name
void addListener(UISchemeListener<V,U,B> listener)
listener
- the new listener, not null
void removeListener(UISchemeListener<V,U,B> listener)
listener
- the listener to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |