Class CadastroProcessoViewImpl

Object
AbstractClientConnector
AbstractComponent
CustomComponent
AbstractBaseView
AbstractDefaultFormView
AbstractDefaultFormCrudView<Processo>
AbstractTabbedFormView<Processo>
CadastroProcessoViewImpl
All Implemented Interfaces:
DefaultFormView<Processo>, FormView<Processo>, View, CadastroProcessoView, ContextClickEvent.ContextClickNotifier, MethodEventSource, SerializableEventListener, ClientConnector, Sizeable, Connector, Component, HasComponents, TabSheet.SelectedTabChangeListener, Serializable, Iterable<Component>, EventListener

@Component @Scope("prototype") public class CadastroProcessoViewImpl extends AbstractTabbedFormView<Processo> implements CadastroProcessoView
See Also:
  • Nested Class Summary

    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 inherited from class AbstractTabbedFormView

    _formContainer

    Fields inherited from class AbstractBaseView

    _contentLayout, _drawed, _eventBus, _iconImage, _iconImageRight, _iconLayout, _iconLayoutRight, _mainLayout, _mediumIcon, _mediumIconRight, _title, _topCenterLayout, _topLayout, _topLayoutConainer

    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
    void
     
    void
    exibirVersoes(List<ProcessoVersao> versoes)
     
    BeanItemContainer<ProcessoVersao>
     
    Table
     
     
    VerticalLayout
     
    boolean
     
    void
     
    void
    selectedTabChange(TabSheet.SelectedTabChangeEvent event)
     
    void
    setContainerVersoes(BeanItemContainer<ProcessoVersao> container)
     
    protected void
     
    void
    setTabelaVersoes(Table tabela)
     
    void
    updateViewFromModel(Processo model)
     

    Methods inherited from class AbstractTabbedFormView

    addFormComponent, getButtonClose, getButtonDelete, getButtonNew, getButtonSave, getButtonSearch, getButtonUndo, getContentLayout, isFormComponentEnabled, removeFormComponent, setFormComponentEnabled, setFormComponentVisible

    Methods inherited from class AbstractDefaultFormCrudView

    _draw, getFormState, setFormState

    Methods inherited from class AbstractDefaultFormView

    addButtonLeftSide, addButtonLeftSide, addButtonLeftSideAtLastPosition, addButtonRightSide, addButtonRightSide, addButtonRightSideAtLastPosition, createPasswordField, createTextArea, createTextArea, createTextField, createTextField

    Methods inherited from class AbstractBaseView

    attach, createWrapperContainer, getEventBus, getFooterLayout, getHeaderDescription, getMediumIcon, getViewComponent, setCenterContent, setEventBus, setHeader, setHeaderDescription, setHeaderIcon, setHeaderIcon, setTitle

    Methods inherited from class CustomComponent

    getComponentCount, getCompositionRoot, getState, getState, iterator, setCompositionRoot

    Methods inherited from class AbstractComponent

    addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined, writeDesign

    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, 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 Object

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

    Methods inherited from interface ClientConnector

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

    Methods inherited from interface Component

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

    Methods inherited from interface Connector

    getConnectorId

    Methods inherited from interface DefaultFormView

    getButtonDelete, getButtonNew, getButtonSearch, getButtonUndo, setHeaderDescription

    Methods inherited from interface FormView

    getButtonClose, getButtonSave, getEventBus, getFormState, setEventBus, setFormState

    Methods inherited from interface Iterable

    forEach, spliterator

    Methods inherited from interface Sizeable

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

    Methods inherited from interface View

    getViewComponent
  • Constructor Details

    • CadastroProcessoViewImpl

      public CadastroProcessoViewImpl()
  • Method Details

    • updateViewFromModel

      public void updateViewFromModel(Processo model)
      Specified by:
      updateViewFromModel in interface FormView<Processo>
    • exibirVersoes

      public void exibirVersoes(List<ProcessoVersao> versoes)
      Specified by:
      exibirVersoes in interface CadastroProcessoView
    • commitModelChanges

      public void commitModelChanges()
      Specified by:
      commitModelChanges in interface FormView<Processo>
    • rollbackModelChanges

      public void rollbackModelChanges()
      Specified by:
      rollbackModelChanges in interface FormView<Processo>
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface FormView<Processo>
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface View
    • setForms

      protected void setForms()
      Specified by:
      setForms in class AbstractTabbedFormView<Processo>
    • selectedTabChange

      public void selectedTabChange(TabSheet.SelectedTabChangeEvent event)
      Specified by:
      selectedTabChange in interface TabSheet.SelectedTabChangeListener
      Overrides:
      selectedTabChange in class AbstractTabbedFormView<Processo>
    • getTabelaVersoes

      public Table getTabelaVersoes()
      Specified by:
      getTabelaVersoes in interface CadastroProcessoView
    • setTabelaVersoes

      public void setTabelaVersoes(Table tabela)
      Specified by:
      setTabelaVersoes in interface CadastroProcessoView
    • getContainerVersoes

      public BeanItemContainer<ProcessoVersao> getContainerVersoes()
      Specified by:
      getContainerVersoes in interface CadastroProcessoView
    • setContainerVersoes

      public void setContainerVersoes(BeanItemContainer<ProcessoVersao> container)
      Specified by:
      setContainerVersoes in interface CadastroProcessoView
    • getVersaoLayout

      public VerticalLayout getVersaoLayout()
      Specified by:
      getVersaoLayout in interface CadastroProcessoView