Moves the image so that it is centered at the specified location,
as opposed to the move method of Component which places the top left
corner at the specified location.
create() -> reference to PromptLogin object
// This is a Class method that the user of PromptLogin will
// invoke to build a PromptLogin dialog object
//
// This method should be invoked only once to build a reuseable
// PromptLogin object
create() -
Static method in class com.jthomas.mailfaces.Prompter
create(String Prompt,String default) -> reference to Prompter object
This is a Class method that the user of Prompter will
invoke to build a Prompter dialog object
This method should be invoked only once to build a reuseable
Prompter object
An int whose bits are combined via "and" ("&") with the alpha,
red, green, and blue bits of the pixels of the image to produce
the grayed-out image to use when button is depressed.
deleteIndex(FaceCacheEntry entry)
This deletes an entry to the Cache by
deleting it from the in-memory indexes and
and setting a flag so it will not be rewritten
when the index is rewritten
The FaceAudio object is a Singleton and its
constructor is called by MailFaces initialization()
It creates a queue that other components can place audio
requests using the queuePut(String url) method.
Constructor for a FaceServer object
It will parse the FaceServer information from the Options file
and get the following information for each server (if available)
Type ( Pop3,APOP,IMAP)
Host
Userid
Password
Identify event sent when User has changed the Options file and
the FaceOptions object has been rebuilt and potentially one or
more options have changed.
Log information with time stamp
Usage:
To have Log output displayed
Log.setLogOn(true,filename)
To produce Log output just specify an identifier and a
string as a parameters to the Class method "Log.out(String id,String x)"
The idea is that the "id" string should be unique so one could search for it
For example:
Log.out("Options01", loginfo);
LogOn -
Static variable in class com.jthomas.util.Log
LogOut -
Static variable in class com.jthomas.util.Log
Display the stacktrace info after an exception
Display the exception info + stacktrace info after an exception
This form of Debug.out is always displayed.
Static class method to parse a Network mail address and return
an array containing {userid,host,fullname}
0: Userid
1: Host
2: Name (if present)
Examples:
John Q Public -> [jpublic] [netcom.com] [John Q.
setPiconImageURL setAudioURL
Set the URL for an image to associate with this mailmsg
getPiconImageURL getAudioURL
Report the URL for the image or audio file
Set a flag so that User is forced to respecify the Server information
This could be done when the connection could not be made so we
want to let the user check if all the info was supplied correctly.
setVisible() -> show or hide the window
This is the method that is called by the program using Prompter when
it wants the Prompt dialog to be displayed for the user.
Update the FaceBoard so that a new mailmsg is represented
It will be represented either by adding a new FaceButton or by adding
to the count for an existing FaceButton