public class UserSelectionDialog
extends org.gcube.portlets.user.gcubewidgets.client.popup.GCubeDialog
SelectedUserEvent
on the HandlerManager
instance you pass to this widget.com.google.gwt.user.client.ui.DialogBox.Caption, com.google.gwt.user.client.ui.DialogBox.CaptionImpl
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
Constructor and Description |
---|
UserSelectionDialog(String headerText,
com.google.gwt.event.shared.HandlerManager eventBus)
Constructor to use if you load the users via an async call and the fire the event
|
UserSelectionDialog(String headerText,
com.google.gwt.event.shared.HandlerManager eventBus,
ArrayList<ItemSelectableBean> users)
constructor to use
|
Modifier and Type | Method and Description |
---|---|
void |
show() |
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, hide, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setHTML, setHTML, setText
clear, getCellElement, getWidget, iterator, remove, setWidget
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeTo
add, adopt, adopt, disown, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
public UserSelectionDialog(String headerText, com.google.gwt.event.shared.HandlerManager eventBus)
headerText
- the header text of the dialogeventBus
- the HandlerManager instance where you will fire the UsersFetchedEvent
and where you will listen for the SelectedUserEvent
public UserSelectionDialog(String headerText, com.google.gwt.event.shared.HandlerManager eventBus, ArrayList<ItemSelectableBean> users)
headerText
- the header text of the dialogeventBus
- the HandlerManager instance where you will listen for the SelectedUserEvent
users
- the users to show in the dialogCopyright © 2015. All Rights Reserved.