java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
com.vaadin.ui.AbstractSingleComponentContainer
com.vaadin.ui.Panel
com.hack23.cia.web.impl.ui.application.views.common.AbstractView
All Implemented Interfaces:
com.vaadin.event.Action.Container, com.vaadin.event.Action.Notifier, com.vaadin.event.ConnectorEventListener, com.vaadin.event.ContextClickEvent.ContextClickNotifier, com.vaadin.event.MethodEventSource, com.vaadin.event.SerializableEventListener, com.vaadin.navigator.View, com.vaadin.server.ClientConnector, com.vaadin.server.Scrollable, com.vaadin.server.Sizeable, com.vaadin.server.VariableOwner, com.vaadin.shared.Connector, com.vaadin.ui.Component, com.vaadin.ui.Component.Focusable, com.vaadin.ui.HasComponents, com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.LegacyComponent, com.vaadin.ui.SingleComponentContainer, Serializable, Iterable<com.vaadin.ui.Component>, EventListener
Direct Known Subclasses:
AbstractAdminView, AbstractUserView, DashboardView, MainView

public abstract class AbstractView extends com.vaadin.ui.Panel implements com.vaadin.navigator.View
The Class AbstractView.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector

    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

    Nested classes/interfaces inherited from interface com.vaadin.ui.Component

    com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener

    Nested classes/interfaces inherited from interface com.vaadin.ui.HasComponents

    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

    Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable

    com.vaadin.server.Sizeable.Unit
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The application name.
    protected String
    The application url.
    protected String
    The application version.
    The page action event helper.
    protected PageLinkFactory
    The page link factory.

    Fields inherited from class com.vaadin.ui.Panel

    actionManager

    Fields inherited from class com.vaadin.ui.AbstractComponent

    DESIGN_ATTR_PLAIN_TEXT

    Fields inherited from interface com.vaadin.server.Sizeable

    SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractView(Map<String,PageModeContentFactory> pageModeContentFactoryMap, String pageName)
    Instantiates a new abstract view.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final void
    Creates the basic layout with panel and footer.
    final void
    enter(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event)
     
    final com.vaadin.ui.MenuBar
    Gets the barmenu.
    protected final com.vaadin.ui.Panel
    Gets the panel.
    final void
    Post construct.

    Methods inherited from class com.vaadin.ui.Panel

    addAction, addActionHandler, addClickListener, changeVariables, focus, getActionManager, getCustomAttributes, getScrollLeft, getScrollTop, getState, getState, getTabIndex, paintContent, readDesign, removeAction, removeActionHandler, removeAllActionHandlers, removeClickListener, setCaption, setScrollLeft, setScrollTop, setTabIndex, writeDesign

    Methods inherited from class com.vaadin.ui.AbstractSingleComponentContainer

    addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getComponentCount, getContent, iterator, readDesignChildren, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setContent, setHeight, setWidth

    Methods inherited from class com.vaadin.ui.AbstractComponent

    addContextClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, 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, setWidthUndefined

    Methods inherited from class com.vaadin.server.AbstractClientConnector

    addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.server.ClientConnector

    addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler

    Methods inherited from interface com.vaadin.ui.Component

    addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface com.vaadin.ui.LegacyComponent

    markAsDirty

    Methods inherited from interface com.vaadin.server.Sizeable

    getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined

    Methods inherited from interface com.vaadin.server.VariableOwner

    isEnabled

    Methods inherited from interface com.vaadin.navigator.View

    beforeLeave, getViewComponent
  • Field Details

    • pageActionEventHelper

      @Autowired protected transient PageActionEventHelper pageActionEventHelper
      The page action event helper.
    • pageLinkFactory

      @Autowired protected transient PageLinkFactory pageLinkFactory
      The page link factory.
    • applicationName

      @Value("${application.name}") protected String applicationName
      The application name.
    • applicationVersion

      @Value("${application.version}") protected String applicationVersion
      The application version.
    • applicationUrl

      @Value("${application.url}") protected String applicationUrl
      The application url.
  • Constructor Details

    • AbstractView

      protected AbstractView(Map<String,PageModeContentFactory> pageModeContentFactoryMap, String pageName)
      Instantiates a new abstract view.
      Parameters:
      pageModeContentFactoryMap - the page mode content factory map
      pageName - the page name
  • Method Details

    • createBasicLayoutWithPanelAndFooter

      protected final void createBasicLayoutWithPanelAndFooter(String panelName)
      Creates the basic layout with panel and footer.
      Parameters:
      panelName - the panel name
    • enter

      public final void enter(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event)
      Specified by:
      enter in interface com.vaadin.navigator.View
    • getBarmenu

      public final com.vaadin.ui.MenuBar getBarmenu()
      Gets the barmenu.
      Returns:
      the barmenu
    • getPanel

      protected final com.vaadin.ui.Panel getPanel()
      Gets the panel.
      Returns:
      the panel
    • postConstruct

      @PostConstruct public final void postConstruct()
      Post construct.