LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.setinterface
Interface LyMessageWindowInterface

All Known Implementing Classes:
LyStrutsMessageWindow, LySwingMessageWindow

public interface LyMessageWindowInterface

This interface is used to implement a message window.


Field Summary
static java.lang.String __VERSION
           
 
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.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

getClientData

java.lang.Object getClientData()
Accessor to the client Data.

Returns:
the client data

setClientData

void setClientData(java.lang.Object clientData)
Set the client data.

Parameters:
clientData -

setVisible

void setVisible(boolean status,
                boolean newThread)
Show the message window.

Parameters:
status - the visible status of the message box
newThread - true if the window must be started in a new thread

setIcon

void setIcon(java.lang.String icon)
Set the icon of the message box.

Parameters:
icon -

setMessage

void setMessage(java.lang.String message)
Set the message displayed in the message box.

Parameters:
message -

setTitle

void setTitle(java.lang.String title)
Set the title of the message box.

Parameters:
title -

addActionListener

void addActionListener(LyActionListener listener)
Add a listener on event of the message box.

Parameters:
listener -

getCommandResult

int getCommandResult()
Get the result of the message box (which button was pressed..).

Returns:
the result of the question
See Also:
LyViewManager

setCommands

void setCommands(java.util.BitSet commands)
Set the commands (buttons) that are present in the message box.

Parameters:
commands -
See Also:
LyViewManager

setBackgroundColor

void setBackgroundColor(java.lang.String bgColor)
Set the background color of the message box.

Parameters:
bgColor -

setModal

void setModal(boolean modal)
Set the modal state of the message window.

Parameters:
modal -

initialize

void initialize()
Initialize the window This method is called when all properties are set.


free

void free()
Free the window. This method is called to hide and free the window.


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com