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.OwLayoutViewRefrence
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_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, renderRegion
activate, 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, usesFormWithAttributes
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
public OwSplitObjectListView(String[] splitNames, Collection<OwFieldColumnInfo>[] columnInfos, List<OwDocumentFunction> documentFunctions)
splitNames
- label names of the splits that will be displayedcolumnInfos
- column information for all OwObjectListView
spublic OwSplitObjectListView(OwSplitObjectListDocument document)
protected void init() throws Exception
OwView
public int getSplitCount()
public boolean displaySplitName(int index)
public String getSplitName(int index)
protected OwObjectListView createObjectListView(Collection<OwFieldColumnInfo> viewColumnInfos)
public OwSplitObjectListDocument getDocument()
OwView
getDocument
in class OwView
public void onUpdate(OwEventTarget caller_p, int iCode_p, Object param_p) throws Exception
OwUpdateTarget
onUpdate
in interface OwUpdateTarget
onUpdate
in class OwView
caller_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 nullException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.