Class CreatorView

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

    public class CreatorView
    extends com.google.gwt.user.client.ui.Composite
    The Class CreatorView.
    Author:
    Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jan 15, 2020
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
    • Field Summary

      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ZenodoAuthor getAuthor()
      Gets the author.
      String getAuthorTypeValue()
      Gets the author type value.
      com.github.gwtbootstrap.client.ui.ControlGroup getControlGroup_Author()
      Gets the control group author.
      com.github.gwtbootstrap.client.ui.TextBox getField_affiliation()
      Gets the field affiliation.
      com.github.gwtbootstrap.client.ui.ListBox getField_author_type()
      Gets the field author type.
      com.github.gwtbootstrap.client.ui.TextBox getField_name()
      Gets the field name.
      com.github.gwtbootstrap.client.ui.TextBox getField_orcid()
      Gets the field orcid.
      String getUserRole()
      Gets the user role.
      boolean isMandatoryField()
      Checks if is mandatory field.
      void setField_affiliation​(String field_affiliation)
      Sets the field affiliation.
      void setField_name​(String field_name)
      Sets the field name.
      void setField_orcid​(String field_orcid)
      Sets the field orcid.
      void setVisibleRemoveCreator​(boolean visible)
      Sets the visible remove creator.
      • Methods inherited from class com.google.gwt.user.client.ui.Composite

        claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
    • Constructor Detail

      • CreatorView

        public CreatorView​(ZenodoAuthor author,
                           String userRole,
                           Boolean isMandatoryField)
        Instantiates a new creator view.
        Parameters:
        author - the author
        userRole - the user role
        isMandatoryField - the is mandatory field
      • CreatorView

        public CreatorView​(ZenodoAuthor author,
                           String userRole,
                           com.google.gwt.event.shared.HandlerManager eventBus,
                           Boolean isFieldMandatory)
        Instantiates a new creator view.
        Parameters:
        author - the author
        userRole - the user role
        eventBus - the event bus
        isFieldMandatory - the is field mandatory
    • Method Detail

      • setVisibleRemoveCreator

        public void setVisibleRemoveCreator​(boolean visible)
        Sets the visible remove creator.
        Parameters:
        visible - the new visible remove creator
      • isMandatoryField

        public boolean isMandatoryField()
        Checks if is mandatory field.
        Returns:
        true, if is mandatory field
      • getField_name

        public com.github.gwtbootstrap.client.ui.TextBox getField_name()
        Gets the field name.
        Returns:
        the field name
      • setField_name

        public void setField_name​(String field_name)
        Sets the field name.
        Parameters:
        field_name - the new field name
      • getField_affiliation

        public com.github.gwtbootstrap.client.ui.TextBox getField_affiliation()
        Gets the field affiliation.
        Returns:
        the field affiliation
      • setField_affiliation

        public void setField_affiliation​(String field_affiliation)
        Sets the field affiliation.
        Parameters:
        field_affiliation - the new field affiliation
      • getField_orcid

        public com.github.gwtbootstrap.client.ui.TextBox getField_orcid()
        Gets the field orcid.
        Returns:
        the field orcid
      • setField_orcid

        public void setField_orcid​(String field_orcid)
        Sets the field orcid.
        Parameters:
        field_orcid - the new field orcid
      • getControlGroup_Author

        public com.github.gwtbootstrap.client.ui.ControlGroup getControlGroup_Author()
        Gets the control group author.
        Returns:
        the control group author
      • getUserRole

        public String getUserRole()
        Gets the user role.
        Returns:
        the user role
      • getAuthor

        public ZenodoAuthor getAuthor()
        Gets the author.
        Returns:
        the author
      • getField_author_type

        public com.github.gwtbootstrap.client.ui.ListBox getField_author_type()
        Gets the field author type.
        Returns:
        the field author type
      • getAuthorTypeValue

        public String getAuthorTypeValue()
        Gets the author type value.
        Returns:
        the author type value