Package com.vaadin.ui.declarative
Class DesignContext.ComponentCreatedEvent
- java.lang.Object
-
- com.vaadin.ui.declarative.DesignContext.ComponentCreatedEvent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DesignContext
public class DesignContext.ComponentCreatedEvent extends Object implements Serializable
Component creation event that is fired when a component is created in the. context- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentgetComponent()Returns the created component.DesignContextgetContext()Returns the new component context.StringgetLocalId()Returns the local id of the created component or null if not exist.
-
-
-
Method Detail
-
getLocalId
public String getLocalId()
Returns the local id of the created component or null if not exist.- Returns:
- the localId
-
getComponent
public Component getComponent()
Returns the created component.- Returns:
- the component
-
getContext
public DesignContext getContext()
Returns the new component context.- Returns:
- the context
- Since:
- 8.5
-
-