Class ScriptEndpointViewImpl

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

@Component @Scope("prototype") public class ScriptEndpointViewImpl extends AbstractTabbedFormView<ScriptEndpoint> implements ScriptEndpointView
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
     
    AbstractSelect
     
    TextField
     
    Button
     
    Button
     
    TextField
     
    ComboBox
     
    TextField
     
     
    boolean
     
    boolean
     
    void
     
    protected void
     
    void
    updateViewFromModel(ScriptEndpoint 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, 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

    • ScriptEndpointViewImpl

      public ScriptEndpointViewImpl()
  • Method Details

    • updateViewFromModel

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

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

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

      public boolean isValid()
      Specified by:
      isValid in interface FormView<ScriptEndpoint>
    • isAuthValid

      public boolean isAuthValid()
      Specified by:
      isAuthValid in interface ScriptEndpointView
    • getTitle

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

      protected void setForms()
      Specified by:
      setForms in class AbstractTabbedFormView<ScriptEndpoint>
    • getGenerateTokenButton

      public Button getGenerateTokenButton()
      Specified by:
      getGenerateTokenButton in interface ScriptEndpointView
    • getAuthTokenField

      public TextField getAuthTokenField()
      Specified by:
      getAuthTokenField in interface ScriptEndpointView
    • getKeyField

      public TextField getKeyField()
      Specified by:
      getKeyField in interface ScriptEndpointView
    • getNomeField

      public TextField getNomeField()
      Specified by:
      getNomeField in interface ScriptEndpointView
    • getLinguagemField

      public ComboBox getLinguagemField()
      Specified by:
      getLinguagemField in interface ScriptEndpointView
    • getGenerateUrlButton

      public Button getGenerateUrlButton()
      Specified by:
      getGenerateUrlButton in interface ScriptEndpointView
    • getAuthModeField

      public AbstractSelect getAuthModeField()
      Specified by:
      getAuthModeField in interface ScriptEndpointView