public class ProfilePanel
extends com.vaadin.ui.Panel
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
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 String |
birthDate |
protected com.vaadin.ui.DateField |
birthDateField |
protected boolean |
editable |
protected com.vaadin.ui.TextField |
emailField |
protected com.vaadin.ui.TextField |
firstNameField |
protected I18nManager |
i18nManager |
protected IdentityService |
identityService |
protected com.vaadin.ui.VerticalLayout |
imageLayout |
protected com.vaadin.ui.VerticalLayout |
infoPanelLayout |
protected boolean |
isCurrentLoggedInUser |
protected String |
jobTitle |
protected com.vaadin.ui.TextField |
jobTitleField |
protected com.vaadin.ui.TextField |
lastNameField |
protected String |
location |
protected com.vaadin.ui.TextField |
locationField |
protected com.vaadin.ui.PasswordField |
passwordField |
protected String |
phone |
protected com.vaadin.ui.TextField |
phoneField |
protected Picture |
picture |
protected com.vaadin.ui.HorizontalLayout |
profilePanelLayout |
protected com.vaadin.ui.TextField |
skypeField |
protected String |
skypeId |
protected com.vaadin.ui.TextField |
twitterField |
protected String |
twitterName |
protected User |
user |
protected String |
userId |
protected ViewManager |
viewManager |
Constructor and Description |
---|
ProfilePanel(String userId) |
Modifier and Type | Method and Description |
---|---|
protected void |
addProfileEntry(com.vaadin.ui.GridLayout layout,
com.vaadin.ui.Component name,
com.vaadin.ui.Component value) |
protected void |
addProfileEntry(com.vaadin.ui.GridLayout layout,
String name,
com.vaadin.ui.Component value) |
protected void |
addProfileEntry(com.vaadin.ui.GridLayout layout,
String name,
String value) |
protected void |
addProfileInputField(com.vaadin.ui.GridLayout layout,
String name,
com.vaadin.ui.AbstractField inputField,
String inputFieldValue) |
protected com.vaadin.ui.GridLayout |
createInfoSectionLayout(int columns,
int rows) |
protected com.vaadin.ui.Label |
createProfileHeader(com.vaadin.ui.VerticalLayout infoLayout,
String headerName) |
protected void |
initAboutSection() |
protected com.vaadin.ui.Upload |
initChangePictureButton() |
protected void |
initContactSection() |
protected com.vaadin.ui.Button |
initEditProfileButton() |
protected void |
initImagePanel() |
protected void |
initInformationPanel() |
protected void |
initPicture() |
protected InMemoryUploadReceiver |
initPictureReceiver(com.vaadin.ui.Upload upload) |
protected com.vaadin.ui.Button |
initSaveProfileButton() |
protected void |
initUi() |
protected boolean |
isDefined(String information) |
protected void |
loadProfileData() |
addAction, addActionHandler, addComponent, addListener, attach, changeVariables, componentAttachedToContainer, componentDetachedFromContainer, detach, focus, getActionManager, getComponentIterator, getContent, getLayout, getScrollLeft, getScrollOffsetX, getScrollOffsetY, getScrollTop, getTabIndex, isScrollable, paintContent, removeAction, removeActionHandler, removeAllActionHandlers, removeAllComponents, removeComponent, removeListener, replaceComponent, requestRepaintAll, setCaption, setContent, setLayout, setScrollable, setScrollLeft, setScrollOffsetX, setScrollOffsetY, setScrollTop, setTabIndex
addListener, addListener, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeListener, removeListener, setEnabled, setHeight, setWidth
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, 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, 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, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible
protected transient IdentityService identityService
protected I18nManager i18nManager
protected ViewManager viewManager
protected String userId
protected User user
protected Picture picture
protected String birthDate
protected String jobTitle
protected String location
protected String phone
protected String twitterName
protected String skypeId
protected boolean isCurrentLoggedInUser
protected boolean editable
protected com.vaadin.ui.HorizontalLayout profilePanelLayout
protected com.vaadin.ui.VerticalLayout imageLayout
protected com.vaadin.ui.VerticalLayout infoPanelLayout
protected com.vaadin.ui.TextField firstNameField
protected com.vaadin.ui.TextField lastNameField
protected com.vaadin.ui.PasswordField passwordField
protected com.vaadin.ui.TextField jobTitleField
protected com.vaadin.ui.DateField birthDateField
protected com.vaadin.ui.TextField locationField
protected com.vaadin.ui.TextField emailField
protected com.vaadin.ui.TextField phoneField
protected com.vaadin.ui.TextField twitterField
protected com.vaadin.ui.TextField skypeField
public ProfilePanel(String userId)
protected void loadProfileData()
protected void initUi()
protected void initImagePanel()
protected void initPicture()
protected com.vaadin.ui.Upload initChangePictureButton()
protected InMemoryUploadReceiver initPictureReceiver(com.vaadin.ui.Upload upload)
protected void initInformationPanel()
protected void initAboutSection()
protected com.vaadin.ui.Button initEditProfileButton()
protected com.vaadin.ui.Button initSaveProfileButton()
protected void initContactSection()
protected boolean isDefined(String information)
protected com.vaadin.ui.Label createProfileHeader(com.vaadin.ui.VerticalLayout infoLayout, String headerName)
protected com.vaadin.ui.GridLayout createInfoSectionLayout(int columns, int rows)
protected void addProfileEntry(com.vaadin.ui.GridLayout layout, String name, String value)
protected void addProfileEntry(com.vaadin.ui.GridLayout layout, String name, com.vaadin.ui.Component value)
protected void addProfileEntry(com.vaadin.ui.GridLayout layout, com.vaadin.ui.Component name, com.vaadin.ui.Component value)
Copyright © 2016 Alfresco. All rights reserved.