Class MVCMessageBox
java.lang.Object
fr.paris.lutece.portal.util.mvc.utils.MVCMessageBox
MVCMessageBox
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetStyle()getTitle()voidLocalize value if value's key foundvoidsetLabelButton1(String strLabelButton1) voidsetLabelButton2(String strLabelButton2) voidsetLabelKeyButton1(String strLabelKeyButton1) voidsetLabelKeyButton2(String strLabelKeyButton2) voidsetMessage(String strMessage) voidsetMessageKey(String strMessageKey) voidsetStyle(int nStyle) voidsetTemplate(String strTemplate) voidvoidsetTitleKey(String strTitleKey) voidsetUrlButton1(String strUrlButton1) voidsetUrlButton2(String strUrlButton2)
-
Field Details
-
INFO
public static final int INFO- See Also:
-
QUESTION
public static final int QUESTION- See Also:
-
WARNING
public static final int WARNING- See Also:
-
ERROR
public static final int ERROR- See Also:
-
-
Constructor Details
-
MVCMessageBox
public MVCMessageBox()
-
-
Method Details
-
getStyle
public int getStyle()- Returns:
- the style
-
setStyle
public void setStyle(int nStyle) - Parameters:
nStyle- the style to set
-
getTitle
- Returns:
- the title
-
setTitle
- Parameters:
strTitle- the title to set
-
getMessage
- Returns:
- the message
-
setMessage
- Parameters:
strMessage- the message to set
-
getLabelButton1
- Returns:
- the strLabelButton1
-
setLabelButton1
- Parameters:
strLabelButton1- the strLabelButton1 to set
-
getUrlButton1
- Returns:
- the strUrlButton1
-
setUrlButton1
- Parameters:
strUrlButton1- the strUrlButton1 to set
-
getLabelButton2
- Returns:
- the label
-
setLabelButton2
- Parameters:
strLabelButton2- the label to set
-
getUrlButton2
- Returns:
- the strUrlButton2
-
setUrlButton2
- Parameters:
strUrlButton2- the strUrlButton2 to set
-
getLabelKeyButton1
- Returns:
- the _strLabelKeyButton1
-
setLabelKeyButton1
- Parameters:
strLabelKeyButton1- the _strLabelKeyButton1 to set
-
getLabelKeyButton2
- Returns:
- the _strLabelKeyButton2
-
setLabelKeyButton2
- Parameters:
strLabelKeyButton2- the _strLabelKeyButton2 to set
-
getTemplate
- Returns:
- the _strTemplate
-
setTemplate
- Parameters:
strTemplate- the _strTemplate to set
-
getTitleKey
- Returns:
- the Title key
-
setTitleKey
- Parameters:
strTitleKey- the Title key to set
-
getMessageKey
- Returns:
- the Message key
-
setMessageKey
- Parameters:
strMessageKey- the Message key to set
-
localize
Localize value if value's key found- Parameters:
locale- The locale
-