public class OwSplitObjectListView extends OwLayout
Displays several object collections called splits.
Each split or object collection is displayed using an OwObjectListView in
stacked labeled regions.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
OwLayout.OwDispatchRegion, OwLayout.OwLayoutViewRefrenceCURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTargetEMPTY_STRING| Constructor and Description |
|---|
OwSplitObjectListView(OwSplitObjectListDocument document) |
OwSplitObjectListView(String[] splitNames,
Collection<OwFieldColumnInfo>[] columnInfos,
List<OwDocumentFunction> documentFunctions)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected OwObjectListView |
createObjectListView(Collection<OwFieldColumnInfo> viewColumnInfos) |
boolean |
displaySplitName(int index) |
OwSplitObjectListDocument |
getDocument()
gets the reference to the document
|
int |
getSplitCount() |
String |
getSplitName(int index) |
protected void |
init()
init the target after the context is set.
|
protected void |
onRender(Writer w_p)
called when the view should create its HTML content to be displayed
|
void |
onUpdate(OwEventTarget caller_p,
int iCode_p,
Object param_p)
called by the framework to update the view when OwDocument.Update was called
NOTE: We can not use the onRender method to update,
because we do not know the call order of onRender.
|
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion, renderRegionactivate, detach, getBreadcrumbPart, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributesattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetpublic OwSplitObjectListView(String[] splitNames, Collection<OwFieldColumnInfo>[] columnInfos, List<OwDocumentFunction> documentFunctions)
splitNames - label names of the splits that will be displayedcolumnInfos - column information for all OwObjectListViewspublic OwSplitObjectListView(OwSplitObjectListDocument document)
protected void init()
throws Exception
OwViewpublic int getSplitCount()
public boolean displaySplitName(int index)
public String getSplitName(int index)
protected OwObjectListView createObjectListView(Collection<OwFieldColumnInfo> viewColumnInfos)
public OwSplitObjectListDocument getDocument()
OwViewgetDocument in class OwViewpublic void onUpdate(OwEventTarget caller_p, int iCode_p, Object param_p) throws Exception
OwUpdateTargetonUpdate in interface OwUpdateTargetonUpdate in class OwViewcaller_p - OwEventTarget target that called updateiCode_p - int optional reason codeparam_p - Object optional parameter representing the refresh, depends on the value of iCode_p, can be nullExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.