public class NavigableRegistry
extends java.lang.Object
Navigable
s.
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
Navigable
s is significant; the order of the Navigable
s in the returned array directly corresponds to the order
in which they were registered. The returned array of Navigable
s is a copy of the registered Navigable
s, 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 Navigable
s
is significant; the order of the Navigable
s in the
returned array directly corresponds to the order in which they
were registered. The returned array of Navigable
s is a
copy of the registered Navigable
s, 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 Navigable
s, so that changes to
the ones in the array will not be reflected in the registry.
The order of the returned Navigable
s is based on the
order of registration through registerUI(Navigable)
.