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

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


org.drools.brms.client.common
Class WarningPopup

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 org.drools.brms.client.common.WarningPopup
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.SourcesPopupEvents

public class WarningPopup
extends com.google.gwt.user.client.ui.PopupPanel

Generic warning message popup. This is also applicable for input validation messages.


Constructor Summary
WarningPopup(int x, int y)
           
 
Method Summary
 void hide()
           
 void setMessage(String message)
           
static void showMessage(String message, int x, int y)
          Convenience method to popup the message in the given position.
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addPopupListener, getPopupLeft, getPopupTop, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, remove, removePopupListener, setPopupPosition, show
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getContainerElement, getWidget, iterator, setWidget
 
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
 

Constructor Detail

WarningPopup

public WarningPopup(int x,
                    int y)
Method Detail

setMessage

public void setMessage(String message)

hide

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

showMessage

public static void showMessage(String message,
                               int x,
                               int y)
Convenience method to popup the message in the given position.



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