public class Info extends Component
Modifier and Type | Class and Description |
---|---|
static interface |
Info.InfoAppearance |
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
DEBUG_ID_PREFIX
Constructor and Description |
---|
Info()
Creates a new info instance.
|
Info(Info.InfoAppearance appearance)
Creates a new info appearance.
|
Modifier and Type | Method and Description |
---|---|
static void |
display(InfoConfig config)
Displays a message using the specified configuration
|
static void |
display(SafeHtml title,
SafeHtml message)
Displays a message with the given title and content.
|
static void |
display(String title,
String message)
Displays a message with the given title and text.
|
Info.InfoAppearance |
getAppearance()
Returns the appearance.
|
void |
hide()
Hide this widget.
|
void |
show(InfoConfig config)
Displays the info.
|
addBeforeHideHandler, addBeforeShowContextMenuHandler, addBeforeShowHandler, addBlurHandler, addDisableHandler, addEnableHandler, addFocusHandler, addHideHandler, addMoveHandler, addResizeHandler, addShowContextMenuHandler, addShowHandler, addStyleOnOver, clearSizeCache, disable, disableEvents, enable, enableEvents, fireEvent, focus, getData, getElement, getFocusSupport, getHideMode, getId, getItemId, getOffsetHeight, getOffsetWidth, getShadow, getShadowPosition, getStateId, getTabIndex, getToolTip, hideToolTip, isAllowTextSelection, isAutoHeight, isAutoWidth, isDeferHeight, isEnabled, isRendered, isStateful, isVisible, isVisible, mask, mask, onBrowserEvent, removeToolTip, setAllowTextSelection, setBorders, setBounds, setBounds, setContextMenu, setData, setDeferHeight, setEnabled, setHeight, setHeight, setHideMode, setId, setItemId, setPagePosition, setPixelSize, setPosition, setShadow, setShadowPosition, setSize, setStateful, setStateId, setTabIndex, setToolTip, setToolTip, setToolTipConfig, setVisible, setWidth, setWidth, show, sync, syncSize, unmask
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString
public Info()
public Info(Info.InfoAppearance appearance)
appearance
- the info appearancepublic static void display(InfoConfig config)
config
- the info configurationpublic static void display(String title, String message)
title
- the title as textmessage
- the message as textpublic static void display(SafeHtml title, SafeHtml message)
title
- the title as HTMLmessage
- the message as HTMLpublic Info.InfoAppearance getAppearance()
public void hide()
Component
public void show(InfoConfig config)
config
- the info configuration.Copyright © 2015. All rights reserved.