public class OwMaxMinButtonControlView extends OwImageButtonView
View Module to display a maximize minimize button and maximize minimize the attached view.
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 |
---|---|
protected OwView |
m_view
attached OwView to be maximized minimized
|
static int |
MODE_MAXIMIZE_BUTTON
flag for maximize button
|
static int |
MODE_MINIMIZE_BUTTON
flag for maximize button
|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_STRING
Constructor and Description |
---|
OwMaxMinButtonControlView(OwView view_p)
attach a view to the control use maximize button
|
OwMaxMinButtonControlView(OwView view_p,
int iMode_p)
attach a view to the control, select button mode
|
Modifier and Type | Method and Description |
---|---|
List<OwImageButton> |
getButtonList()
Get a list of buttons which should be rendered.
|
String |
getControlledViewTitle()
get the title of the controlled view
|
int |
getDisplayMode()
get the display mode
|
boolean |
getIsShowNormal()
get the isShowNormal flag
|
String |
getMaximizeIcon()
overridable get the icon URL
|
String |
getMinimizeIcon()
overridable get the icon URL
|
String |
getNormalIcon()
overridable get the icon URL
|
protected void |
init()
init the target after the context is set.
|
void |
onMaximize(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked maximize
|
void |
onMinimize(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked minimize
|
void |
onNormal(javax.servlet.http.HttpServletRequest request_p)
event called when user clicked minimize
|
getDesignClasses, getHtmlId, onRender, setHtmlId
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
protected OwView m_view
public static final int MODE_MAXIMIZE_BUTTON
public static final int MODE_MINIMIZE_BUTTON
public OwMaxMinButtonControlView(OwView view_p)
view_p
- OwView to be maximized minimizedpublic OwMaxMinButtonControlView(OwView view_p, int iMode_p)
view_p
- OwView to be maximized minimizediMode_p
- int any combination of MODE_...protected void init() throws Exception
OwView
init
in class OwImageButtonView
Exception
public String getMaximizeIcon() throws Exception
Exception
public String getMinimizeIcon() throws Exception
Exception
public String getNormalIcon() throws Exception
Exception
public String getControlledViewTitle()
public int getDisplayMode()
public boolean getIsShowNormal()
public void onMaximize(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
public void onNormal(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
public void onMinimize(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequestException
public List<OwImageButton> getButtonList()
OwImageButtonView
getButtonList
in class OwImageButtonView
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.