telosys.objects
Class ScreenMessage

java.lang.Object
  extended bytelosys.objects.ScreenMessage

public class ScreenMessage
extends java.lang.Object

ScreenMessage object
This object contains an application message with a "code", a "text" and a "type"
(received in the XML ScreenResponse).
It is the "client-side" JavaScript object corresponding to the ScreenMessage Java object on the "server-side"


Constructor Summary
ScreenMessage(number code, string text, number type)
          Constructor
 
Method Summary
 number getCode()
          Returns the code of the message
 string getText()
          Returns the text of the message
 number getType()
          Returns the type of the message
 string toString_()
          Returns the message description (code,text and type)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenMessage

public ScreenMessage(number code,
                     string text,
                     number type)
Constructor

Parameters:
code -
text -
type -
Method Detail

getCode

public number getCode()
Returns the code of the message

Returns:
the message code

getText

public string getText()
Returns the text of the message

Returns:
the message text

getType

public number getType()
Returns the type of the message

Returns:
the message type

toString_

public string toString_()
Returns the message description (code,text and type)

Returns:
the message description