public class BaseDialog
extends com.vaadin.ui.AbstractComponent
implements com.vaadin.ui.HasComponents
Modifier and Type | Class and Description |
---|---|
static class |
BaseDialog.DescriptionVisibilityEvent
DescriptionVisibilityEvent.
|
static class |
BaseDialog.DialogCloseEvent
DialogCloseEvent.
|
static class |
BaseDialog.WideEvent
DescriptionVisibilityEvent.
|
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
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
Modifier and Type | Field and Description |
---|---|
static String |
CANCEL_ACTION_NAME |
static String |
COMMIT_ACTION_NAME |
Constructor and Description |
---|
BaseDialog() |
Modifier and Type | Method and Description |
---|---|
void |
addDescriptionVisibilityHandler(BaseDialog.DescriptionVisibilityEvent.Handler handler) |
void |
addDialogCloseHandler(BaseDialog.DialogCloseEvent.Handler handler) |
void |
addWideHandler(BaseDialog.WideEvent.Handler handler) |
protected void |
adoptComponent(com.vaadin.ui.Component newContent)
Sets a Component
The composition root must be set to non-null value before the component can be used.
|
void |
closeSelf() |
protected com.vaadin.ui.Component |
createDefaultContent() |
protected com.vaadin.ui.Component |
createDefaultFooter() |
protected com.vaadin.ui.Component |
createDefaultHeader() |
com.vaadin.ui.Component |
getContent() |
protected BaseDialogState |
getState() |
Iterator<com.vaadin.ui.Component> |
iterator() |
void |
removeDescriptionVisibilityHandler(BaseDialog.DescriptionVisibilityEvent.Handler handler) |
void |
removeDialogCloseHandler(BaseDialog.DialogCloseEvent.Handler handler) |
void |
removeWideHandler(BaseDialog.DialogCloseEvent.Handler handler) |
void |
setCaption(String caption) |
void |
setContent(com.vaadin.ui.Component newContent) |
void |
setDescriptionVisibility(boolean isVisible) |
void |
setDialogDescription(String description) |
void |
setFooterToolbar(com.vaadin.ui.Component newFooter) |
void |
setHeaderToolbar(com.vaadin.ui.Component newHeader) |
void |
setModalityLevel(String modalityLevel) |
void |
setWide(boolean isWide) |
void |
setWideOnClient(boolean isWide) |
void |
showCloseButton() |
addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getExplicitImmediateValue, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getState, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined, writeDesign
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, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isReadOnly, isVisible, readDesign, removeListener, removeStyleName, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setReadOnly, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthUndefined
forEach, spliterator
public static final String CANCEL_ACTION_NAME
public static final String COMMIT_ACTION_NAME
protected BaseDialogState getState()
getState
in class com.vaadin.ui.AbstractComponent
public void closeSelf()
public void setWide(boolean isWide)
public void setDescriptionVisibility(boolean isVisible)
public void setDialogDescription(String description)
public Iterator<com.vaadin.ui.Component> iterator()
public void setContent(com.vaadin.ui.Component newContent)
public void setHeaderToolbar(com.vaadin.ui.Component newHeader)
public void setFooterToolbar(com.vaadin.ui.Component newFooter)
protected void adoptComponent(com.vaadin.ui.Component newContent)
The composition root must be set to non-null value before the component can be used. The composition root can only be set once.
newContent
- the root of the composition component tree.public com.vaadin.ui.Component getContent()
public void setCaption(String caption)
setCaption
in interface com.vaadin.ui.Component
setCaption
in class com.vaadin.ui.AbstractComponent
protected com.vaadin.ui.Component createDefaultContent()
protected com.vaadin.ui.Component createDefaultHeader()
protected com.vaadin.ui.Component createDefaultFooter()
public void showCloseButton()
public void setModalityLevel(String modalityLevel)
public void setWideOnClient(boolean isWide)
public void addDescriptionVisibilityHandler(BaseDialog.DescriptionVisibilityEvent.Handler handler)
public void removeDescriptionVisibilityHandler(BaseDialog.DescriptionVisibilityEvent.Handler handler)
public void addWideHandler(BaseDialog.WideEvent.Handler handler)
public void removeWideHandler(BaseDialog.DialogCloseEvent.Handler handler)
public void addDialogCloseHandler(BaseDialog.DialogCloseEvent.Handler handler)
public void removeDialogCloseHandler(BaseDialog.DialogCloseEvent.Handler handler)
Copyright © 2017 Magnolia International Ltd.. All rights reserved.