Class HTMLDialog

  extended by
      extended by
          extended by
              extended by
                  extended by
                      extended by us.asciiroth.client.ui.CenteredPopupPanel
                          extended by us.asciiroth.client.ui.HTMLDialog
All Implemented Interfaces:<>,,,,,,, java.lang.Iterable<>
Direct Known Subclasses:

public class HTMLDialog
extends CenteredPopupPanel

A reusable dialog that loads an HTML URL into a scroll panel. Used at least for help and about dialogs, and might be used elsewhere in the game as well.

Nested Class Summary
Nested classes/interfaces inherited from class
Nested classes/interfaces inherited from class,
Field Summary
static java.lang.String DEFAULT_WIDTH
Fields inherited from class
Constructor Summary
Method Summary
 void center()
          "Center" the dialog but only relative to the body of the document, not the window as a whole.
 void focus()
 void setHTML(java.lang.String url)
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

Field Detail


public static final java.lang.String DEFAULT_WIDTH
See Also:
Constant Field Values
Constructor Detail


public HTMLDialog()
Method Detail


public void center()
Description copied from class: CenteredPopupPanel
"Center" the dialog but only relative to the body of the document, not the window as a whole.

center in class CenteredPopupPanel


public void focus()
Specified by:
focus in class CenteredPopupPanel


public void setHTML(java.lang.String url)


2009 Alx Dark