@Templated(value="/org/overlord/sramp/ui/client/local/site/dialogs/add-ontology-node-dialog.html#add-ontology-node-dialog") @Dependent public class AddOntologyNodeDialog extends ModalDialog implements com.google.gwt.event.logical.shared.HasValueChangeHandlers<OntologyClassBean>
| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.user.client.ui.TextArea |
comment |
protected com.google.gwt.user.client.ui.TextBox |
id |
protected com.google.gwt.user.client.ui.TextBox |
label |
protected com.google.gwt.user.client.ui.Button |
submitButton |
| Constructor and Description |
|---|
AddOntologyNodeDialog()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<OntologyClassBean> handler) |
protected boolean |
isValid()
Returns true if the values in the form fields are valid.
|
protected void |
onPostConstruct()
Called when the dialog is constructed by Errai.
|
protected void |
onSubmit(com.google.gwt.event.dom.client.ClickEvent event)
Called when the user clicks the submit button.
|
void |
show() |
destroy, hide, hide, onDialogHidden, onHidden, setDestroyOnHideclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEvents@Inject @DataField protected com.google.gwt.user.client.ui.TextBox id
@Inject @DataField protected com.google.gwt.user.client.ui.TextBox label
@Inject @DataField protected com.google.gwt.user.client.ui.TextArea comment
@Inject @DataField(value="add-ontology-node-submit-button") protected com.google.gwt.user.client.ui.Button submitButton
@PostConstruct protected void onPostConstruct()
protected boolean isValid()
public void show()
show in class ModalDialogModalDialog.show()@EventHandler(value="add-ontology-node-submit-button") protected void onSubmit(com.google.gwt.event.dom.client.ClickEvent event)
event - public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<OntologyClassBean> handler)
addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<OntologyClassBean>HasValueChangeHandlers.addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler)Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.