us.asciiroth.client.ui
Class DialogManager

java.lang.Object
  extended by us.asciiroth.client.ui.DialogManager
All Implemented Interfaces:
com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.EventHandler

public class DialogManager
extends java.lang.Object
implements com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>


Field Summary
static com.google.gwt.event.dom.client.ClickHandler CLOSE_DIALOG_HANDLER
           
 
Method Summary
static DialogManager get()
           
 boolean isPaused()
           
 void onClose(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event)
           
 void pop()
           
 void popAll()
           
 void push(java.lang.Class<?> c)
           
 void push(com.google.gwt.user.client.ui.PopupPanel dialog)
           
 void pushScenarioDialog(java.lang.String scenarioURL, java.lang.String url)
          Used to display HTML in a modal dialog that comes from a specific scenario, and so is adjusted to the scenario base URL.
 void pushSystemDialog(java.lang.String url)
          Display an HTML file in the modal dialog.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLOSE_DIALOG_HANDLER

public static final com.google.gwt.event.dom.client.ClickHandler CLOSE_DIALOG_HANDLER
Method Detail

get

public static DialogManager get()

isPaused

public boolean isPaused()

onClose

public void onClose(com.google.gwt.event.logical.shared.CloseEvent<com.google.gwt.user.client.ui.PopupPanel> event)
Specified by:
onClose in interface com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>

pop

public void pop()

popAll

public void popAll()

push

public void push(java.lang.Class<?> c)

push

public void push(com.google.gwt.user.client.ui.PopupPanel dialog)

pushScenarioDialog

public void pushScenarioDialog(java.lang.String scenarioURL,
                               java.lang.String url)
Used to display HTML in a modal dialog that comes from a specific scenario, and so is adjusted to the scenario base URL.

Parameters:
scenarioURL -
url -

pushSystemDialog

public void pushSystemDialog(java.lang.String url)
Display an HTML file in the modal dialog. Does not adjust for the URL of the scenario; used for help, about and similar dialogs.

Parameters:
url -

0.7

2009 Alx Dark