Class AbstractRTFormDevelopmentUI

Object
AbstractClientConnector
AbstractComponent
AbstractSingleComponentContainer
UI
AbstractBaseUI
AbstractRTFormDevelopmentUI
All Implemented Interfaces:
ApplicationSession, DownloadUI, SessionDataTokenProtectedUI, 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
Direct Known Subclasses:
PanelRTDevelopmentUI, TaskRTDevelopmentUI

public abstract class AbstractRTFormDevelopmentUI extends AbstractBaseUI implements SessionDataTokenProtectedUI
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class UI

    UI.WindowOrderUpdateEvent, UI.WindowOrderUpdateListener

    Nested classes/interfaces inherited from interface ClientConnector

    ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener

    Nested classes/interfaces inherited from interface Component

    Component.ErrorEvent, Component.Event, Component.Focusable, Component.Listener

    Nested classes/interfaces inherited from interface HasComponents

    HasComponents.ComponentAttachDetachNotifier, HasComponents.ComponentAttachEvent, HasComponents.ComponentAttachListener, HasComponents.ComponentDetachEvent, HasComponents.ComponentDetachListener

    Nested classes/interfaces inherited from interface Sizeable

    Sizeable.Unit
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     
    protected VerticalLayout
     
    protected EventBus
     
    protected HorizontalLayout
     
    protected Panel
     
    protected Window
     
    protected Throwable
     
    protected VerticalLayout
     
    protected static final Logger
     
    protected VerticalLayout
     
    protected VerticalLayout
     
    protected HorizontalLayout
     
    protected SliderPanel
     
    protected String
     
    protected Button
     
    protected JWTTokenUtil
     
    protected UsuarioService
     

    Fields inherited from class AbstractBaseUI

    _logger, active

    Fields inherited from class UI

    actionManager

    Fields inherited from class AbstractComponent

    DESIGN_ATTR_PLAIN_TEXT

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Button
     
    protected String
     
    protected Component
     
    protected void
     
    void
     
    protected void
    init(VaadinRequest request)
     
    protected void
     
    protected void
     
    protected void
     
    protected abstract BasicFormPresenter<? extends BaseForm,? extends BaseFormData,? extends BaseFormView<? extends BaseForm>>
    parsePresenter(String xmlFormData)
    Executa o parse e construcao do Presenter com base no XML de Formulario informado
    protected void
    replaceMainComponent(Component c)
     
    protected void
     
    protected void
     
    protected void
    showForm(Component c)
     
    protected void
     
    protected void
     
    protected void
     

    Methods inherited from class UI

    access, accessSynchronously, addAction, addActionHandler, addClickListener, addPollListener, addWindow, addWindowOrderUpdateListener, attach, changeVariables, close, detach, 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, showNotification

    Methods inherited from class AbstractSingleComponentContainer

    addComponentAttachListener, addComponentDetachListener, fireComponentAttachEvent, fireComponentDetachEvent, getContent, readDesign, readDesignChildren, removeComponentAttachListener, removeComponentDetachListener, removeFromParent, setHeight, setWidth, writeDesign

    Methods 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, setWidthUndefined

    Methods 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, updateDiffstate

    Methods inherited from class Object

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

    Methods inherited from interface ClientConnector

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

    Methods 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, writeDesign

    Methods inherited from interface Connector

    getConnectorId

    Methods inherited from interface Iterable

    forEach, spliterator

    Methods inherited from interface LegacyComponent

    markAsDirty

    Methods inherited from interface Sizeable

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

    Methods inherited from interface VariableOwner

    isEnabled
  • Field Details

    • mainLayout

      protected VerticalLayout mainLayout
    • footerContainer

      protected HorizontalLayout footerContainer
    • errorLayout

      protected VerticalLayout errorLayout
    • showLastExceptionError

      protected Button showLastExceptionError
    • lastException

      protected Throwable lastException
    • noFormView

      protected VerticalLayout noFormView
    • optionsLayout

      protected HorizontalLayout optionsLayout
    • loadingLayout

      protected VerticalLayout loadingLayout
    • optionsPanel

      protected SliderPanel optionsPanel
    • formAreaPanel

      protected Panel formAreaPanel
    • currentUUID

      protected String currentUUID
    • eventBus

      protected EventBus eventBus
    • tokenUtil

      protected JWTTokenUtil tokenUtil
    • usuarioService

      protected UsuarioService usuarioService
    • logger

      protected static final Logger logger
    • requestToken

      protected String requestToken
    • lastEndpointDisplayedWindow

      protected Window lastEndpointDisplayedWindow
  • Constructor Details

    • AbstractRTFormDevelopmentUI

      public AbstractRTFormDevelopmentUI()
  • Method Details

    • parsePresenter

      protected abstract BasicFormPresenter<? extends BaseForm,? extends BaseFormData,? extends BaseFormView<? extends BaseForm>> parsePresenter(String xmlFormData) throws IllegalArgumentException
      Executa o parse e construcao do Presenter com base no XML de Formulario informado
      Parameters:
      xmlFormData -
      Returns:
      Throws:
      IllegalArgumentException
    • cleanupCurrentPresenter

      protected void cleanupCurrentPresenter(BasicFormPresenter<?,?,?> currentPresenter)
    • buildFooterLayout

      protected Component buildFooterLayout()
    • initServices

      protected void initServices()
    • init

      protected void init(VaadinRequest request)
      Overrides:
      init in class AbstractBaseUI
    • initLayoutAndEvents

      protected void initLayoutAndEvents()
    • handleFormUpdateEvent

      public void handleFormUpdateEvent(FormUpdateEvent event)
    • replaceMainComponent

      protected void replaceMainComponent(Component c)
    • showErrorView

      protected void showErrorView()
    • showErrorView

      protected void showErrorView(Throwable e)
    • showNoFormView

      protected void showNoFormView()
    • showLoadingView

      protected void showLoadingView()
    • showForm

      protected void showForm(Component c)
    • buildEndpointURL

      protected String buildEndpointURL(String uiID)
    • buildDefaultShowRTEndpointInfo

      protected Button buildDefaultShowRTEndpointInfo()
    • showRTEndpointInfo

      protected void showRTEndpointInfo()
    • onCleanup

      protected void onCleanup()
      Overrides:
      onCleanup in class AbstractBaseUI