Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
com.casual_dev.zodui.messagepanel.MessagePanelContent Class Reference

Public Member Functions

 MessagePanelContent (CASUALMessageObject cmo)
 
String getMessage ()
 
String getTitle ()
 
boolean getTextInputRequired ()
 
Image getImage ()
 
String[] getActionOptions ()
 
int getNumberOfButtons ()
 

Detailed Description

Interperates a CASUALMessageObject into a ZODUI message object for MessagePanel.

Author
adamoutler

Constructor & Destructor Documentation

com.casual_dev.zodui.messagepanel.MessagePanelContent.MessagePanelContent ( CASUALMessageObject  cmo)

sets the CASUALMessageObject used for this class

Parameters
cmo

Member Function Documentation

String [] com.casual_dev.zodui.messagepanel.MessagePanelContent.getActionOptions ( )

text for use in buttons

Returns
string array of button options
Image com.casual_dev.zodui.messagepanel.MessagePanelContent.getImage ( )

Image corresponding to messageCategory

Returns
image for display to user
String com.casual_dev.zodui.messagepanel.MessagePanelContent.getMessage ( )

gets the message requested

Returns
string containing message
int com.casual_dev.zodui.messagepanel.MessagePanelContent.getNumberOfButtons ( )

number of buttons required

Returns
integer representing the number of buttons
boolean com.casual_dev.zodui.messagepanel.MessagePanelContent.getTextInputRequired ( )

if the message requires a text return

Returns
true if text box is needed
String com.casual_dev.zodui.messagepanel.MessagePanelContent.getTitle ( )

gets the title of the message

Returns
string containing title

The documentation for this class was generated from the following file: