Class CreatorView
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.gcube.portlets.widgets.ckan2zenodopublisher.client.ui.authors.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.CompositeThe Class CreatorView.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jan 15, 2020
-
-
Constructor Summary
Constructors Constructor Description CreatorView(ZenodoAuthor author, String userRole, com.google.gwt.event.shared.HandlerManager eventBus, Boolean isFieldMandatory)Instantiates a new creator view.CreatorView(ZenodoAuthor author, String userRole, Boolean isMandatoryField)Instantiates a new creator view.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZenodoAuthorgetAuthor()Gets the author.StringgetAuthorTypeValue()Gets the author type value.com.github.gwtbootstrap.client.ui.ControlGroupgetControlGroup_Author()Gets the control group author.com.github.gwtbootstrap.client.ui.TextBoxgetField_affiliation()Gets the field affiliation.com.github.gwtbootstrap.client.ui.ListBoxgetField_author_type()Gets the field author type.com.github.gwtbootstrap.client.ui.TextBoxgetField_name()Gets the field name.com.github.gwtbootstrap.client.ui.TextBoxgetField_orcid()Gets the field orcid.StringgetUserRole()Gets the user role.booleanisMandatoryField()Checks if is mandatory field.voidsetField_affiliation(String field_affiliation)Sets the field affiliation.voidsetField_name(String field_name)Sets the field name.voidsetField_orcid(String field_orcid)Sets the field orcid.voidsetVisibleRemoveCreator(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 authoruserRole- the user roleisMandatoryField- 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 authoruserRole- the user roleeventBus- the event busisFieldMandatory- 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
-
-