|
|||||||||||
| 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
A form of popup that has a caption area at the top and can be dragged by the user.
code
| Field Summary |
| Fields inherited from class java.lang.Object |
typeId, typeName |
| Constructor Summary | |
DialogBox()
Creates an empty dialog box. |
|
| Method Summary | |
boolean |
add(Widget w)
Adds a new child widget to the panel. |
String |
getHTML()
Gets this object's contents as HTML. |
String |
getText()
Gets this object's text. |
void |
onMouseDown(Widget sender,
int x,
int y)
Fired when the user depresses the mouse button over a widget. |
void |
onMouseEnter(Widget sender)
Fired when the mouse enters a widget's area. |
void |
onMouseLeave(Widget sender)
Fired when the mouse enters a widget's area. |
void |
onMouseMove(Widget sender,
int x,
int y)
Fired when the user moves the mouse over a widget. |
void |
onMouseUp(Widget sender,
int x,
int y)
Fired when the user releases the mouse button over a widget. |
boolean |
remove(Widget w)
Removes a widget from the panel. |
void |
setHTML(String html)
Sets this object's contents via HTML. |
void |
setText(String text)
Sets this object's text. |
| Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
addPopupListener, hide, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removePopupListener, setHeight, setPixelSize, setPopupPosition, setStyleName, setWidth, show |
| Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
clear, getContainerElement, getWidget, getWidgetCount, getWidgetIndex, iterator, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Panel |
adopt, disown, onAttach, onDetach |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
getParent, isAttached, onBrowserEvent, onLoad |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, isVisible, isVisible, removeStyleName, setElement, setSize, setStyleName, setVisible, setVisible, sinkEvents, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
equals, finalize, hashCode |
| Constructor Detail |
public DialogBox()
add(com.google.gwt.user.client.ui.Widget).
| Method Detail |
public boolean add(Widget w)
Panel
add in class PopupPanelpublic String getHTML()
HasHTML
getHTML in interface HasHTMLpublic String getText()
HasText
getText in interface HasText
public void onMouseDown(Widget sender,
int x,
int y)
MouseListener
onMouseDown in interface MouseListenersender - the widget sending the eventx - the x coordinate of the mousey - the y coordinate of the mousepublic void onMouseEnter(Widget sender)
MouseListener
onMouseEnter in interface MouseListenersender - the widget sending the eventpublic void onMouseLeave(Widget sender)
MouseListener
onMouseLeave in interface MouseListenersender - the widget sending the event
public void onMouseMove(Widget sender,
int x,
int y)
MouseListener
onMouseMove in interface MouseListenersender - the widget sending the eventx - the x coordinate of the mousey - the y coordinate of the mouse
public void onMouseUp(Widget sender,
int x,
int y)
MouseListener
onMouseUp in interface MouseListenersender - the widget sending the eventx - the x coordinate of the mousey - the y coordinate of the mousepublic boolean remove(Widget w)
Panel
remove in class SimplePanelpublic void setHTML(String html)
HasHTMLHasText.setText(java.lang.String) whenever possible.
setHTML in interface HasHTMLhtml - the object's new HTMLpublic void setText(String text)
HasText
setText in interface HasText
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||