Caption abstract class
Set of characteristic interfaces supported by the {@link DialogBox} caption.
abstract class Caption implements HasAllMouseHandlers, HasHtml, HasSafeHtml, IsWidget { }
Subclasses
Implements
IsWidget, HasSafeHtml, HasHtml, HasAllMouseHandlers
Properties
abstract String get html #
Gets this object's contents as HTML.
@return the object's HTML
abstract void set html(String value) #
Sets this object's contents via HTML. Use care when setting an object's HTML; it is an easy way to expose script-based security problems. Consider using {@link #setText(String)} whenever possible.
@param html the object's new HTML
Methods
abstract HandlerRegistration addMouseDownHandler(MouseDownHandler handler) #
Adds a {@link MouseDownEvent} handler.
@param handler the mouse down handler @return {@link HandlerRegistration} used to remove this handler
abstract HandlerRegistration addMouseMoveHandler(MouseMoveHandler handler) #
Adds a {@link MouseMoveEvent} handler.
@param handler the mouse move handler @return {@link HandlerRegistration} used to remove this handler
abstract HandlerRegistration addMouseOutHandler(MouseOutHandler handler) #
Adds a {@link MouseOutEvent} handler.
@param handler the mouse out handler @return {@link HandlerRegistration} used to remove this handler
abstract HandlerRegistration addMouseOverHandler(MouseOverHandler handler) #
Adds a {@link MouseOverEvent} handler.
@param handler the mouse over handler @return {@link HandlerRegistration} used to remove this handler
abstract HandlerRegistration addMouseUpHandler(MouseUpHandler handler) #
Adds a {@link MouseUpEvent} handler.
@param handler the mouse up handler @return {@link HandlerRegistration} used to remove this handler
abstract HandlerRegistration addMouseWheelHandler(MouseWheelHandler handler) #
Adds a {@link MouseWheelEvent} handler.
@param handler the mouse wheel handler @return {@link HandlerRegistration} used to remove this handler
abstract void fireEvent(DwtEvent event) #
Fires the given event to the handlers listening to the event's type.
Any exceptions thrown by handlers will be bundled into a UmbrellaException and then re-thrown after all handlers have completed. An exception thrown by a handler will not prevent other handlers from executing.
@param event the event