Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.lucane.plugins.sendmail
Class MailClient  view MailClient download MailClient.java

java.lang.Object
  extended byorg.lucane.client.Plugin
      extended byorg.lucane.plugins.sendmail.MailClient
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.lang.Runnable, java.awt.event.WindowListener

public class MailClient
extends org.lucane.client.Plugin
implements java.awt.event.ActionListener


Field Summary
private  javax.swing.JTextField attachData
           
private  javax.swing.JTextField attachName
           
private  javax.swing.JTextField bcc
           
private  javax.swing.JButton btnSend
           
private  javax.swing.JTextField cc
           
private  javax.swing.JTextField content
           
private  javax.swing.JFrame frame
           
private  javax.swing.JTextField from
           
private  org.lucane.common.ConnectInfo sendmail
           
private  javax.swing.JTextField subject
           
private  javax.swing.JTextField to
           
 
Fields inherited from class org.lucane.client.Plugin
bundle, starter
 
Constructor Summary
MailClient()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          This method is invoked when an action occurs.
 void follow()
          This is called if you are not starting the plugin.
 org.lucane.client.Plugin init(org.lucane.common.ConnectInfo[] friends, boolean starter)
          Used by the PluginLoader to initialize the plugin with adequate parameters
 void load(org.lucane.common.ObjectConnection friend, org.lucane.common.ConnectInfo who, java.lang.String command)
          Used by the PluginLoader to load a plugin previously initialized with a command String and a Socket to communicate with.
 void start()
          Used when a plugin is started (ie.
 
Methods inherited from class org.lucane.client.Plugin
exit, getAuthor, getCategory, getDirectory, getEmail, getIcon, getName, getTitle, getToolTip, getVersion, run, setLocale, tr, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

private javax.swing.JFrame frame

from

private javax.swing.JTextField from

to

private javax.swing.JTextField to

cc

private javax.swing.JTextField cc

bcc

private javax.swing.JTextField bcc

subject

private javax.swing.JTextField subject

content

private javax.swing.JTextField content

attachName

private javax.swing.JTextField attachName

attachData

private javax.swing.JTextField attachData

btnSend

private javax.swing.JButton btnSend

sendmail

private org.lucane.common.ConnectInfo sendmail
Constructor Detail

MailClient

public MailClient()
Method Detail

init

public org.lucane.client.Plugin init(org.lucane.common.ConnectInfo[] friends,
                                     boolean starter)
Description copied from class: org.lucane.client.Plugin
Used by the PluginLoader to initialize the plugin with adequate parameters


load

public void load(org.lucane.common.ObjectConnection friend,
                 org.lucane.common.ConnectInfo who,
                 java.lang.String command)
Description copied from class: org.lucane.client.Plugin
Used by the PluginLoader to load a plugin previously initialized with a command String and a Socket to communicate with.


start

public void start()
Description copied from class: org.lucane.client.Plugin
Used when a plugin is started (ie. not loaded afeter a network request). For example, it is called when a user wants to send a mesage to another. It allows the plugin developpeur to ask for other parameters interactively.


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

follow

public void follow()
This is called if you are not starting the plugin.