java.lang.Object
org.lucane.client.Plugin
org.lucane.plugins.passwdchanger.PasswdChanger
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.lang.Runnable, java.awt.event.WindowListener
- public class PasswdChanger
- extends org.lucane.client.Plugin
- implements java.awt.event.ActionListener
| 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 |
frame
private javax.swing.JFrame frame
txtold
private javax.swing.JTextField txtold
txtnew1
private javax.swing.JTextField txtnew1
txtnew2
private javax.swing.JTextField txtnew2
btnChange
private javax.swing.JButton btnChange
cinfo
private org.lucane.common.ConnectInfo cinfo
PasswdChanger
public PasswdChanger()
- Void contructor. Used by PluginLoader
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)
- Load the plugin from a network request.
start
public void start()
- Show a dialog asking for the friend name
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ae)
- Do something on a buttonclick. If it is the dialog button, initailize
everything. If it is the main button, send the message.
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
follow
public void follow()
- This is called if you are not starting the plugin.