Modifier and Type | Field and Description |
---|---|
static BBjNumber |
EMAIL_BCC_TYPE
Constant that represents a email BCC address type
|
static BBjNumber |
EMAIL_CC_TYPE
Constant that represents a email CC address type
|
static BBjNumber |
EMAIL_TO_TYPE
Constant that represents a email To address type
|
BBjNumber |
Retries! |
Constructor and Description |
---|
EmailDialog()
Creates an empty EmailDialog object
|
Modifier and Type | Method and Description |
---|---|
BBjNumber |
addEmailAddress(BBjString p_emailAddress$,
BBjNumber p_emailType)
Adds an email address to the appropriate list
|
BBjNumber |
addEmailAddress(BBjString p_firstName$,
BBjString p_lastName$,
BBjString p_emailAddress$,
BBjNumber p_emailType)
Adds an email address to the appropriate list
|
BBjNumber |
addEmailAttachment(BBjString p_emailAttachment$)
Adds a file as an email attachment
|
BBjNumber |
addEmailContact(EmailContact p_emailContact!)
Adds an email contact to the contact list
|
BBjNumber |
addEmailContact(EmailContact p_emailContact!,
BBjNumber p_emailType)
Adds an email contact to the appropriate list
|
BBjNumber |
addEmailContacts(BBjVector p_emailContacts!)
Adds email contacts to the contact list
|
BBjNumber |
addEmailContacts(BBjVector p_emailContacts!,
BBjNumber p_emailType)
Adds email contacts to the appropriate list
|
void |
contactsDialogChange(BBjNumber p_newContact)
Brings up the contacts dialog
|
void |
doModal()
Runs the email dialog
|
BBjNumber |
getCloseOnSend()
Returns whether the dialog should be closed on a send
|
BBjNumber |
getCreateContactsOnSend()
Returns whether contacts should be created for new email addresses on a send
|
BBjVector |
getEmailAttachments()
Returns the file names of the email attachments
|
HashMap |
getEmailContacts()
Returns the email contacts
|
BBjString |
getEmailFrom()
Returns the email from address
|
BBjString |
getEmailMessage()
Returns the email message
|
BBjString |
getEmailServerHost()
Returns the email server host name
|
BBjString |
getEmailServerPassword()
Returns the email server password
|
BBjNumber |
getEmailServerPort()
Returns the email server port
|
BBjNumber |
getEmailServerSSL()
Returns the email server SSL
|
BBjString |
getEmailServerUserName()
Returns the email server user name
|
BBjString |
getEmailSubject()
Returns the email subject
|
BBjNumber |
getHeight()
Returns the height of the dialog
|
BBjString |
getTitle()
Returns the dialog title
|
BBjNumber |
getWidth()
Returns the width of the dialog
|
BBjNumber |
getX()
Returns the X location of the email dialog
|
BBjNumber |
getY()
Returns the Y location of the email dialog
|
void |
loadEmailContacts()
Loads contacts from the HashMap into the contacts grid
|
void |
loadEmailContacts(BBjString p_emailAddress$)
Loads email contacts from the HashMap into the contacts grid
|
void |
OnAttachmentDialogApprove(BBjFileChooserApproveEvent p_event!)
Callback when a file is choosen in the attachment dialog
|
void |
OnAttachmentDialogClose(BBjSysGuiEvent p_event!)
Callback when the attachment dialog should be closed
|
void |
OnAttachmentRemove(BBjToolButtonPushEvent p_event!)
Callback for when a remove attachment tool button is pushed
|
void |
OnContactChangeDialogClose(BBjSysGuiEvent p_event!)
Callback for when the contact change dialog is closed
|
void |
OnContactChangeEmailEdit(BBjEditModifyEvent p_event!)
Callback for when the contact change email is edited
|
void |
OnContactChangeFirstNameEdit(BBjEditModifyEvent p_event!)
Callback for when the contact change first name is edited
|
void |
OnContactChangeLastNameEdit(BBjEditModifyEvent p_event!)
Callback for when the contact change last name is edited
|
void |
OnContactChangeSave(BBjButtonPushEvent p_event!)
Callback for when the contact change save button is pressed
|
void |
OnContactDialogEdit(BBjButtonPushEvent p_event!)
Callback when the contact edit button is pressed
|
void |
OnContactDialogNew(BBjButtonPushEvent p_event!)
Callback when the contact new button is pressed
|
void |
OnContactsDialogClose(BBjSysGuiEvent p_event!)
Callback to close the Contacts dialog
|
void |
OnContactsDialogRemove(BBjButtonPushEvent p_event!)
Callback for when the Contacts remove button is pressed
|
void |
OnContactsDialogSelect(BBjButtonPushEvent p_event!)
Callback for when the contacts select button is preseed
|
void |
OnContactsGridDoubleClick(BBjGridDoubleClickEvent p_event!)
Callback when the user double clicks on the contacts grid
|
void |
OnEmailAddressEdit(BBjEditModifyEvent p_event!)
Callback for when an email address text is changed
|
void |
OnEmailAddressLostFocus(BBjLostFocusEvent p_event!)
Callback for when an email address loses focus
|
void |
OnEmailAddressRemove(BBjToolButtonPushEvent p_event!)
Callback for when the email dialog remove email address button is pushed
|
void |
OnEmailAddressSelect(BBjListDoubleClickEvent p_event!)
Callback for when an email address is selected from the address list box
|
void |
OnEmailBCCAddressKeypress(BBjEditKeypressEvent p_event!)
Callback for when a key is pressed in the email bcc edit box
|
void |
OnEmailCCAddressKeypress(BBjEditKeypressEvent p_event!)
Callback for when a key is pressed in the email cc edit box
|
void |
OnEmailDialogAttachmentClient(BBjSysGuiEvent p_event!)
Callback to add a client file as an attachment to the email
|
void |
OnEmailDialogAttachmentServer(BBjSysGuiEvent p_event!)
Callback to add a server file as an attachment to the email
|
void |
OnEmailDialogBCCAdd(BBjPopupSelectEvent p_event!)
Callback for when the email dialog BCC add menu item is selected
|
void |
OnEmailDialogBCCContacts(BBjButtonPushEvent p_event!)
Callback to bring up the contacts dialog for the BCC addresees
|
void |
OnEmailDialogBCCRemove(BBjPopupSelectEvent p_event!)
Callback for when the email dialog BCC remove menu item is selected
|
void |
OnEmailDialogCCAdd(BBjPopupSelectEvent p_event!)
Callback for when the email dialog CC add menu item is selected
|
void |
OnEmailDialogCCContacts(BBjButtonPushEvent p_event!)
Callback to bring up the contacts dialog for the CC addresees
|
void |
OnEmailDialogCCRemove(BBjPopupSelectEvent p_event!)
Callback for when the email dialog CC remove menu item is selected
|
void |
OnEmailDialogClose(BBjSysGuiEvent p_event!)
Callback for when the email dialog is to be closed
|
void |
OnEmailDialogSend(BBjButtonPushEvent p_event!)
Callback for when the email dialog send button is pressed
|
void |
OnEmailDialogSettings(BBjButtonPushEvent p_event!)
Callback for when the email dialog settings button is pressed
|
void |
OnEmailDialogToContacts(BBjButtonPushEvent p_event!)
Callback to bring up the contacts dialog for the To addresees
|
void |
OnEmailSettingsDialogClose(BBjSysGuiEvent p_event!)
Callback for when the email settings dialog is to be closed
|
void |
OnEmailSettingsDialogSave(BBjButtonPushEvent p_event!)
Callback for when the email settings dialog save button is pressed
|
void |
OnEmailToAddressKeypress(BBjEditKeypressEvent p_event!)
Callback for when a key is pressed in the email to edit box
|
void |
removeAllEmailContacts()
Removes all email contacts from the contact list
|
BBjNumber |
removeEmailAddress(BBjString p_emailAddress$,
BBjNumber p_emailType)
Removes an email address from the appropriate list
|
BBjNumber |
removeEmailAddresses(BBjVector p_emailAddresses!,
BBjNumber p_emailType)
Removes email addresses from the appropriate list
|
BBjNumber |
removeEmailAttachment(BBjString p_emailAttachment$)
Removes an email attachment
|
BBjNumber |
removeEmailContact(EmailContact p_emailContact!)
Removes an email contact from the contact list
|
BBjNumber |
removeEmailContact(EmailContact p_emailContact!,
BBjNumber p_emailType)
Removes an email contact from the appropriate list
|
BBjNumber |
removeEmailContacts(BBjVector p_emailContacts!)
Removes email contacts from the contact list
|
BBjNumber |
removeEmailContacts(BBjVector p_emailContacts!,
BBjNumber p_emailType)
Removes email contacts from the appropriate list
|
void |
saveEmailContacts()
Saves the email contacts to the user properties
|
void |
setCloseOnSend(BBjNumber p_closeOnSend)
Sets whether dialog should be closed on a send
|
void |
setCreateContactsOnSend(BBjNumber p_createContactsOnSend)
Sets whether contacts should be created for new email addresses on a send
|
void |
setEmailFrom(BBjString p_emailFrom$)
Sets the email from address
|
void |
setEmailMessage(BBjString p_emailMessage$)
Sets the email message
|
void |
setEmailServerHost(BBjString p_emailServerHost$)
Sets the email server host
|
void |
setEmailServerPassword(BBjString p_emailServerPassword$)
Sets password that will be used to authenticate to the email server
|
void |
setEmailServerPort(BBjNumber p_emailServerPort)
Sets the email server port
|
void |
setEmailServerSSL(BBjNumber p_emailServerSSL)
Sets the email server ssl protocol on or off
|
void |
setEmailServerUserName(BBjString p_emailServerUserName$)
Sets user name that will be used to authenticate to the email server
|
void |
setEmailSubject(BBjString p_emailSubject$)
Sets the email subject
|
void |
setLocation(BBjNumber p_x,
BBjNumber p_y)
Sets the X, Y location of the dialog
|
void |
setTitle(BBjString p_title$)
Sets the title of the dialog
|
public BBjNumber Retries!
public static BBjNumber EMAIL_TO_TYPE
public static BBjNumber EMAIL_CC_TYPE
public static BBjNumber EMAIL_BCC_TYPE
public void setTitle(BBjString p_title$)
p_title$
- Sets the title of the dialogpublic void setLocation(BBjNumber p_x, BBjNumber p_y)
p_x
- Specifies the X locationp_y
- Specifies the y locationpublic void setEmailSubject(BBjString p_emailSubject$)
p_emailSubject$
- Email subjectpublic void setEmailMessage(BBjString p_emailMessage$)
p_emailMessage$
- Email messagepublic BBjNumber addEmailAttachment(BBjString p_emailAttachment$)
p_emailAttachment$
- Location of file to add as an email attachment
The attachment will only be added if the associated file can be openedpublic BBjNumber removeEmailAttachment(BBjString p_emailAttachment$)
p_emailAttachment$
- Path of file to remove from being an email attachmentpublic void OnAttachmentRemove(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void setEmailFrom(BBjString p_emailFrom$)
p_emailFrom$
- From email addresspublic void setEmailServerHost(BBjString p_emailServerHost$)
p_emailServerHost$
- Email server host namepublic void setEmailServerPort(BBjNumber p_emailServerPort)
p_emailServerPort
- Email server portpublic void setEmailServerSSL(BBjNumber p_emailServerSSL)
p_emailServerSSL
- Specify 1 for ssl ortherwise specify 0public void setEmailServerUserName(BBjString p_emailServerUserName$)
p_emailServerUserName$
- User name that will be used to authenticate to the email serverpublic void setEmailServerPassword(BBjString p_emailServerPassword$)
p_emailServerPassword$
- Password that will be used to authenticate to the email serverpublic void setCreateContactsOnSend(BBjNumber p_createContactsOnSend)
p_createContactsOnSend
- Specify TRUE (1) to create contacts for new email addresses on a send, otherwise specify FALSE (0)public void setCloseOnSend(BBjNumber p_closeOnSend)
p_closeOnSend
- Specify TRUE (1) to close the dialog on a send, otherwise specify FALSE (0)public BBjString getTitle()
public BBjNumber getX()
public BBjNumber getY()
public BBjNumber getWidth()
public BBjNumber getHeight()
public BBjString getEmailSubject()
public BBjString getEmailMessage()
public BBjVector getEmailAttachments()
public BBjString getEmailFrom()
public BBjString getEmailServerHost()
public BBjNumber getEmailServerPort()
public BBjNumber getEmailServerSSL()
public BBjString getEmailServerUserName()
public BBjString getEmailServerPassword()
public BBjNumber getCreateContactsOnSend()
public BBjNumber getCloseOnSend()
public HashMap getEmailContacts()
public void doModal()
public void OnEmailDialogClose(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnEmailDialogToContacts(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnEmailDialogCCContacts(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnEmailDialogBCCContacts(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnContactsDialogClose(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnContactsDialogSelect(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnContactsGridDoubleClick(BBjGridDoubleClickEvent p_event!)
p_event!
- BBjGridDoubleClickEvent objectpublic void OnContactDialogEdit(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnContactDialogNew(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void contactsDialogChange(BBjNumber p_newContact)
p_newContact
- Specify 1 for a new contact, otherwise 0public void OnContactChangeFirstNameEdit(BBjEditModifyEvent p_event!)
p_event!
- BBjEditModifyEvent objectpublic void OnContactChangeLastNameEdit(BBjEditModifyEvent p_event!)
p_event!
- BBjEditModifyEvent objectpublic void OnContactChangeEmailEdit(BBjEditModifyEvent p_event!)
p_event!
- BBjEditModifyEvent objectpublic void OnContactChangeDialogClose(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnContactChangeSave(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnContactsDialogRemove(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic BBjNumber addEmailContacts(BBjVector p_emailContacts!)
p_emailContacts!
- Vector that contains the EmailContact objects to addpublic void OnEmailDialogAttachmentClient(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnEmailDialogAttachmentServer(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnAttachmentDialogClose(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent objectpublic void OnAttachmentDialogApprove(BBjFileChooserApproveEvent p_event!)
p_event!
- BBjFileChooserApproveEvent objectpublic BBjNumber addEmailContact(EmailContact p_emailContact!)
p_emailContact!
- EmailContact object to add to the contact listpublic void removeAllEmailContacts()
public BBjNumber removeEmailContacts(BBjVector p_emailContacts!)
p_emailContacts!
- Vector that contains the EmailContact objects to remove from the contact listpublic BBjNumber removeEmailContact(EmailContact p_emailContact!)
p_emailContact!
- EmailContact object to remove from the contact listpublic void saveEmailContacts()
public void loadEmailContacts()
public void loadEmailContacts(BBjString p_emailAddress$)
p_emailAddress$
- Email address to be selected after the grid is loadedpublic void OnEmailDialogSend(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnEmailToAddressKeypress(BBjEditKeypressEvent p_event!)
p_event!
- BBjEditKeypressEvent objectpublic void OnEmailCCAddressKeypress(BBjEditKeypressEvent p_event!)
p_event!
- BBjEditKeypressEvent objectpublic void OnEmailBCCAddressKeypress(BBjEditKeypressEvent p_event!)
p_event!
- BBjEditKeypressEvent objectpublic void OnEmailAddressEdit(BBjEditModifyEvent p_event!)
p_event!
- BBjEditModifyEvent objectpublic void OnEmailAddressSelect(BBjListDoubleClickEvent p_event!)
p_event!
- BBjListDoubleClickEvent objectpublic void OnEmailAddressLostFocus(BBjLostFocusEvent p_event!)
p_event!
- BBjLostFocusEvent objectpublic BBjNumber addEmailContacts(BBjVector p_emailContacts!, BBjNumber p_emailType)
p_emailContacts!
- Vector that contains the email contact objects to addp_emailType
- Email type (To, CC, BCC)public BBjNumber addEmailContact(EmailContact p_emailContact!, BBjNumber p_emailType)
p_emailContact!
- Email contact object to addp_emailType
- Email type (To, CC, BCC)public BBjNumber addEmailAddress(BBjString p_emailAddress$, BBjNumber p_emailType)
p_emailAddress$
- Email addressp_emailType
- Email type (To, CC, BCC)public BBjNumber addEmailAddress(BBjString p_firstName$, BBjString p_lastName$, BBjString p_emailAddress$, BBjNumber p_emailType)
p_firstName$
- First namep_LastName$
- Last namep_emailAddress$
- Email addressp_emailType
- Email type (To, CC, BCC)public BBjNumber removeEmailContacts(BBjVector p_emailContacts!, BBjNumber p_emailType)
p_emailContacts
- Vector that contains the EmailContact objects to removep_emailType
- Email type (To, CC, BCC)public BBjNumber removeEmailContact(EmailContact p_emailContact!, BBjNumber p_emailType)
p_emailContact
- Email contact object to removep_emailType
- Email type (To, CC, BCC)public BBjNumber removeEmailAddresses(BBjVector p_emailAddresses!, BBjNumber p_emailType)
p_emailAddresses
- Vector that contains the email addresses to removep_emailType
- Email type (To, CC, BCC)public BBjNumber removeEmailAddress(BBjString p_emailAddress$, BBjNumber p_emailType)
p_emailAddress$
- Email address to removep_emailType
- Email type (To, CC, BCC)public void OnEmailAddressRemove(BBjToolButtonPushEvent p_event!)
p_event!
- BBjToolButtonPushEvent objectpublic void OnEmailDialogCCAdd(BBjPopupSelectEvent p_event!)
p_event!
- BBjPopupSelectEvent objectpublic void OnEmailDialogCCRemove(BBjPopupSelectEvent p_event!)
p_event!
- BBjPopupSelectEvent objectpublic void OnEmailDialogBCCAdd(BBjPopupSelectEvent p_event!)
p_event!
- BBjPopupSelectEvent objectpublic void OnEmailDialogBCCRemove(BBjPopupSelectEvent p_event!)
p_event!
- BBjPopupSelectEvent objectpublic void OnEmailDialogSettings(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnEmailSettingsDialogSave(BBjButtonPushEvent p_event!)
p_event!
- BBjButtonPushEvent objectpublic void OnEmailSettingsDialogClose(BBjSysGuiEvent p_event!)
p_event!
- BBjSysGuiEvent object