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.ElementGets the HTML element for the container itself.elemental2.dom.ElementGets the HTML element for the page element.booleanThe 'placeholder' state of the element.elemental2.dom.ElementGets the replaced element.getType()Gets the type.voidsetContainer(elemental2.dom.Element container) Sets the HTML element for the container.voidsetElement(elemental2.dom.Element element) Sets the HTML element for the page element.voidsetIsPlaceholder(boolean isPlaceholder) Sets the 'placeholder' (i.e.voidsetReplacedElement(elemental2.dom.Element element) Sets the replaced element.voidSets 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
-