public class BaseDialogViewImpl extends com.vaadin.ui.Panel implements DialogView
DialogView
.com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, 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 |
---|---|
static int |
DIALOG_WIDTH |
Constructor and Description |
---|
BaseDialogViewImpl() |
BaseDialogViewImpl(info.magnolia.ui.vaadin.dialog.BaseDialog dialog) |
Modifier and Type | Method and Description |
---|---|
void |
addDialogCloseHandler(DialogCloseHandler handler) |
void |
addShortcut(com.vaadin.event.ShortcutListener shortcut) |
com.vaadin.ui.Component |
asVaadinComponent() |
void |
attach() |
void |
close() |
EditorActionAreaView |
getActionAreaView() |
info.magnolia.ui.api.view.View |
getContentView() |
protected info.magnolia.ui.vaadin.dialog.BaseDialog |
getDialog() |
info.magnolia.ui.api.overlay.OverlayLayer.ModalityLevel |
getModalityLevel() |
void |
removeDialogCloseHandler(DialogCloseHandler handler) |
void |
removeShortcut(com.vaadin.event.ShortcutListener shortcut) |
void |
setActionAreaView(EditorActionAreaView actionAreaView) |
void |
setCaption(String caption) |
void |
setClosable(boolean isClosable) |
void |
setContent(info.magnolia.ui.api.view.View content) |
void |
setDescription(String description) |
void |
setDescriptionVisible(boolean isDescriptionVisible) |
void |
setModalityLevel(info.magnolia.ui.api.overlay.OverlayLayer.ModalityLevel modalityLevel) |
void |
setWide(boolean isWide) |
addAction, addActionHandler, addClickListener, addListener, changeVariables, focus, getActionManager, getScrollLeft, getScrollTop, getState, getTabIndex, paintContent, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, removeListener, setScrollLeft, setScrollTop, setTabIndex
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth
addListener, addShortcutListener, addStyleName, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setComponentError, setData, setDebugId, setEnabled, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public static final int DIALOG_WIDTH
public BaseDialogViewImpl()
public BaseDialogViewImpl(info.magnolia.ui.vaadin.dialog.BaseDialog dialog)
public void setDescriptionVisible(boolean isDescriptionVisible)
setDescriptionVisible
in interface DialogView
public void setDescription(String description)
setDescription
in interface DialogView
setDescription
in class com.vaadin.ui.AbstractComponent
public void setCaption(String caption)
setCaption
in interface com.vaadin.ui.Component
setCaption
in interface DialogView
setCaption
in class com.vaadin.ui.Panel
public void setContent(info.magnolia.ui.api.view.View content)
setContent
in interface DialogView
public void close()
close
in interface DialogView
public void setClosable(boolean isClosable)
setClosable
in interface DialogView
public void addShortcut(com.vaadin.event.ShortcutListener shortcut)
addShortcut
in interface DialogView
public void removeShortcut(com.vaadin.event.ShortcutListener shortcut)
removeShortcut
in interface DialogView
public void addDialogCloseHandler(DialogCloseHandler handler)
addDialogCloseHandler
in interface DialogView
public void removeDialogCloseHandler(DialogCloseHandler handler)
removeDialogCloseHandler
in interface DialogView
public void setActionAreaView(EditorActionAreaView actionAreaView)
setActionAreaView
in interface DialogView
public void attach()
attach
in interface com.vaadin.server.ClientConnector
attach
in interface com.vaadin.ui.Component
attach
in class com.vaadin.ui.AbstractComponent
public com.vaadin.ui.Component asVaadinComponent()
asVaadinComponent
in interface info.magnolia.ui.api.view.View
public info.magnolia.ui.api.view.View getContentView()
getContentView
in interface DialogView
public EditorActionAreaView getActionAreaView()
getActionAreaView
in interface DialogView
protected info.magnolia.ui.vaadin.dialog.BaseDialog getDialog()
public info.magnolia.ui.api.overlay.OverlayLayer.ModalityLevel getModalityLevel()
getModalityLevel
in interface DialogView
OverlayLayer.ModalityLevel.STRONG
if not set.public void setModalityLevel(info.magnolia.ui.api.overlay.OverlayLayer.ModalityLevel modalityLevel)
setModalityLevel
in interface DialogView
public void setWide(boolean isWide)
setWide
in interface DialogView
Copyright © 2014 Magnolia International Ltd.. All rights reserved.