Interface CmsContainerpageController.I_EventDetails
- Enclosing class:
- CmsContainerpageController
@JsType(isNative=true,
namespace="<global>",
name="?")
public static interface CmsContainerpageController.I_EventDetails
Wrapper for the event details object for custom page editor events.
-
Method Summary
Modifier and TypeMethodDescriptionelemental2.dom.Element
Gets the HTML element for the container itself.elemental2.dom.Element
Gets the HTML element for the page element.boolean
The 'placeholder' state of the element.elemental2.dom.Element
Gets the replaced element.getType()
Gets the type.void
setContainer
(elemental2.dom.Element container) Sets the HTML element for the container.void
setElement
(elemental2.dom.Element element) Sets the HTML element for the page element.void
setIsPlaceholder
(boolean isPlaceholder) Sets the 'placeholder' (i.e.void
setReplacedElement
(elemental2.dom.Element element) Sets the replaced element.void
Sets the type.
-
Method Details
-
getContainer
Gets the HTML element for the container itself.- Returns:
- the HTML element for the container
-
getElement
Gets the HTML element for the page element.- Returns:
- the HTML element for the page element
-
getIsPlaceholder
The 'placeholder' state of the element.- Returns:
- the 'placedholder' state
-
getReplacedElement
Gets the replaced element.- Returns:
- the replaced element
-
getType
Gets the type.- Returns:
- the type
-
setContainer
Sets the HTML element for the container.- Parameters:
container
- the HTML element for the container
-
setElement
Sets the HTML element for the page element.- Parameters:
element
- the HTML element for the page element
-
setIsPlaceholder
Sets the 'placeholder' (i.e. 'new') state- Parameters:
isPlaceholder
- true if the element was new
-
setReplacedElement
Sets the replaced element.- Parameters:
element
- the replaced element
-
setType
Sets the type.- Parameters:
type
- the type
-