public final class FXMLLoadingScope extends Object implements com.google.inject.Scope
FXMLController.| Constructor and Description |
|---|
FXMLLoadingScope() |
| Modifier and Type | Method and Description |
|---|---|
void |
enter(GuiceFXMLLoader fxmlLoader)
Enter the scope.
|
void |
exit()
End the scope.
|
Collection<IdentifiableController> |
getIdentifiables() |
<T> T |
getInstance(String controllerId) |
boolean |
isActive()
Checks whether the FXML Loading Scope is currently being used.
|
<T> com.google.inject.Provider<T> |
scope(com.google.inject.Key<T> key,
com.google.inject.Provider<T> unscoped) |
public void enter(GuiceFXMLLoader fxmlLoader)
IdentifiableController and annotated wih FXMLController will
be retrievable from any ControllerLookup instance that is
injected.fxmlLoader - The FXML Loader to be used within this scope.public void exit()
public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key,
com.google.inject.Provider<T> unscoped)
scope in interface com.google.inject.Scopepublic <T> T getInstance(String controllerId)
public Collection<IdentifiableController> getIdentifiables()
public boolean isActive()
true if this scope is currently active, false otherwise.Copyright © 2012-2014 The Cat Hive Developers. All Rights Reserved.