Class CmsContainerPageContainer.ContainerResizeHelper
java.lang.Object
org.opencms.ade.containerpage.client.ui.CmsContainerPageContainer.ContainerResizeHelper
- Enclosing class:
- CmsContainerPageContainer
Helper class for resizing containers in the drag/drop process when an element is dropped into them that is of lower height than the empty container HTML.
-
Constructor Summary
ConstructorDescriptionContainerResizeHelper
(CmsContainerPageContainer container) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Initializes the minimum height.void
onShowPlaceholder
(com.google.gwt.dom.client.Element placeholder) Called when the placeholder is shown.void
reset()
Resets the style changes.
-
Constructor Details
-
ContainerResizeHelper
Creates a new instance.- Parameters:
container
- the container
-
-
Method Details
-
initHeight
Initializes the minimum height. -
onShowPlaceholder
Called when the placeholder is shown.- Parameters:
placeholder
- the placeholder
-
reset
Resets the style changes.
-