Class CenteredPopupPanel

  extended by
      extended by
          extended by
              extended by
                  extended by
                      extended by us.asciiroth.client.ui.CenteredPopupPanel
All Implemented Interfaces:<>,,,,,,, java.lang.Iterable<>
Direct Known Subclasses:
ConfirmDeleteGameDialog, ConfirmQuitDialog, ConfirmSaveDialog, ErrorDialog, FontSpec, GameListingDialog, HTMLDialog, LoadingDialog, MainMenu, NewGameDialog

public abstract class CenteredPopupPanel

Base class for consistent layout and visual appearance of dialogs, as well as some behavior for closing. Subclasses should implement the focus method and focus the field or button that should be selected when the dialog is opened or when it is returned to the top of the stack.

Nested Class Summary
Nested classes/interfaces inherited from class
Nested classes/interfaces inherited from class,
Field Summary
Fields inherited from class
Method Summary
 void center()
          "Center" the dialog but only relative to the body of the document, not the window as a whole.
abstract  void focus()
Methods inherited from class
addAutoHidePartner, addCloseHandler, addPopupListener, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidget, setWidth, show, showRelativeTo
Methods inherited from class
add, getWidget, iterator, remove
Methods inherited from class
Methods inherited from class
fireEvent, getParent, isAttached, onBrowserEvent, removeFromParent, sinkEvents
Methods inherited from class
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleName, setStylePrimaryName, setVisible, toString, unsinkEvents
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface

Method Detail


public void center()
"Center" the dialog but only relative to the body of the document, not the window as a whole.

center in class


public abstract void focus()


2009 Alx Dark