站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

ErrorPopup (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.brms.client.common
Class ErrorPopup

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.SimplePanel
                  extended by com.google.gwt.user.client.ui.PopupPanel
                      extended by com.google.gwt.user.client.ui.DialogBox
                          extended by org.drools.brms.client.common.ErrorPopup
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, 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

public class ErrorPopup
extends com.google.gwt.user.client.ui.DialogBox

Generic error dialog popup. This is a lazy singleton, only really need one to be shown at time.


Field Summary
static ErrorPopup instance
           
 
Constructor Summary
ErrorPopup()
           
 
Method Summary
static ErrorPopup getInstance()
           
 void hide()
           
 void setMessage(String message)
           
static void showMessage(String message)
          Convenience method to popup the message.
 
Methods inherited from class com.google.gwt.user.client.ui.DialogBox
getHTML, getText, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, remove, setHTML, setText, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addPopupListener, getPopupLeft, getPopupTop, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removePopupListener, setPopupPosition, show
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, clear, disown, onAttach, onDetach
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onBrowserEvent, onLoad, removeFromParent
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instance

public static ErrorPopup instance
Constructor Detail

ErrorPopup

public ErrorPopup()
Method Detail

setMessage

public void setMessage(String message)

hide

public void hide()
Overrides:
hide in class com.google.gwt.user.client.ui.PopupPanel

getInstance

public static ErrorPopup getInstance()

showMessage

public static void showMessage(String message)
Convenience method to popup the message.



Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.