org.kuali.student.common.ui.client.widgets
Class KSLightBox
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.KSLightBox
- 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>
- Direct Known Subclasses:
- CategoryManagement.CreateCategoryDialog, CategoryManagement.DeleteConfirmationDialog, CategoryManagement.UpdateCategoryDialog
public class KSLightBox
- 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, 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, fireEvent, 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 |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
fireEvent |
FOCUSABLE_TAGS
private static final List<String> FOCUSABLE_TAGS
maxWidth
private int maxWidth
maxHeight
private int maxHeight
minWidth
private int minWidth
minHeight
private int minHeight
permWidth
private int permWidth
permHeight
private int permHeight
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 KSLightBox.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
KSLightBox
public KSLightBox()
KSLightBox
public KSLightBox(boolean addCloseLink)
KSLightBox
public KSLightBox(String title)
init
private void init()
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)
addButtonGroup
public void addButtonGroup(ButtonGroup group)
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)
showButtons
public void showButtons(boolean show)
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
grabFocus
private void grabFocus()
onPreviewNativeEvent
protected void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent preview)
- Overrides:
onPreviewNativeEvent
in class com.google.gwt.user.client.ui.DialogBox
getWidget
public com.google.gwt.user.client.ui.Widget getWidget()
- Overrides:
getWidget
in class com.google.gwt.user.client.ui.DecoratedPopupPanel
removeCloseLink
public void removeCloseLink()
resizeDialog
private void resizeDialog()
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.