org.kuali.student.common.ui.client.widgets
Class KSDialog
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.DecoratedPopupPanel
com.google.gwt.user.client.ui.DialogBox
org.kuali.student.common.ui.client.widgets.KSDialog
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasHTML, com.google.gwt.user.client.ui.HasText, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.MouseListener, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>
public class KSDialog
- extends com.google.gwt.user.client.ui.DialogBox
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.DialogBox |
com.google.gwt.user.client.ui.DialogBox.Caption |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel |
com.google.gwt.user.client.ui.PopupPanel.PositionCallback |
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.DialogBox |
beginDragging, continueDragging, doAttachChildren, doDetachChildren, endDragging, getCaption, getHTML, getText, onBrowserEvent, onEnsureDebugId, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, setHTML, setText |
Methods inherited from class com.google.gwt.user.client.ui.DecoratedPopupPanel |
clear, getCellElement, getWidget, iterator, remove |
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
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 |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
add |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
adopt, adopt, disown, onLoad, orphan |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addDomHandler, addHandler, delegateEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, toString, unsinkEvents |
handlers
private final com.google.gwt.event.shared.HandlerManager handlers
maxWidth
private int maxWidth
maxHeight
private int maxHeight
mainPanel
private com.google.gwt.user.client.ui.FlowPanel mainPanel
titlePanel
private com.google.gwt.user.client.ui.FlowPanel titlePanel
scrollPanel
private com.google.gwt.user.client.ui.ScrollPanel scrollPanel
closeLink
private com.google.gwt.user.client.ui.Anchor closeLink
resizeHandler
private KSDialog.KSDialogResizeHandler resizeHandler
resizeHandlerRegistrater
private com.google.gwt.event.shared.HandlerRegistration resizeHandlerRegistrater
verticalPanel
private com.google.gwt.user.client.ui.FlexTable verticalPanel
buttonPanel
private com.google.gwt.user.client.ui.HorizontalPanel buttonPanel
KSDialog
public KSDialog()
uninstallResizeHandler
public void uninstallResizeHandler()
installResizeHandler
public void installResizeHandler()
setCloseLinkVisible
public void setCloseLinkVisible(boolean visible)
addButton
public void addButton(com.google.gwt.user.client.ui.Widget button)
setWidget
public void setWidget(com.google.gwt.user.client.ui.Widget content)
- Overrides:
setWidget
in class com.google.gwt.user.client.ui.DecoratedPopupPanel
setMaxWidth
public void setMaxWidth(int width)
setMaxHeight
public void setMaxHeight(int height)
setSize
public void setSize(int width,
int height)
hide
public void hide()
- Overrides:
hide
in class com.google.gwt.user.client.ui.DialogBox
show
public void show()
- Overrides:
show
in class com.google.gwt.user.client.ui.DialogBox
onPreviewNativeEvent
protected void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent preview)
- Overrides:
onPreviewNativeEvent
in class com.google.gwt.user.client.ui.DialogBox
resizeDialog
private void resizeDialog()
fireEvent
public void fireEvent(com.google.gwt.event.shared.GwtEvent<?> event)
- Specified by:
fireEvent
in interface com.google.gwt.event.shared.HasHandlers
- Overrides:
fireEvent
in class com.google.gwt.user.client.ui.Widget
Copyright © 2010 The Kuali Foundation. All rights reserved.