public class CubaWindow
extends com.vaadin.ui.Window
Modifier and Type | Class and Description |
---|---|
static class |
CubaWindow.PreCloseEvent |
static interface |
CubaWindow.PreCloseListener |
com.vaadin.ui.Window.CloseEvent, com.vaadin.ui.Window.CloseListener, com.vaadin.ui.Window.CloseShortcut, com.vaadin.ui.Window.ResizeEvent, com.vaadin.ui.Window.ResizeListener, com.vaadin.ui.Window.WindowModeChangeEvent, com.vaadin.ui.Window.WindowModeChangeListener, com.vaadin.ui.Window.WindowOrderChangeEvent, com.vaadin.ui.Window.WindowOrderChangeListener
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
com.vaadin.server.Sizeable.Unit
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
Modifier and Type | Field and Description |
---|---|
protected static java.lang.reflect.Method |
BEFORE_WINDOW_CLOSE_METHOD |
protected java.util.List<com.vaadin.event.Action.Handler> |
contextActionHandlers |
protected com.vaadin.server.KeyMapper<com.vaadin.event.Action> |
contextActionMapper |
protected com.haulmont.cuba.web.widgets.client.window.CubaWindowServerRpc |
rpc |
Constructor and Description |
---|
CubaWindow() |
CubaWindow(java.lang.String caption) |
Modifier and Type | Method and Description |
---|---|
void |
addContextActionHandler(com.vaadin.event.Action.Handler actionHandler) |
void |
addPreCloseListener(CubaWindow.PreCloseListener listener) |
void |
beforeClientResponse(boolean initial) |
void |
close() |
void |
forceClose()
Remove window from UI without firing close listeners.
|
boolean |
getCloseOnClickOutside() |
protected java.util.Collection<com.vaadin.event.Action> |
getContextActions(com.vaadin.ui.Component actionTarget) |
protected com.haulmont.cuba.web.widgets.client.window.CubaWindowState |
getState() |
protected com.haulmont.cuba.web.widgets.client.window.CubaWindowState |
getState(boolean markAsDirty) |
void |
removeContextActionHandler(com.vaadin.event.Action.Handler actionHandler) |
void |
removePreCloseListener(CubaWindow.PreCloseListener listener) |
void |
setCloseOnClickOutside(boolean informationDialog) |
addBlurListener, addCloseListener, addCloseShortcut, addFocusListener, addResizeListener, addWindowModeChangeListener, addWindowOrderChangeListener, bringToFront, center, changeVariables, fireClose, fireResize, fireWindowOrderChange, fireWindowWindowModeChange, focus, getAssistiveDescription, getAssistivePostfix, getAssistivePrefix, getAssistiveRole, getBringToFront, getCloseShortcuts, getCustomAttributes, getOrderPosition, getPositionX, getPositionY, getTabStopBottomAssistiveText, getTabStopTopAssistiveText, getWindowMode, hasCloseShortcut, isClosable, isDraggable, isModal, isResizable, isResizeLazy, isTabStopEnabled, paintContent, readDesign, readDesignChildren, removeAllCloseShortcuts, removeCloseListener, removeCloseShortcut, removeCloseShortcut, removeResizeListener, removeWindowModeChangeListener, setAssistiveDescription, setAssistivePostfix, setAssistivePrefix, setAssistiveRole, setClosable, setCloseShortcut, setDraggable, setModal, setParent, setPosition, setPositionX, setPositionY, setResizable, setResizeLazy, setTabStopBottomAssistiveText, setTabStopEnabled, setTabStopTopAssistiveText, setWindowMode, writeDesign
addAction, addActionHandler, addClickListener, getActionManager, getScrollLeft, getScrollTop, getTabIndex, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, setCaption, setScrollLeft, setScrollTop, setTabIndex
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setPrimaryStyleName, setReadOnly, setRequiredError, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCubaId, setEnabled, setIcon, setId, setPrimaryStyleName, setStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected java.util.List<com.vaadin.event.Action.Handler> contextActionHandlers
protected com.vaadin.server.KeyMapper<com.vaadin.event.Action> contextActionMapper
protected com.haulmont.cuba.web.widgets.client.window.CubaWindowServerRpc rpc
protected static final java.lang.reflect.Method BEFORE_WINDOW_CLOSE_METHOD
public CubaWindow()
public CubaWindow(java.lang.String caption)
public void addPreCloseListener(CubaWindow.PreCloseListener listener)
public void removePreCloseListener(CubaWindow.PreCloseListener listener)
public void setCloseOnClickOutside(boolean informationDialog)
public boolean getCloseOnClickOutside()
protected java.util.Collection<com.vaadin.event.Action> getContextActions(com.vaadin.ui.Component actionTarget)
protected com.haulmont.cuba.web.widgets.client.window.CubaWindowState getState()
getState
in class com.vaadin.ui.Window
protected com.haulmont.cuba.web.widgets.client.window.CubaWindowState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.Window
public void beforeClientResponse(boolean initial)
beforeClientResponse
in interface com.vaadin.server.ClientConnector
beforeClientResponse
in class com.vaadin.ui.AbstractComponent
public void addContextActionHandler(com.vaadin.event.Action.Handler actionHandler)
public void removeContextActionHandler(com.vaadin.event.Action.Handler actionHandler)
public void close()
close
in class com.vaadin.ui.Window
public void forceClose()