Interface UIItemView

All Superinterfaces:
Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.api.HtmlBasedComponent, org.zkoss.zk.ui.ext.Scope, 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
  • Field Summary

    Fields inherited from interface org.zkoss.zk.ui.Component

    APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    Called whenever the activation needs to be updated i.e.
    void
    Called whenever the currently active items need to be re-rendered.
    int
    updateItem(TypedObject item, Set<PropertyDescriptor> modifiedProperties)
    try to update rows containing the specified items
    void
    Called whenever the items have changed in some way e.g.
    void
    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 Details

    • 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 use updateActivation().

      See Also:
    • updateItem

      int updateItem(TypedObject item, Set<PropertyDescriptor> modifiedProperties)
      try to update rows containing the specified items
      Parameters:
      item - the item
      modifiedProperties - 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 use updateActiveItems().

    • updateSelection

      void updateSelection()
      Called whenever the selection is changed in some way and the view needs to update itself accordingly.