public class OwRecordSubLayout
extends com.wewebu.ow.server.app.OwSubLayout
Layout of the Record plugin area.
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
Modifier and Type | Field and Description |
---|---|
static String |
AJAX_UPDATE_DND_APPLET_REGION |
static String |
AJAX_UPDATE_HOTKEY_REGION |
static String |
AJAX_UPDATE_MENU_REGION |
static String |
AJAX_UPDATE_SEARCH_TEMPLATES_REGION |
static String |
AJAX_UPDATE_SUB_LAYOUT_MENU
The event name for update the
OW_SUB_LAYOUT_MENU_DIV_ID div. |
protected static String |
DEFAULT_JSP_FORM
path to the default JSP form, to be used for rendering.
|
protected static String |
JSP_FORM_ELEMENT_NAME
the name of the element containing the path to the JSP used for rendering
|
static int |
NAVIGATION_REGION_REGISTER_MODE
region of the the treeview in register optional mode
|
static String |
OW_REGION_DND_APPLET_DIV_ID |
static String |
OW_REGION_HOTKEY_DIV_ID |
static String |
OW_REGION_MENU_DIV_ID |
static String |
OW_REGION_SEARCHTEMPLATE_DIV_ID |
static String |
OW_SUB_LAYOUT_MENU_DIV_ID
The sub layout menu div id.
|
static int |
PREVIEW_PROPERTY_REGION
region of the property preview
|
static int |
SEARCH_TEMPLATE_REGION
region of the search template
|
static int |
SEARCH_TEMPLATE_REGION_VERTICAL
region of the search template in vertical mode
|
DND_REGION, HOT_KEY_REGION, m_Configuration, m_isDynamicSplitInUse, m_MainContext, m_saveSplitPosition, m_settings, MAIN_REGION, MENU_REGION, NAVIGATION_REGION, SECONDARY_REGION
Constructor and Description |
---|
OwRecordSubLayout() |
Modifier and Type | Method and Description |
---|---|
int |
getNavigationPanelInitialWidth()
Get the initial width of the navigation panel, or the value configured in the attribute bags for this width.
In case that false value, the call of this method doesn't make sense, and -1 is returned. |
int |
getPreviewPropPanelInitialHeight()
Get the initial height of the preview properties panel, or the value configured in the attribute bags for this height
|
String |
getTreeClientSideId()
Get the client side id for the tree component.
|
boolean |
isNavPanelCollapsed() |
boolean |
isPropPreviewPanelCollapsed() |
boolean |
isRegion(int iRegion_p)
determine if region exists
|
void |
onAjaxNavigationPanelResize(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
AJAX handler invoked when the user resize the navigation panel.
|
void |
onAjaxPanelCollapsedStateChanged(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p) |
void |
onAjaxUpdateHotkeyRegion(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
Handler for the
AJAX_UPDATE_HOTKEY_REGION . |
void |
onAjaxUpdateMenuRegion(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
Handler for the
AJAX_UPDATE_MENU_REGION . |
void |
onAjaxUpdateSearchTemplatesRegion(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
Handler for the
AJAX_UPDATE_SEARCH_TEMPLATES_REGION . |
void |
onAjaxUpdateSubLayoutMenu(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
AJAX handler for update the "UpdateSubLayoutMenu"
|
protected void |
onRender(Writer w_p)
render the view
|
void |
renderRegion(Writer w_p,
int iRegion_p)
render the views of the region
|
createLayoutSettings, createRegionCustomAttributes, getBagID, getCustomRegionAttributes, getLayoutSettings, getNavigationPanelWidth, init, setCustomRegionAttribute, setCustomRegionAttributes
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
activate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
public static final String OW_SUB_LAYOUT_MENU_DIV_ID
public static final String OW_REGION_DND_APPLET_DIV_ID
public static final String OW_REGION_MENU_DIV_ID
public static final String OW_REGION_HOTKEY_DIV_ID
public static final String OW_REGION_SEARCHTEMPLATE_DIV_ID
public static final String AJAX_UPDATE_SUB_LAYOUT_MENU
OW_SUB_LAYOUT_MENU_DIV_ID
div.public static final String AJAX_UPDATE_DND_APPLET_REGION
public static final String AJAX_UPDATE_MENU_REGION
public static final String AJAX_UPDATE_HOTKEY_REGION
public static final String AJAX_UPDATE_SEARCH_TEMPLATES_REGION
protected static final String JSP_FORM_ELEMENT_NAME
protected static final String DEFAULT_JSP_FORM
public static final int SEARCH_TEMPLATE_REGION
public static final int PREVIEW_PROPERTY_REGION
public static final int NAVIGATION_REGION_REGISTER_MODE
public static final int SEARCH_TEMPLATE_REGION_VERTICAL
public void renderRegion(Writer w_p, int iRegion_p) throws Exception
renderRegion
in interface com.wewebu.ow.server.ui.OwBaseView
renderRegion
in class com.wewebu.ow.server.ui.OwLayout
w_p
- Writer object to write HTML toiRegion_p
- ID of the region to renderException
public boolean isRegion(int iRegion_p)
isRegion
in interface com.wewebu.ow.server.ui.OwBaseView
isRegion
in class com.wewebu.ow.server.ui.OwLayout
iRegion_p
- ID of the region to renderprotected void onRender(Writer w_p) throws Exception
onRender
in class com.wewebu.ow.server.app.OwSubLayout
w_p
- Writer object to write HTML toException
public String getTreeClientSideId()
public int getNavigationPanelInitialWidth()
false
value, the call of this method doesn't make sense, and -1
is returned.public int getPreviewPropPanelInitialHeight()
false
value, the call of this method doesn't make sense, and -1
is returned.public void onAjaxNavigationPanelResize(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p)
onAjaxNavigationPanelResize
in class com.wewebu.ow.server.app.OwSubLayout
request_p
- - the HttpServletRequest
object.response_p
- - the HttpServletResponse
objectpublic void onAjaxUpdateSubLayoutMenu(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
request_p
- response_p
- Exception
public void onAjaxUpdateMenuRegion(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
AJAX_UPDATE_MENU_REGION
.request_p
- response_p
- Exception
public void onAjaxUpdateHotkeyRegion(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
AJAX_UPDATE_HOTKEY_REGION
.request_p
- response_p
- Exception
public void onAjaxUpdateSearchTemplatesRegion(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p) throws Exception
AJAX_UPDATE_SEARCH_TEMPLATES_REGION
.request_p
- response_p
- Exception
public void onAjaxPanelCollapsedStateChanged(javax.servlet.http.HttpServletRequest request_p, javax.servlet.http.HttpServletResponse response_p)
onAjaxPanelCollapsedStateChanged
in class com.wewebu.ow.server.app.OwSubLayout
public boolean isPropPreviewPanelCollapsed()
public boolean isNavPanelCollapsed()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.