|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.DialogBox
net.pleso.framework.client.ui.windows.ErrorMessageWindow
public class ErrorMessageWindow
Represents error message window widget.
Constructor Summary | |
---|---|
ErrorMessageWindow()
Constructs a newly allocated ErrorMessageWindow object. |
Method Summary | |
---|---|
void |
onClick(com.google.gwt.user.client.ui.Widget sender)
|
void |
show()
|
void |
showError(java.lang.String message,
java.lang.Throwable cause)
Show window with specified Throwable with friendly user message. |
void |
showError(java.lang.Throwable e)
Show window with specified Throwable error message. |
Methods inherited from class com.google.gwt.user.client.ui.DialogBox |
---|
getHTML, getText, onEventPreview, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseUp, remove, setHTML, setText, setWidget, setWidth |
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
---|
addPopupListener, center, getPopupLeft, getPopupTop, getTitle, hide, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removePopupListener, setHeight, setPopupPosition, setTitle, setVisible |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
---|
add, getWidget, iterator |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
clear |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
getParent, isAttached, onBrowserEvent, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, isVisible, isVisible, removeStyleName, setPixelSize, setSize, setStyleName, setVisible, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ErrorMessageWindow()
Method Detail |
---|
public void showError(java.lang.String message, java.lang.Throwable cause)
Throwable
with friendly user message.
message
- a String
with error message textcause
- a Throwable
to be shown in detailspublic void showError(java.lang.Throwable e)
Throwable
error message.
e
- a Throwable
to be shown in detailspublic void onClick(com.google.gwt.user.client.ui.Widget sender)
onClick
in interface com.google.gwt.user.client.ui.ClickListener
public void show()
show
in class com.google.gwt.user.client.ui.PopupPanel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |