@Templated(value="/io/apiman/manager/ui/client/local/site/policyconfig-basicauth.html#form") @Dependent public class BasicAuthPolicyConfigForm extends com.google.gwt.user.client.ui.Composite implements IPolicyConfigurationForm
| Constructor and Description |
|---|
BasicAuthPolicyConfigForm()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
_showSubForm(String formId)
Native show/hide code for the sub forms.
|
com.google.gwt.event.shared.HandlerRegistration |
addIsFormValidHandler(IsFormValidEvent.Handler handler)
Adds a handler to the widget.
|
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler) |
protected void |
checkValidity()
Determine whether the form is valid (the user has completed filling out the form).
|
String |
getValue() |
protected void |
onAdd(com.google.gwt.event.dom.client.ClickEvent event)
Called when the add button is clicked.
|
protected void |
onClear(com.google.gwt.event.dom.client.ClickEvent event)
Called when the clear button is clicked.
|
protected void |
onRemove(com.google.gwt.event.dom.client.ClickEvent event)
Called when the remove button is clicked.
|
protected void |
postConstruct() |
void |
setValue(String value) |
void |
setValue(String value,
boolean fireEvents) |
protected void |
showSubForm(String subForm)
Called to show a particular sub-form (static, jdbc, ldap).
|
claimElement, 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@PostConstruct protected void postConstruct()
protected void showSubForm(String subForm)
subForm - public static void _showSubForm(String formId)
formId - public String getValue()
public void setValue(String value)
public void setValue(String value, boolean fireEvents)
setValue in interface com.google.gwt.user.client.ui.HasValue<String>HasValue.setValue(java.lang.Object, boolean)public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler)
addValueChangeHandler in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>HasValueChangeHandlers.addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler)@EventHandler(value="staticClear") protected void onClear(com.google.gwt.event.dom.client.ClickEvent event)
event - @EventHandler(value="staticRemove") protected void onRemove(com.google.gwt.event.dom.client.ClickEvent event)
event - @EventHandler(value="staticAdd") protected void onAdd(com.google.gwt.event.dom.client.ClickEvent event)
event - public com.google.gwt.event.shared.HandlerRegistration addIsFormValidHandler(IsFormValidEvent.Handler handler)
IsFormValidEvent.HasIsFormValidHandlersprotected void checkValidity()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.