Interface UIItemView
-
- All Superinterfaces:
java.lang.Cloneable,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.api.HtmlBasedComponent,org.zkoss.zk.ui.ext.Scope,java.io.Serializable,UIViewComponent
- All Known Subinterfaces:
UIGridView,UIListView
- All Known Implementing Classes:
AbstractItemView,AbstractListView,GridView,ListView,TaskListView
public interface UIItemView extends UIViewComponent, org.zkoss.zk.ui.api.HtmlBasedComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetDDContext(DragAndDropContext ddContext)voidupdateActivation()Called whenever the activation needs to be updated i.e.voidupdateActiveItems()Called whenever the currently active items need to be re-rendered.intupdateItem(TypedObject item, java.util.Set<PropertyDescriptor> modifiedProperties)try to update rows containing the specified itemsvoidupdateItems()Called whenever the items have changed in some way e.g.voidupdateSelection()Called whenever the selection is changed in some way and the view needs to update itself accordingly.-
Methods inherited from interface org.zkoss.zk.ui.Component
addEventListener, addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getChildren, getClientAttribute, getClientDataAttribute, getDefinition, getDesktop, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getShadowVariable, getShadowVariable, getSpaceOwner, getStubonly, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, query, queryAll, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setTemplate, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride
-
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex
-
Methods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
-
Methods inherited from interface de.hybris.platform.cockpit.model.general.UIViewComponent
initialize, update
-
-
-
-
Method Detail
-
setDDContext
void setDDContext(DragAndDropContext ddContext)
-
updateItems
void updateItems()
Called whenever the items have changed in some way e.g. an item has been added or removed.
-
updateActiveItems
void updateActiveItems()
Called whenever the currently active items need to be re-rendered. Note: Does not update the activation itself. For that purpose useupdateActivation().- See Also:
updateActivation()
-
updateItem
int updateItem(TypedObject item, java.util.Set<PropertyDescriptor> modifiedProperties)
try to update rows containing the specified items- Parameters:
item- the itemmodifiedProperties- modified properties- Returns:
- the number of updated rows
-
updateActivation
void updateActivation()
Called whenever the activation needs to be updated i.e. which items are currently rendered as "active". Note: Does not re-render the items themselves, only the activation state of them. In order to update the items useupdateActiveItems().
-
updateSelection
void updateSelection()
Called whenever the selection is changed in some way and the view needs to update itself accordingly.
-
-