fr.inra.refcomp.client.admin.users
Class UserForm
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
fr.inra.refcomp.client.admin.users.UserForm
- 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.IsWidget, FormContent
public class UserForm
- extends com.google.gwt.user.client.ui.Composite
- implements FormContent
User: couteau
Date: 29 nov. 2010
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| 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, toString, unsinkEvents |
| Methods inherited from interface com.google.gwt.user.client.ui.IsWidget |
asWidget |
ADMIN_CONTEXT
public static final String ADMIN_CONTEXT
- See Also:
- Constant Field Values
USER_CONTEXT
public static final String USER_CONTEXT
- See Also:
- Constant Field Values
UserForm
public UserForm(String context)
sendPassword
@UiHandler(value="sendPassword")
public void sendPassword(com.google.gwt.event.dom.client.ClickEvent event)
setEnabledUserBoxes
protected void setEnabledUserBoxes(Boolean enabled)
setEnabledAgentBoxes
protected void setEnabledAgentBoxes(Boolean enabled)
- Set enabled/disabled all the agent Text and ListBoxes
- Parameters:
enabled - true to enable the boxes
setContent
public void setContent(org.nuiton.wikitty.entities.BusinessEntity bean)
- Specified by:
setContent in interface FormContent
populateAndSelectUnitBox
protected void populateAndSelectUnitBox(Set<String> values)
populateAndSelectCatiBox
protected void populateAndSelectCatiBox(String value)
populateAndSelectDepartmentBox
protected void populateAndSelectDepartmentBox(String value)
select
protected void select(com.google.gwt.user.client.ui.ListBox box,
String item)
select
protected void select(com.google.gwt.user.client.ui.ListBox box,
Set<String> item)
unselect
protected void unselect(com.google.gwt.user.client.ui.ListBox box)
clearContent
public void clearContent()
- Specified by:
clearContent in interface FormContent
getContent
public org.nuiton.wikitty.entities.BusinessEntity getContent()
- Specified by:
getContent in interface FormContent
saveContent
public void saveContent(Boolean creation)
- Specified by:
saveContent in interface FormContent
cancelContent
public void cancelContent(Boolean creation)
- Specified by:
cancelContent in interface FormContent
deleteContent
public void deleteContent()
- Specified by:
deleteContent in interface FormContent
getSelectedItems
protected Set<String> getSelectedItems(com.google.gwt.user.client.ui.ListBox box)
- Method to get all the selected items value of a list box (useful only
for multi-selection ListBoxes. For simple selection ListBoxes, use
getSelectedIndex method.
- Parameters:
box - the box to get the selection from.
- Returns:
- the values of the selected items.
setMyAccountMode
public void setMyAccountMode()
Copyright © 2010-2011 Code Lutin. All Rights Reserved.