public class UICreateEvent extends UIProviderEvent
UIProvider
for determining
information about a new UI that is about to be created.source
Constructor and Description |
---|
UICreateEvent(VaadinRequest request,
Class<? extends UI> uiClass)
Creates a new UI create event for a given VaadinRequest and UI class but
without a UI id.
|
UICreateEvent(VaadinRequest request,
Class<? extends UI> uiClass,
Integer uiId)
Creates a new UI create event for a given VaadinRequest, UI class and UI
id.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends UI> |
getUIClass()
Gets the UI class that will be created.
|
Integer |
getUiId()
Gets the id of the UI about to be created.
|
getRequest, getService
getSource, toString
public UICreateEvent(VaadinRequest request, Class<? extends UI> uiClass)
request
- the request for which the UI will be createduiClass
- the UI class that will be createdpublic UICreateEvent(VaadinRequest request, Class<? extends UI> uiClass, Integer uiId)
request
- the request for which the UI will be createduiClass
- the UI class that will be createduiId
- the id reserved for the UI; or null
if no id has
yet been allocated.public Class<? extends UI> getUIClass()
public Integer getUiId()
null
if the id has not yet been determined.
The UI id is generally only available in
UIProvider.createInstance(UICreateEvent)
null
if the UI id is not yet known.Copyright © 2018 Vaadin Ltd. All rights reserved.