public class UserRoleDialog
extends cn.mapway.ui.client.widget.common.DialogBoxEx
implements com.ksyzt.gwt.client.event.HasMessageHandlers
com.google.gwt.user.client.ui.DialogBox.Caption, com.google.gwt.user.client.ui.DialogBox.CaptionImplcom.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback| 构造器和说明 |
|---|
UserRoleDialog()
Instantiates a new user role dialog.
|
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addMessageHandler(com.ksyzt.gwt.client.event.MessageHandler handler) |
void |
fireEvent(com.google.gwt.event.shared.GwtEvent<?> event) |
Object |
getData()
Gets the data.
|
protected void |
refreshUserRole(List<S_USER_ROLEObj> result)
Refresh user role.
|
protected void |
refreshView()
Refresh view.
|
protected void |
resetRoleChecked()
Reset role checked.
|
void |
setData(Object data)
Sets the data.
|
void |
show() |
void |
showUserRole(Long userId)
显示用户ID的授权角色.
|
protected void |
updateUserRole(Long mUserId2,
Long roleId,
Boolean value)
更新用户角色数据.
|
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, hide, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, onPreviewNativeEvent, setHTML, setHTML, setTextclear, getCellElement, getWidget, iterator, remove, setWidgetaddAutoHidePartner, addCloseHandler, addPopupListener, center, getAnimationType, 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, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, showRelativeToaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic com.google.gwt.event.shared.HandlerRegistration addMessageHandler(com.ksyzt.gwt.client.event.MessageHandler handler)
addMessageHandler 在接口中 com.ksyzt.gwt.client.event.HasMessageHandlersaddMessageHandler 在类中 cn.mapway.ui.client.widget.common.DialogBoxExpublic Object getData()
public void setData(Object data)
data - the new datapublic void show()
show 在类中 com.google.gwt.user.client.ui.DialogBoxprotected void refreshView()
protected void updateUserRole(Long mUserId2, Long roleId, Boolean value)
mUserId2 - the m user id 2roleId - the roleidvalue - the valuepublic void showUserRole(Long userId)
userId - the useridprotected void refreshUserRole(List<S_USER_ROLEObj> result)
result - the resultprotected void resetRoleChecked()
public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
fireEvent 在接口中 com.google.gwt.event.shared.HasHandlersfireEvent 在类中 com.google.gwt.user.client.ui.WidgetCopyright © 2020. All rights reserved.