Package br.com.davinti.vitruvio.ui.core
Class MainApplication
Object
AbstractClientConnector
AbstractComponent
AbstractSingleComponentContainer
UI
MainApplication
- All Implemented Interfaces:
ApplicationSession,DownloadUI,UIContextProvider,WindowOpenerCapableUI,Action.Container,Action.Notifier,ConnectorEventListener,ContextClickEvent.ContextClickNotifier,MethodEventSource,SerializableEventListener,UIEvents.PollNotifier,ClientConnector,Sizeable,VariableOwner,Connector,Component,Component.Focusable,HasComponents,HasComponents.ComponentAttachDetachNotifier,LegacyComponent,SingleComponentContainer,Serializable,Iterable<Component>,EventListener
@Component
@Scope("prototype")
@StyleSheet("app://VAADIN/jslibs/animate/animate.css")
public class MainApplication
extends UI
implements ApplicationSession, DownloadUI, UIContextProvider, WindowOpenerCapableUI
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class UI
UI.WindowOrderUpdateEvent, UI.WindowOrderUpdateListenerNested classes/interfaces inherited from interface ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListenerNested classes/interfaces inherited from interface Component
Component.ErrorEvent, Component.Event, Component.Focusable, Component.ListenerNested classes/interfaces inherited from interface HasComponents
HasComponents.ComponentAttachDetachNotifier, HasComponents.ComponentAttachEvent, HasComponents.ComponentAttachListener, HasComponents.ComponentDetachEvent, HasComponents.ComponentDetachListenerNested classes/interfaces inherited from interface Sizeable
Sizeable.Unit -
Field Summary
FieldsFields inherited from class UI
actionManagerFields inherited from class AbstractComponent
DESIGN_ATTR_PLAIN_TEXTFields inherited from interface Sizeable
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddetach()voidApplicationRouterDesktopNotificationSessionRouterSessionHandlerManagerSessionStorageUIUIManagerUserInfoprotected voidinit(VaadinRequest request) voidlogout()voidrequestDownload(Resource resource) voidsetApplicationRouter(ApplicationRouter router) voidsetSessionRouter(SessionRouter router) Methods inherited from class UI
access, accessSynchronously, addAction, addActionHandler, addClickListener, addPollListener, addWindow, addWindowOrderUpdateListener, attach, changeVariables, close, doInit, doRefresh, focus, getActionManager, getActiveDragSource, getComponentCount, getConnectorTracker, getCurrent, getEmbedId, getLastHeartbeatTimestamp, getLastProcessedClientToServerId, getLoadingIndicatorConfiguration, getLocaleService, getNavigator, getNotificationConfiguration, getOverlayContainerLabel, getPage, getPollInterval, getPushConfiguration, getPushConnection, getReconnectDialogConfiguration, getScrollLeft, getScrollTop, getSession, getState, getState, getStateType, getTabIndex, getTheme, getTooltipConfiguration, getUI, getUIId, getUiPathInfo, getUiRootPath, getWindows, isClosing, isConnectorEnabled, isMobileHtml5DndEnabled, isResizeLazy, isUsingThoroughSizeCheck, iterator, paintContent, push, refresh, removeAction, removeActionHandler, removeClickListener, removePollListener, removeWindow, scrollIntoView, setActiveDragSource, setCaption, setContent, setCurrent, setFocusedComponent, setLastHeartbeatTimestamp, setLastProcessedClientToServerId, setMobileHtml5DndEnabled, setNavigator, setOverlayContainerLabel, setPollInterval, setPushConnection, setResizeLazy, setScrollLeft, setScrollTop, setSession, setTabIndex, setTheme, setUsingThoroughSizeCheck, showNotification, showNotification, showNotification, showNotification, showNotification, showNotificationMethods inherited from class AbstractSingleComponentContainer
addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getContent, readDesign, readDesignChildren, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setHeight, setWidth, writeDesignMethods inherited from class AbstractComponent
addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefinedMethods inherited from class AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ClientConnector
addAttachListener, addDetachListener, beforeClientResponse, encodeState, getErrorHandler, getExtensions, getRpcManager, handleConnectorRequest, isAttached, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerMethods inherited from interface Component
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesignMethods inherited from interface Connector
getConnectorIdMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface LegacyComponent
markAsDirtyMethods inherited from interface Sizeable
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefinedMethods inherited from interface VariableOwner
isEnabled
-
Field Details
-
VITRUVIO_TOKEN_ID
- See Also:
-
SESSION_DEADLINE_ATTR
- See Also:
-
-
Constructor Details
-
MainApplication
public MainApplication()
-
-
Method Details
-
init
protected void init(VaadinRequest request) - Specified by:
initin classUI
-
requestDownload
public void requestDownload(Resource resource) - Specified by:
requestDownloadin interfaceDownloadUI
-
detach
public void detach()- Specified by:
detachin interfaceClientConnector- Overrides:
detachin classUI
-
getRootPresenter
-
getUserInfo
public UserInfo getUserInfo()- Specified by:
getUserInfoin interfaceApplicationSession
-
getUIManager
public UIManager getUIManager()- Specified by:
getUIManagerin interfaceApplicationSession
-
getSessionStorage
public SessionStorage getSessionStorage()- Specified by:
getSessionStoragein interfaceApplicationSession
-
setSessionRouter
@Autowired @Qualifier("sessionRouter") public void setSessionRouter(SessionRouter router) -
getSessionEventRouter
public SessionRouter getSessionEventRouter()- Specified by:
getSessionEventRouterin interfaceApplicationSession
-
setApplicationRouter
@Autowired @Qualifier("applicationRouter") public void setApplicationRouter(ApplicationRouter router) -
getApplicationEventRouter
public ApplicationRouter getApplicationEventRouter()- Specified by:
getApplicationEventRouterin interfaceApplicationSession
-
getSessionHandlerManager
public SessionHandlerManager getSessionHandlerManager()- Specified by:
getSessionHandlerManagerin interfaceApplicationSession
-
getUIInstance
public UI getUIInstance()- Specified by:
getUIInstancein interfaceApplicationSession
-
logout
public void logout()- Specified by:
logoutin interfaceApplicationSession
-
getDesktopNotificationManager
public DesktopNotification getDesktopNotificationManager() -
getWindowOpener
- Specified by:
getWindowOpenerin interfaceWindowOpenerCapableUI
-
getActiveContextProviders
- Specified by:
getActiveContextProvidersin interfaceUIContextProvider
-
fireReloadNotificationsEvent
public void fireReloadNotificationsEvent()
-