public class DefaultInfoConfig extends InfoConfig
Info
which supports a title and text.Modifier and Type | Class and Description |
---|---|
static interface |
DefaultInfoConfig.DefaultInfoConfigAppearance |
InfoConfig.InfoPosition
Constructor and Description |
---|
DefaultInfoConfig(DefaultInfoConfig.DefaultInfoConfigAppearance appearance,
SafeHtml title,
SafeHtml message)
Creates a new config for an Info to display.
|
DefaultInfoConfig(DefaultInfoConfig.DefaultInfoConfigAppearance appearance,
String title,
String message)
Creates a new config for an Info to display.
|
DefaultInfoConfig(SafeHtml title,
SafeHtml message)
Creates a new config for an Info to display.
|
DefaultInfoConfig(String title,
String message)
Creates a new config for an Info to display.
|
Modifier and Type | Method and Description |
---|---|
DefaultInfoConfig.DefaultInfoConfigAppearance |
getAppearance() |
SafeHtml |
getMessage() |
SafeHtml |
getTitle() |
void |
setMessage(SafeHtml message) |
void |
setMessage(String message) |
void |
setTitle(SafeHtml title) |
void |
setTitle(String title) |
getDisplay, getHeight, getHideHandler, getMargin, getPosition, getShowHandler, getWidth, setDisplay, setHeight, setHideHandler, setMargin, setPosition, setShowHandler, setWidth
public DefaultInfoConfig(String title, String message)
title
- the title textmessage
- the message textpublic DefaultInfoConfig(SafeHtml title, SafeHtml message)
title
- the title as HTMLmessage
- the message as HTMLpublic DefaultInfoConfig(DefaultInfoConfig.DefaultInfoConfigAppearance appearance, String title, String message)
appearance
- the appearance to usetitle
- the title textmessage
- the message textpublic DefaultInfoConfig(DefaultInfoConfig.DefaultInfoConfigAppearance appearance, SafeHtml title, SafeHtml message)
appearance
- the appearance to usetitle
- the title as HTMLmessage
- the message as HTMLpublic DefaultInfoConfig.DefaultInfoConfigAppearance getAppearance()
public SafeHtml getMessage()
public SafeHtml getTitle()
public void setMessage(String message)
public void setTitle(String title)
public void setTitle(SafeHtml title)
public void setMessage(SafeHtml message)
Copyright © 2015. All rights reserved.