Package | Description |
---|---|
info.magnolia.ui.api.app | |
info.magnolia.ui.api.location |
Modifier and Type | Method and Description |
---|---|
Location |
AppController.getAppLocation(String name) |
Location |
AppController.getCurrentAppLocation() |
Location |
AppInstanceController.getCurrentLocation() |
Location |
AppInstanceController.getDefaultLocation() |
Location |
SubAppContext.getLocation() |
Modifier and Type | Method and Description |
---|---|
default String |
SubApp.getIcon(Location location) |
void |
App.locationChanged(Location location)
Called when the location changes and the app is already running.
|
void |
SubApp.locationChanged(Location location) |
void |
AppInstanceController.onLocationUpdate(Location location) |
void |
AppContext.openSubApp(Location location) |
void |
SubAppContext.setLocation(Location location) |
void |
App.start(Location location)
Called when the app is started.
|
void |
AppInstanceController.start(Location location) |
View |
SubApp.start(Location location) |
boolean |
SubApp.supportsLocation(Location location) |
void |
AppContext.updateSubAppLocation(SubAppContext subAppContext,
Location location) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultLocation
Default location implementation.
|
Modifier and Type | Field and Description |
---|---|
static Location |
Location.NOWHERE |
Modifier and Type | Method and Description |
---|---|
Location |
LocationHistoryMapper.getLocation(String fragment)
Returns the location represented by the fragment or null if the fragment is invalid or does not match a supported location.
|
Location |
LocationChangeRequestedEvent.getNewLocation()
Returns the location we may navigate to, or null on window close.
|
Location |
LocationChangedEvent.getNewLocation() |
Location |
LocationController.getWhere()
Returns the current location.
|
Modifier and Type | Method and Description |
---|---|
String |
LocationHistoryMapper.getFragment(Location location)
Returns the text representation of the location or null if the location isn't handled.
|
void |
LocationController.goTo(Location newLocation)
Request a change to a new location.
|
protected void |
LocationController.goToWithoutChecks(Location newLocation) |
info.magnolia.event.HandlerRegistration |
LocationHistoryHandler.register(LocationController locationController,
info.magnolia.event.EventBus eventBus,
Location defaultLocation)
Deprecated.
Initialize this location history handler.
|
Constructor and Description |
---|
LocationChangedEvent(Location newLocation) |
LocationChangeRequestedEvent(Location newLocation) |
Copyright © 2019 Magnolia International Ltd.. All rights reserved.