|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.button.OwImageButtonView
com.wewebu.ow.server.app.OwMaxMinButtonControlView
public class OwMaxMinButtonControlView
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
Field Summary | |
---|---|
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 |
Fields inherited from class com.wewebu.ow.server.ui.OwView |
---|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget |
Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView |
---|
EMPTY_STRING |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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 |
Methods inherited from class com.wewebu.ow.server.ui.button.OwImageButtonView |
---|
getDesignClasses, getHtmlId, onRender, setHtmlId |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
---|
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OwView m_view
public static final int MODE_MAXIMIZE_BUTTON
public static final int MODE_MINIMIZE_BUTTON
Constructor Detail |
---|
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_...Method Detail |
---|
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
- HttpServletRequest
Exception
public void onNormal(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequest
Exception
public void onMinimize(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequest
Exception
public List<OwImageButton> getButtonList()
OwImageButtonView
getButtonList
in class OwImageButtonView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |