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(BaseDialog dialog) |
Modifier and Type | Method and Description |
---|---|
void |
addDialogCloseHandler(DialogCloseHandler handler) |
void |
addShortcut(com.vaadin.event.ShortcutListener shortcut) |
com.vaadin.ui.Component |
asVaadinComponent()
Returns the Vaadin component managed by this view.
|
void |
attach() |
void |
close() |
EditorActionAreaView |
getActionAreaView() |
View |
getContentView() |
protected BaseDialog |
getDialog() |
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(View content) |
void |
setDescription(String description) |
void |
setDescriptionVisible(boolean isDescriptionVisible) |
void |
setModalityLevel(OverlayLayer.ModalityLevel modalityLevel) |
void |
setWide(boolean isWide) |
addAction, addActionHandler, addClickListener, addListener, changeVariables, focus, getActionManager, getCustomAttributes, getScrollLeft, getScrollTop, getState, getState, getTabIndex, paintContent, readDesign, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, removeListener, setScrollLeft, setScrollTop, setTabIndex, writeDesign
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, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setEnabled, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, 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(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(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()
View
asVaadinComponent
in interface View
public View getContentView()
getContentView
in interface DialogView
public EditorActionAreaView getActionAreaView()
getActionAreaView
in interface DialogView
protected BaseDialog getDialog()
public OverlayLayer.ModalityLevel getModalityLevel()
getModalityLevel
in interface DialogView
OverlayLayer.ModalityLevel.STRONG
if not set.public void setModalityLevel(OverlayLayer.ModalityLevel modalityLevel)
setModalityLevel
in interface DialogView
public void setWide(boolean isWide)
setWide
in interface DialogView
Copyright © 2015 Magnolia International Ltd.. All rights reserved.