public class MVCMessageBox extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ERROR |
static int |
INFO |
static int |
QUESTION |
static int |
WARNING |
Constructor and Description |
---|
MVCMessageBox() |
Modifier and Type | Method and Description |
---|---|
String |
getLabelButton1() |
String |
getLabelButton2() |
String |
getLabelKeyButton1() |
String |
getLabelKeyButton2() |
String |
getMessage() |
String |
getMessageKey() |
int |
getStyle() |
String |
getTemplate() |
String |
getTitle() |
String |
getTitleKey() |
String |
getUrlButton1() |
String |
getUrlButton2() |
void |
localize(Locale locale)
Localize value if value's key found
|
void |
setLabelButton1(String strLabelButton1) |
void |
setLabelButton2(String strLabelButton2) |
void |
setLabelKeyButton1(String strLabelKeyButton1) |
void |
setLabelKeyButton2(String strLabelKeyButton2) |
void |
setMessage(String strMessage) |
void |
setMessageKey(String strMessageKey) |
void |
setStyle(int nStyle) |
void |
setTemplate(String strTemplate) |
void |
setTitle(String strTitle) |
void |
setTitleKey(String strTitleKey) |
void |
setUrlButton1(String strUrlButton1) |
void |
setUrlButton2(String strUrlButton2) |
public static final int INFO
public static final int QUESTION
public static final int WARNING
public static final int ERROR
public int getStyle()
public void setStyle(int nStyle)
nStyle
- the style to setpublic String getTitle()
public void setTitle(String strTitle)
strTitle
- the title to setpublic String getMessage()
public void setMessage(String strMessage)
strMessage
- the message to setpublic String getLabelButton1()
public void setLabelButton1(String strLabelButton1)
strLabelButton1
- the strLabelButton1 to setpublic String getUrlButton1()
public void setUrlButton1(String strUrlButton1)
strUrlButton1
- the strUrlButton1 to setpublic String getLabelButton2()
public void setLabelButton2(String strLabelButton2)
strLabelButton2
- the label to setpublic String getUrlButton2()
public void setUrlButton2(String strUrlButton2)
strUrlButton2
- the strUrlButton2 to setpublic String getLabelKeyButton1()
public void setLabelKeyButton1(String strLabelKeyButton1)
strLabelKeyButton1
- the _strLabelKeyButton1 to setpublic String getLabelKeyButton2()
public void setLabelKeyButton2(String strLabelKeyButton2)
strLabelKeyButton2
- the _strLabelKeyButton2 to setpublic String getTemplate()
public void setTemplate(String strTemplate)
strTemplate
- the _strTemplate to setpublic String getTitleKey()
public void setTitleKey(String strTitleKey)
strTitleKey
- the Title key to setpublic String getMessageKey()
public void setMessageKey(String strMessageKey)
strMessageKey
- the Message key to setpublic void localize(Locale locale)
locale
- The localeCopyright © 2020 City of Paris. All rights reserved.