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
ConstructorsConstructorDescriptionContainerResizeHelper(CmsContainerPageContainer container) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidInitializes the minimum height.voidonShowPlaceholder(com.google.gwt.dom.client.Element placeholder) Called when the placeholder is shown.voidreset()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.
-