public class NavigableRegistry
extends java.lang.Object
Navigables.
After registerUI(Navigable) is called to register some UI,
subsequent calls to getNavigables() will include the
Navigable in the returned array. Order of registration for
Navigables is significant; the order of the Navigables in the returned array directly corresponds to the order
in which they were registered. The returned array of Navigables is a copy of the registered Navigables, so any
changes applied to them will not be reflected in the registry.
| Constructor and Description |
|---|
NavigableRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterUI(Navigable navigable)
Deregisters the UI that is specified by the
Navigable. |
Navigable[] |
getNavigables()
Returns an array whose contents are based on the
Navigable
objects that have been registered. |
void |
registerUI(Navigable navigable)
Registers the UI that is specified by the
Navigable. |
public void registerUI(Navigable navigable)
Navigable.
After this method is called to register some UI, subsequent calls
to getNavigables() will include the Navigable in
the returned array. Order of registration for Navigables
is significant; the order of the Navigables in the
returned array directly corresponds to the order in which they
were registered. The returned array of Navigables is a
copy of the registered Navigables, so any changes applied
to them will not be reflected in the registry.public void deregisterUI(Navigable navigable)
Navigable.public Navigable[] getNavigables()
Navigable
objects that have been registered. The returned array contains
copies of the registered Navigables, so that changes to
the ones in the array will not be reflected in the registry.
The order of the returned Navigables is based on the
order of registration through registerUI(Navigable).