|
List of Free SCMAD Articles from uCertify.com |
|
|
Written by Roger Stuart
|
|
Page 4 of 12
The getConstraints() method is a method of the TextField class. It is used to extract the value of a constraint from a TextField. A constraint is used to restrict the type of data that a TextField can accept. Some of these constraints are listed below: ANY PASSWORD EMAILADDR PHONENUMBER... [read more..]
The SecurityInfo interface contains methods that provide information about a secure connection. Some of the methods of this interface are as follows: getProtocolName(): It returns the name of the protocol, such as SSL. getProtocolVersion(): It returns the version number of the secured... [read more..]
The setTimeout() method is a method of the Alert class. It is used to set the timeout of an Alert. The general syntax of this method is as follows: public void setTimeout(int time) Here, the time parameter specifies the time for which the Alert will be shown on the screen. It must be a... [read more..]
The getDefaultTimeout() method is a method of the Alert class. It is used to return the default timeout set at the time of the creation of an Alert instance. The general syntax of this method is as follows: public int getDefaultTimeout() It returns a positive value indicating the value of... [read more..]
The getTimeout() method is a method of the Alert class. It is used to return the timeout, in milliseconds, for a given Alert instance. The general syntax of this method is as follows: public int getTimeout() It returns time either in milliseconds or FOREVER (when the timeout is set as... [read more..]
The receive() method is a method of the MessageConnection interface. It receives a message for a specified connection. The general syntax of this method is as follows: public Message receive() It returns a Message object representing the information in the received message. [read more..]
The notifyIncomingMessage() method is a method of the MessageListener interface. This method is called whenever a message arrives at a MessageConnection object. The general syntax of this method is as follows: public void notifyIncomingMessage(MessageConnection m) Here, m is the instance... [read more..]
The getCaretPosition() method is a method of the TextBox class. It is used to extract the current position of the cursor within a TextField or a TextBox. The general syntax of this method is as follows: public int getCaretPosition() It returns an integer value indicating the position of... [read more..]
The send() method is a method of the MessageConnection interface. It is used to send a message. The general syntax of this method is as follows: public void send(Message msg) Here, the msg parameter specifies the message to be sent. [read more..]
The sleep() method is a method of the Thread class. It suspends the execution of the thread from which it is called. The execution is suspended for a specified amount of time. This duration is given in milliseconds. The general syntax of this method is as follows: public static void... [read more..]
|