public class NavigationEvent extends EventObject
source| Constructor and Description |
|---|
NavigationEvent(Router router,
Location location,
UI ui,
NavigationTrigger trigger)
Creates a new navigation event.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
getLocation()
Gets the new location.
|
Router |
getSource() |
NavigationTrigger |
getTrigger()
Gets the type of user action that triggered this navigation event.
|
UI |
getUI()
Gets the UI in which the navigation occurs.
|
toStringpublic NavigationEvent(Router router, Location location, UI ui, NavigationTrigger trigger)
router - the router handling the navigation, not nulllocation - the new location, not nullui - the UI in which the navigation occurs, not nulltrigger - the type of user action that triggered this navigation event,
not nullpublic Router getSource()
getSource in class EventObjectpublic Location getLocation()
nullpublic UI getUI()
public NavigationTrigger getTrigger()
nullCopyright © 2018. All rights reserved.