|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.web.struts.LyStrutsMessageWindow
public class LyStrutsMessageWindow
This class implements the Message window (as described in the dtd) for the Struts viewer.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyStrutsMessageWindow(LyViewManager viewManager,
java.lang.String answerUrl)
Constructor. |
Method Summary | |
---|---|
void |
addActionListener(LyActionListener listener)
Add a listener on event of the message box. |
void |
free()
Free the window. |
java.lang.Object |
getClientData()
Accessor to the client Data. |
int |
getCommandResult()
Get the result of the message box (which button was pressed..). |
void |
initialize()
Initialize the window This method is called when all properties are set. |
void |
setBackgroundColor(java.lang.String bgColor)
Set the background color of the message box. |
void |
setClientData(java.lang.Object clientData)
Set the client data. |
void |
setCommands(java.util.BitSet commands)
Set the commands (buttons) that are present in the message box. |
void |
setIcon(java.lang.String icon)
Set the icon of the message box. |
void |
setMessage(java.lang.String message)
Set the message displayed in the message box. |
void |
setModal(boolean modal)
Set the modal state of the message window. |
void |
setTitle(java.lang.String title)
Set the title of the message box. |
void |
setVisible(boolean status,
boolean newThread)
Show the message window. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyStrutsMessageWindow(LyViewManager viewManager, java.lang.String answerUrl)
viewManager
- the view manageranswerUrl
- the URL that must be called to answer messageMethod Detail |
---|
public java.lang.Object getClientData()
getClientData
in interface LyMessageWindowInterface
public void setClientData(java.lang.Object clientData)
setClientData
in interface LyMessageWindowInterface
clientData
- public void setVisible(boolean status, boolean newThread)
setVisible
in interface LyMessageWindowInterface
status
- the visible status of the message boxnewThread
- true if the window must be started in a new threadpublic void setIcon(java.lang.String icon)
setIcon
in interface LyMessageWindowInterface
icon
- public void setMessage(java.lang.String message)
setMessage
in interface LyMessageWindowInterface
message
- public void setTitle(java.lang.String title)
setTitle
in interface LyMessageWindowInterface
title
- public void addActionListener(LyActionListener listener)
addActionListener
in interface LyMessageWindowInterface
listener
- public int getCommandResult()
getCommandResult
in interface LyMessageWindowInterface
LyViewManager
public void setCommands(java.util.BitSet commands)
setCommands
in interface LyMessageWindowInterface
commands
- LyViewManager
public void setBackgroundColor(java.lang.String bgColor)
setBackgroundColor
in interface LyMessageWindowInterface
bgColor
- public void setModal(boolean modal)
setModal
in interface LyMessageWindowInterface
modal
- public void initialize()
initialize
in interface LyMessageWindowInterface
public void free()
free
in interface LyMessageWindowInterface
public java.lang.String toString()
toString
in class java.lang.Object
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |