Class TaskMainAreaBrowserComponent
- java.lang.Object
-
- org.zkoss.zk.ui.AbstractComponent
-
- org.zkoss.zk.ui.HtmlBasedComponent
-
- org.zkoss.zul.impl.XulElement
-
- org.zkoss.zul.Div
-
- de.hybris.platform.cockpit.components.contentbrowser.AbstractBrowserComponent
-
- de.hybris.platform.cockpit.components.contentbrowser.AbstractMainAreaBrowserComponent
-
- de.hybris.platform.cockpit.components.contentbrowser.MainAreaListviewBrowserComponent
-
- de.hybris.platform.cockpit.components.contentbrowser.browsercomponents.TaskMainAreaBrowserComponent
-
- All Implemented Interfaces:
BrowserComponent,CockpitComponent,DesktopRemovalAwareComponent,java.io.Serializable,java.lang.Cloneable,org.zkoss.zk.ui.api.HtmlBasedComponent,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.ext.Scope,org.zkoss.zk.ui.sys.ComponentCtrl,org.zkoss.zul.api.Div,org.zkoss.zul.impl.api.XulElement
public class TaskMainAreaBrowserComponent extends MainAreaListviewBrowserComponent
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringLIST_VIEW_CONFIG_CODE-
Fields inherited from class de.hybris.platform.cockpit.components.contentbrowser.MainAreaListviewBrowserComponent
columnModelListener, listView, MULTITYPE_LIST_VIEW_CONFIG_CODE, tableController
-
Fields inherited from class de.hybris.platform.cockpit.components.contentbrowser.AbstractMainAreaBrowserComponent
EMPTY_MESSAGE, lastResultType, listComponentModel, loginService, mainArea, resultModel, typeService, uiConfigurationService
-
Fields inherited from class de.hybris.platform.cockpit.components.contentbrowser.AbstractBrowserComponent
ADV_QUERY_BTN_ACTIVE_IMG, ADV_QUERY_BTN_IMG, BROWSER_TOOLBAR_SCLASS, CLOSE_BTN_IMG, CONTENT_BROWSER_GB_SCLASS, CONTENT_BROWSER_STICKY_GB_SCLASS, DUPLICATE_BTN_IMG, initialized, MAIN_AREA_BL_SCLASS, MINIMIZE_BTN_IMG, SAVE_QUERY_BTN_IMG, SEARCH_MAGNIFIER_BTN_IMG, SPLIT_ACTIVE_BTN_IMG, SPLIT_INACTIVE_BTN_IMG
-
-
Constructor Summary
Constructors Constructor Description TaskMainAreaBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser)TaskMainAreaBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser, java.lang.String attachmentType)TaskMainAreaBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser, java.util.List<java.lang.String> attachmentTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DefaultBrowserTableControllercreateTableController(AdvancedBrowserModel advancedBrowserModel, MutableTableModel mutableTableModel, UIListView listView)java.lang.StringgetAttachmentType()java.util.List<java.lang.String>getAttachmentTypes()protected voidloadListModel()protected UIListViewloadListView()Loads the list view and its required components if necessary.protected voidresetSelection()voidsetAttachmentType(java.lang.String attachmentType)voidsetAttachmentTypes(java.util.List<java.lang.String> attachmentTypes)-
Methods inherited from class de.hybris.platform.cockpit.components.contentbrowser.MainAreaListviewBrowserComponent
cleanup, createMainArea, getColumnModelListener, getCurrentItemView, getCurrentSavedQuery, getListViewConfiguration, getListViewConfigurationCode, storeListViewConfiguration, update
-
Methods inherited from class de.hybris.platform.cockpit.components.contentbrowser.AbstractMainAreaBrowserComponent
desktopRemoved, detach, getLoginService, getModel, getResultModel, getRootType, getTableModel, getTypeService, getUIConfigurationService, initialize, resize, setActiveItem, setParent, setTableModel, updateActiveItems, updateItem, updateResult, updateSelectedItems
-
Methods inherited from class de.hybris.platform.cockpit.components.contentbrowser.AbstractBrowserComponent
getContentBrowser, setModel, updateItem
-
Methods inherited from class org.zkoss.zul.impl.XulElement
clone, getContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setContextAttributes, setCtrlKeys, setPopup, setPopup, setPopupAttributes, setTooltip, setTooltip, setTooltipAttributes
-
Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent
addSclass, focus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTabindex, getTabindexInteger, getTooltiptext, getTop, getVflex, getWidth, getZclass, getZindex, getZIndex, removeSclass, removeSclass, service, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeight0, setHeightDirectly, setHflex, setHflex0, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTabindex, setTabindex, setTooltiptext, setTop, setTopDirectly, setVflex, setVflex0, setVflexDirectly, setWidth, setWidth0, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectly
-
Methods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, insertBefore, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.zkoss.zk.ui.Component
addEventListener, addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, 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, 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
-
-
-
-
Field Detail
-
LIST_VIEW_CONFIG_CODE
protected static final java.lang.String LIST_VIEW_CONFIG_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskMainAreaBrowserComponent
public TaskMainAreaBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser)
-
TaskMainAreaBrowserComponent
public TaskMainAreaBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser, java.lang.String attachmentType)
-
TaskMainAreaBrowserComponent
public TaskMainAreaBrowserComponent(AdvancedBrowserModel model, AbstractContentBrowser contentBrowser, java.util.List<java.lang.String> attachmentTypes)
-
-
Method Detail
-
resetSelection
protected void resetSelection()
- Overrides:
resetSelectionin classAbstractMainAreaBrowserComponent
-
loadListView
protected UIListView loadListView()
Loads the list view and its required components if necessary.- Overrides:
loadListViewin classMainAreaListviewBrowserComponent- Returns:
- the list view to be used
-
loadListModel
protected void loadListModel()
- Overrides:
loadListModelin classAbstractMainAreaBrowserComponent
-
createTableController
protected DefaultBrowserTableController createTableController(AdvancedBrowserModel advancedBrowserModel, MutableTableModel mutableTableModel, UIListView listView)
- Overrides:
createTableControllerin classAbstractMainAreaBrowserComponent
-
getAttachmentType
public java.lang.String getAttachmentType()
- Returns:
- the first attachmentType in the list of attachmentTypes
-
setAttachmentType
public void setAttachmentType(java.lang.String attachmentType)
- Parameters:
attachmentType- the attachmentType to set
-
setAttachmentTypes
public void setAttachmentTypes(java.util.List<java.lang.String> attachmentTypes)
-
getAttachmentTypes
public java.util.List<java.lang.String> getAttachmentTypes()
-
-