Class CadastroIndicadorViewImpl

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

@Component @Scope("prototype") public class CadastroIndicadorViewImpl extends AbstractTabbedFormView<Indicador> implements CadastroIndicadorView
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
     
    DecimalField
     
    Button
     
    Table
     
    TextField
     
    Table
     
    DecimalField
     
    TextField
     
    RichTextArea
     
    RichTextArea
     
    Button
     
    Button
     
     
    boolean
     
    boolean
     
    void
     
    protected void
     
    void
    setReadOnly(boolean isReadOnly)
     
    void
    updateViewFromModel(Indicador model)
     

    Methods inherited from class AbstractTabbedFormView

    addFormComponent, getButtonClose, getButtonDelete, getButtonNew, getButtonSave, getButtonSearch, getButtonUndo, getContentLayout, isFormComponentEnabled, removeFormComponent, selectedTabChange, 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, 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, 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

    • CadastroIndicadorViewImpl

      public CadastroIndicadorViewImpl()
  • Method Details

    • updateViewFromModel

      public void updateViewFromModel(Indicador model)
      Specified by:
      updateViewFromModel in interface FormView<Indicador>
    • commitModelChanges

      public void commitModelChanges()
      Specified by:
      commitModelChanges in interface FormView<Indicador>
    • setReadOnly

      public void setReadOnly(boolean isReadOnly)
      Specified by:
      setReadOnly in interface CadastroIndicadorView
      Overrides:
      setReadOnly in class AbstractComponent
    • isReadOnly

      public boolean isReadOnly()
      Overrides:
      isReadOnly in class AbstractComponent
    • rollbackModelChanges

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

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

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

      protected void setForms()
      Specified by:
      setForms in class AbstractTabbedFormView<Indicador>
    • getSiglaField

      public TextField getSiglaField()
      Specified by:
      getSiglaField in interface CadastroIndicadorView
    • getNomeField

      public TextField getNomeField()
      Specified by:
      getNomeField in interface CadastroIndicadorView
    • getPesoField

      public DecimalField getPesoField()
      Specified by:
      getPesoField in interface CadastroIndicadorView
    • getAlvoField

      public DecimalField getAlvoField()
      Specified by:
      getAlvoField in interface CadastroIndicadorView
    • getCorAddButton

      public Button getCorAddButton()
      Specified by:
      getCorAddButton in interface CadastroIndicadorView
    • getCoresTable

      public Table getCoresTable()
      Specified by:
      getCoresTable in interface CadastroIndicadorView
    • getTemplateMapaField

      public RichTextArea getTemplateMapaField()
      Specified by:
      getTemplateMapaField in interface CadastroIndicadorView
    • getTemplateGridField

      public RichTextArea getTemplateGridField()
      Specified by:
      getTemplateGridField in interface CadastroIndicadorView
    • getTestButtonMapa

      public Button getTestButtonMapa()
      Specified by:
      getTestButtonMapa in interface CadastroIndicadorView
    • getTestButtonGrid

      public Button getTestButtonGrid()
      Specified by:
      getTestButtonGrid in interface CadastroIndicadorView
    • getObjetivosTable

      public Table getObjetivosTable()
      Specified by:
      getObjetivosTable in interface CadastroIndicadorView