public class CloneUserAccountView extends ModalViewWithUiHandlers<UsersUIHandlers>
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
CloneUserAccountView.Binder
GWT UI creator
|
Modifier and Type | Field and Description |
---|---|
(package private) org.gwtbootstrap3.client.ui.CheckBox |
acl
The With ACLs check box
|
(package private) org.gwtbootstrap3.client.ui.Button |
cancelAction
The Cancel button to discard any changes and to close this dialog
|
(package private) org.gwtbootstrap3.client.ui.Button |
cloneAction
The Clone account button
|
(package private) org.gwtbootstrap3.client.ui.Modal |
modal
The underlined modal dialog
|
(package private) org.gwtbootstrap3.client.ui.TextBox |
name
The account name text field
|
(package private) org.gwtbootstrap3.client.ui.TextBox |
password
The New Password text box
|
(package private) org.gwtbootstrap3.client.ui.TextBox |
password2
The Confirm New Password text box
|
(package private) EnumRadioGroup<PasswordOptions> |
passwordOptionsSelector
The password options to clone the existing or to setup new one
|
private TaggedName |
userTaggedName
The existing cloning user account given by its tagged name
|
logger
Constructor and Description |
---|
CloneUserAccountView(CloneUserAccountView.Binder binder)
Constructs this view, used by MPV gwtplatform of ArcBees Inc.
|
Modifier and Type | Method and Description |
---|---|
protected org.gwtbootstrap3.client.ui.Modal |
getModal()
Provides an access to the target modal dialog.
|
(package private) void |
onCancelAction(com.google.gwt.event.dom.client.ClickEvent e)
The Cancel button click handler.
|
(package private) void |
onCloneAction(com.google.gwt.event.dom.client.ClickEvent e)
The Clone button click handler.
|
void |
passwordKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
Key press event handler.
|
void |
setupCloneUserAccountView(TaggedName userTaggedName)
Setups this dialog.
|
addHideHandler, addShowHandler
getUiHandlers, setUiHandlers
@UiField org.gwtbootstrap3.client.ui.Modal modal
@UiField org.gwtbootstrap3.client.ui.TextBox name
@UiField org.gwtbootstrap3.client.ui.CheckBox acl
@UiField EnumRadioGroup<PasswordOptions> passwordOptionsSelector
@UiField(provided=true) org.gwtbootstrap3.client.ui.TextBox password
@UiField(provided=true) org.gwtbootstrap3.client.ui.TextBox password2
@UiField org.gwtbootstrap3.client.ui.Button cloneAction
@UiField org.gwtbootstrap3.client.ui.Button cancelAction
private TaggedName userTaggedName
@Inject public CloneUserAccountView(CloneUserAccountView.Binder binder)
binder
- GWT UI creator@UiHandler(value="cloneAction") void onCloneAction(com.google.gwt.event.dom.client.ClickEvent e)
e
- Click event@UiHandler(value="cancelAction") void onCancelAction(com.google.gwt.event.dom.client.ClickEvent e)
e
- Click eventpublic void setupCloneUserAccountView(TaggedName userTaggedName)
userTaggedName
- The tagged name of the cloning user account@UiHandler(value="password") public void passwordKeyPress(com.google.gwt.event.dom.client.KeyPressEvent event)
event
- Key press event.protected org.gwtbootstrap3.client.ui.Modal getModal()
getModal
in class ModalViewWithUiHandlers<UsersUIHandlers>