org.davic.net.ca
Class Enquiry

java.lang.Object
  extended byorg.davic.net.ca.MMIObject
      extended byorg.davic.net.ca.Text
          extended byorg.davic.net.ca.Enquiry

public class Enquiry
extends Text

Class representing an enquiry MMI object.


Method Summary
 short getAnswerLength()
           
 boolean getBlindAnswer()
           
 void setAnswer(java.lang.String answer)
          Submits the answer.
 
Methods inherited from class org.davic.net.ca.Text
getText
 
Methods inherited from class org.davic.net.ca.MMIObject
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBlindAnswer

public boolean getBlindAnswer()
Returns:
true if the answer should not be visible while being entered, otherwise false

getAnswerLength

public short getAnswerLength()
Returns:
the expected length of the answer in characters

setAnswer

public final void setAnswer(java.lang.String answer)
                     throws CAException
Submits the answer.

Parameters:
answer - The answer string. If null, it means that the user aborted the dialogue.
Throws:
InvalidSetException - raised if the application calls this method with an invalid value or more than once
CAException