de.mud.jta.plugin
Class MudConnector
java.lang.Object
|
+--de.mud.jta.Plugin
|
+--de.mud.jta.plugin.MudConnector
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.lang.Runnable, VisualPlugin
- public class MudConnector
- extends Plugin
- implements VisualPlugin, java.lang.Runnable, java.awt.event.ActionListener
The MudConnector (http://www.mudconnector.com) plugin. The plugin will
download a list of MUDs from a special list availabe at the url above
and the user can select the mud and connect to it. This usually requires
the relayd program to be run on the web server as this plugin tries to
establish connections to other hosts than the web server.
Maintainer: Matthias L. Jugel
- Version:
- $Id: MudConnector.java,v 2.5 2000/03/14 10:50:00 leo Exp $
- Author:
- Matthias L. Jugel, Marcus Meißner
Constructor Summary |
MudConnector(PluginBus bus,
java.lang.String id)
Create the list plugin and get the url to the actual list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listURL
protected java.net.URL listURL
step
protected int step
mudList
protected java.util.Hashtable mudList
mudListSelector
protected java.awt.List mudListSelector
mudName
protected java.awt.TextField mudName
mudAddr
protected java.awt.TextField mudAddr
mudPort
protected java.awt.TextField mudPort
connect
protected java.awt.Button connect
mudListPanel
protected java.awt.Panel mudListPanel
layouter
protected java.awt.CardLayout layouter
progress
protected de.mud.jta.plugin.MudConnector.ProgressBar progress
errorLabel
protected java.awt.Label errorLabel
MCMenu
protected java.awt.Menu MCMenu
MudConnector
public MudConnector(PluginBus bus,
java.lang.String id)
- Create the list plugin and get the url to the actual list.
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
getPluginVisual
public java.awt.Component getPluginVisual()
- Description copied from interface:
VisualPlugin
- Get the visible components from the plugin.
- Specified by:
getPluginVisual
in interface VisualPlugin
- Following copied from interface:
de.mud.jta.VisualPlugin
- Returns:
- a component that represents the plugin
getPluginMenu
public java.awt.Menu getPluginMenu()
- Description copied from interface:
VisualPlugin
- Get the menu entry for this component.
- Specified by:
getPluginMenu
in interface VisualPlugin
- Following copied from interface:
de.mud.jta.VisualPlugin
- Returns:
- a menu that can be used to change the plugin state