public interface I_CmsDropContainer extends I_CmsDropTarget
限定符和类型 | 方法和说明 |
---|---|
void |
add(com.google.gwt.user.client.ui.Widget w)
Adds a new child widget.
|
void |
adoptElement(CmsContainerPageElementPanel containerElement)
Adopts a container-page element registering it as a child of this container.
|
void |
checkMaxElementsOnEnter()
Checks the maximum number of allowed elements and hides overflowing elements.
|
void |
checkMaxElementsOnLeave()
Checks the maximum number of allowed elements and displays formerly hidden elements.
|
java.lang.String |
getContainerId()
Returns the container id.
|
int |
getWidgetCount()
Gets the number of child widgets in this panel.
|
int |
getWidgetIndex(com.google.gwt.user.client.ui.Widget w)
Gets the index of the specified child widget.
|
void |
hideEditableListButtons()
Hides list collector direct edit buttons, if present.
|
void |
highlightContainer()
Puts a highlighting border around the container content.
|
void |
insert(com.google.gwt.user.client.ui.Widget w,
int beforeIndex)
Inserts a child widget before the specified index.
|
boolean |
isDetailOnly()
Returns
true if this container is a detail view only container. |
boolean |
isDetailView()
Returns
true if this container is being currently used to display a detail view. |
void |
refreshHighlighting()
Refreshes position and dimension of the highlighting border.
|
void |
removeHighlighting()
Removes the highlighting border.
|
void |
showEditableListButtons()
Shows list collector direct edit buttons (old direct edit style), if present.
|
checkPosition, getElement, getPlaceholderIndex, insertPlaceholder, onDrop, removePlaceholder, repositionPlaceholder
void add(com.google.gwt.user.client.ui.Widget w)
w
- the widgetHasWidgets.add(com.google.gwt.user.client.ui.Widget)
void adoptElement(CmsContainerPageElementPanel containerElement)
containerElement
- the element to adoptvoid checkMaxElementsOnEnter()
void checkMaxElementsOnLeave()
java.lang.String getContainerId()
int getWidgetCount()
int getWidgetIndex(com.google.gwt.user.client.ui.Widget w)
w
- the widgetvoid hideEditableListButtons()
void highlightContainer()
void insert(com.google.gwt.user.client.ui.Widget w, int beforeIndex)
w
- the new childbeforeIndex
- the before indexboolean isDetailOnly()
true
if this container is a detail view only container.true
if this container is a detail view only containerboolean isDetailView()
true
if this container is being currently used to display a detail view.true
if this container is used to display a detail viewvoid refreshHighlighting()
void removeHighlighting()
void showEditableListButtons()