com.wewebu.ow.server.ui
Class OwDialog
java.lang.Object
com.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.OwLayout
com.wewebu.ow.server.ui.OwDialog
- All Implemented Interfaces:
- OwBaseView, OwUpdateTarget
- Direct Known Subclasses:
- OwStandardDialog
public class OwDialog
- extends OwLayout
Base Class for Dialog Views. Dialog Views display as a dialog with the OwAppContext.openDialog(...) Method.
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
Methods inherited from class com.wewebu.ow.server.ui.OwLayout |
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion, renderRegion |
Methods inherited from class com.wewebu.ow.server.ui.OwView |
activate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, init, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onRender, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes |
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 |
m_Listener
protected OwDialog.OwDialogListener m_Listener
- Listener that wants to be notified upon dialog events.
m_iDEBUG_TargetCount
public int m_iDEBUG_TargetCount
- count that keeps track of the target count deltas before/after opening a dialog.
The target counts must return to their previous values on close dialog.
Used for debug reasons only to throw an exception
and to prevent the target map from infinite increases.
m_iDEBUG_InitDocument
public OwDocument m_iDEBUG_InitDocument
- init document must not change in dialog
if it changes, attached views may not be detached and cause memory overflow
m_iDEBUG_DocumentViewSize
public int m_iDEBUG_DocumentViewSize
- count of the attached views to the dialog manager document
must not change after close
OwDialog
public OwDialog()
closeDialog
public void closeDialog()
throws Exception
- visually close the Dialog. The behavior depends on usage
If this view is a child of a DialogManager, the View gets removed from it.
- Throws:
Exception
setListener
public void setListener(OwDialog.OwDialogListener listener_p)
- set the view that opens the dialog
- Parameters:
listener_p
- Listener that wants to be notified upon dialog events.
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.