public final class ControllerLookup extends Object
ControllerLookup must only be injected into controllers that are
created while an FXML control is being created.
| Constructor and Description |
|---|
ControllerLookup(Collection<IdentifiableController> identifiables) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
lookup(String id)
Returns a controller instance with the given ID.
|
public ControllerLookup(Collection<IdentifiableController> identifiables)
public <T> T lookup(String id)
id - The string ID of the controller as returned by
IdentifiableController.getId()IllegalArgumentException - thrown if a controller cannot be found with the given ID.Copyright © 2012-2014 The Cat Hive Developers. All Rights Reserved.