Class CmsContainerPageContainer.ContainerResizeHelper
- java.lang.Object
-
- org.opencms.ade.containerpage.client.ui.CmsContainerPageContainer.ContainerResizeHelper
-
- Enclosing class:
- CmsContainerPageContainer
public static class CmsContainerPageContainer.ContainerResizeHelper extends java.lang.Object
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
Constructors Constructor Description ContainerResizeHelper(CmsContainerPageContainer container)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initHeight()
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 Detail
-
ContainerResizeHelper
public ContainerResizeHelper(CmsContainerPageContainer container)
Creates a new instance.- Parameters:
container
- the container
-
-
Method Detail
-
initHeight
public void initHeight()
Initializes the minimum height.
-
onShowPlaceholder
public void onShowPlaceholder(com.google.gwt.dom.client.Element placeholder)
Called when the placeholder is shown.- Parameters:
placeholder
- the placeholder
-
reset
public void reset()
Resets the style changes.
-
-