public class UserDetailPanel extends DetailPanel implements MemberShipChangeListener
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.MarginInfo, com.vaadin.ui.Layout.SpacingHandler
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
editingDetails |
protected com.vaadin.ui.TextField |
emailField |
protected com.vaadin.ui.TextField |
firstNameField |
protected LazyLoadingContainer |
groupContainer |
protected com.vaadin.ui.HorizontalLayout |
groupLayout |
protected GroupsForUserQuery |
groupsForUserQuery |
protected com.vaadin.ui.Table |
groupTable |
protected I18nManager |
i18nManager |
protected IdentityService |
identityService |
protected com.vaadin.ui.TextField |
lastNameField |
protected com.vaadin.ui.Label |
noGroupsLabel |
protected com.vaadin.ui.PasswordField |
passwordField |
protected User |
user |
protected com.vaadin.ui.HorizontalLayout |
userDetailsLayout |
protected UserPage |
userPage |
mainPanel
Constructor and Description |
---|
UserDetailPanel(UserPage userPage,
String userId) |
Modifier and Type | Method and Description |
---|---|
protected void |
addUserDetail(com.vaadin.ui.GridLayout detailLayout,
String detail,
com.vaadin.ui.Component value) |
protected void |
init() |
protected void |
initActions() |
protected void |
initAddGroupsButton(com.vaadin.ui.HorizontalLayout groupHeader) |
protected void |
initDeleteButton(com.vaadin.ui.VerticalLayout actionLayout) |
protected void |
initDetailsActions() |
protected void |
initEditButton(com.vaadin.ui.VerticalLayout actionLayout) |
protected void |
initGroups() |
protected void |
initGroupsTable() |
protected void |
initGroupTitle(com.vaadin.ui.HorizontalLayout groupHeader) |
protected void |
initPageTitle() |
protected void |
initSaveButton(com.vaadin.ui.VerticalLayout actionLayout) |
protected void |
initUserDetails() |
protected void |
loadPicture() |
protected void |
loadUserDetails() |
protected boolean |
nameChanged(String originalFirstName,
String originalLastName) |
void |
notifyMembershipChanged() |
protected void |
populateUserDetails() |
addComponent, addComponent, addComponentAsFirst, addDetailComponent, addDetailComponent, getMainPanel, setDetailContainer, setDetailExpandRatio, setFixedButtons
addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, paintContent, removeComponent, removeListener, replaceComponent, setComponentAlignment, setComponentAlignment, setComponentAlignment, setExpandRatio, setSpacing
changeVariables, fireClick, getMargin, setMargin, setMargin, setMargin
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addListener, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll
addListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible
protected transient IdentityService identityService
protected I18nManager i18nManager
protected UserPage userPage
protected User user
protected boolean editingDetails
protected com.vaadin.ui.HorizontalLayout userDetailsLayout
protected com.vaadin.ui.TextField firstNameField
protected com.vaadin.ui.TextField lastNameField
protected com.vaadin.ui.TextField emailField
protected com.vaadin.ui.PasswordField passwordField
protected com.vaadin.ui.HorizontalLayout groupLayout
protected com.vaadin.ui.Table groupTable
protected LazyLoadingContainer groupContainer
protected GroupsForUserQuery groupsForUserQuery
protected com.vaadin.ui.Label noGroupsLabel
protected void init()
protected void initActions()
protected void initPageTitle()
protected void initUserDetails()
protected void populateUserDetails()
protected void loadPicture()
protected void loadUserDetails()
protected void addUserDetail(com.vaadin.ui.GridLayout detailLayout, String detail, com.vaadin.ui.Component value)
protected void initDetailsActions()
protected void initEditButton(com.vaadin.ui.VerticalLayout actionLayout)
protected void initSaveButton(com.vaadin.ui.VerticalLayout actionLayout)
protected void initDeleteButton(com.vaadin.ui.VerticalLayout actionLayout)
protected void initGroups()
protected void initGroupTitle(com.vaadin.ui.HorizontalLayout groupHeader)
protected void initAddGroupsButton(com.vaadin.ui.HorizontalLayout groupHeader)
protected void initGroupsTable()
public void notifyMembershipChanged()
notifyMembershipChanged
in interface MemberShipChangeListener
Copyright © 2016 Alfresco. All rights reserved.