|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsiuying.gm.app.gmailer4j.GMailer4j
public class GMailer4j
GMailer4j main program
| Field Summary | |
|---|---|
protected static int |
fetcherID
|
static int |
LOGGING
|
static int |
LOGON_OFF
|
static int |
LOGON_ON
|
| Constructor Summary | |
|---|---|
GMailer4j()
Initialize the program and then show it Then it build a background worker thread that check mail periodically |
|
| Method Summary | |
|---|---|
void |
connect()
connect to gmail checking user name, password and proxy setting before login |
void |
conversationDownloaded(GMConversation conv)
Called when a conversation is downloaded |
void |
disconnect()
disconnect from gmail |
void |
endnotifyOnNew()
|
protected void |
fetchBox(byte type,
java.lang.String boxname,
int position)
Fetch a mailbox folder from gmail |
void |
fetchBox(java.lang.String name,
int pos)
Fetch mailbox or label |
protected void |
fetchConversation(java.lang.String id,
int position)
|
protected void |
init()
Initialize the application Initialize preference, storage controllers, views |
static void |
main(java.lang.String[] args)
|
void |
notifyOnNew()
|
static void |
openBrowser(java.lang.String url)
Open system web browser for the specified url |
void |
searchMessage()
Use the search string in search panel text field to search on gmail Calling this function spawn a separate thread to do the job |
protected void |
setLogonStatus(int status)
setLogonStatus |
void |
showMainFrame()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static int fetcherID
public static final int LOGON_OFF
public static final int LOGON_ON
public static final int LOGGING
| Constructor Detail |
|---|
public GMailer4j()
| Method Detail |
|---|
protected void init()
public void showMainFrame()
public static void openBrowser(java.lang.String url)
url - the URL to openpublic void connect()
public void disconnect()
public void fetchBox(java.lang.String name,
int pos)
public void notifyOnNew()
public void endnotifyOnNew()
protected void fetchBox(byte type,
java.lang.String boxname,
int position)
String - boxname Name of the mailbox
protected void fetchConversation(java.lang.String id,
int position)
protected void setLogonStatus(int status)
status - intpublic void searchMessage()
public void conversationDownloaded(GMConversation conv)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||