Class ResourceInfoForm
- 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.ckandatapublisherwidget.client.ui.workspace.ResourceInfoForm
-
- 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 ResourceInfoForm extends com.google.gwt.user.client.ui.CompositeA resource information form panel- Author:
- Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
-
-
Field Summary
Fields Modifier and Type Field Description com.github.gwtbootstrap.client.ui.TextArearesourceDescriptioncom.github.gwtbootstrap.client.ui.TextBoxresourceFormatcom.github.gwtbootstrap.client.ui.TextBoxresourceNamecom.github.gwtbootstrap.client.ui.TextBoxresourcePathcom.github.gwtbootstrap.client.ui.ButtonupdateResourceButton
-
Constructor Summary
Constructors Constructor Description ResourceInfoForm(ResourceElementBean resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclearPanel()ResourceElementBeangetResourceBean()StringgetResourceDescription()StringgetResourceFormat()StringgetResourceName()StringgetResourcePath()voidremoveError(com.github.gwtbootstrap.client.ui.ControlGroup control)voidsetResourceFormat(String resourceFormat)voidsetResourceName(String resourceName)voidsetResourcePath(String resourcePath)voidshowError(com.github.gwtbootstrap.client.ui.ControlGroup control)-
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
-
-
-
-
Field Detail
-
resourceName
@UiField public com.github.gwtbootstrap.client.ui.TextBox resourceName
-
resourcePath
@UiField public com.github.gwtbootstrap.client.ui.TextBox resourcePath
-
resourceFormat
@UiField public com.github.gwtbootstrap.client.ui.TextBox resourceFormat
-
resourceDescription
@UiField public com.github.gwtbootstrap.client.ui.TextArea resourceDescription
-
updateResourceButton
@UiField public com.github.gwtbootstrap.client.ui.Button updateResourceButton
-
-
Constructor Detail
-
ResourceInfoForm
public ResourceInfoForm(ResourceElementBean resource)
-
-
Method Detail
-
getResourceName
public String getResourceName()
-
setResourceName
public void setResourceName(String resourceName)
-
getResourcePath
public String getResourcePath()
-
setResourcePath
public void setResourcePath(String resourcePath)
-
getResourceFormat
public String getResourceFormat()
-
setResourceFormat
public void setResourceFormat(String resourceFormat)
-
getResourceDescription
public String getResourceDescription()
-
removeError
public void removeError(com.github.gwtbootstrap.client.ui.ControlGroup control)
-
showError
public void showError(com.github.gwtbootstrap.client.ui.ControlGroup control)
-
clearPanel
protected void clearPanel()
-
getResourceBean
public ResourceElementBean getResourceBean()
-
-