de.mud.jta.plugin
Class MudConnector
java.lang.Object
de.mud.jta.Plugin
de.mud.jta.plugin.MudConnector
- All Implemented Interfaces:
- VisualPlugin, java.awt.event.ActionListener, java.lang.Runnable, java.util.EventListener
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 499 2005-09-29 08:24:54Z leo $
- 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. |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
javax.swing.JMenu |
getPluginMenu()
Get the menu entry for this component. |
javax.swing.JComponent |
getPluginVisual()
Get the visible components from the plugin. |
void |
run()
|
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.Map mudList
mudListSelector
protected javax.swing.JList mudListSelector
mudName
protected javax.swing.JTextField mudName
mudAddr
protected javax.swing.JTextField mudAddr
mudPort
protected javax.swing.JTextField mudPort
connect
protected javax.swing.JButton connect
mudListPanel
protected javax.swing.JPanel mudListPanel
layouter
protected java.awt.CardLayout layouter
progress
protected de.mud.jta.plugin.MudConnector.ProgressBar progress
errorLabel
protected javax.swing.JLabel errorLabel
MCMenu
protected javax.swing.JMenu 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 javax.swing.JComponent getPluginVisual()
- Description copied from interface:
VisualPlugin
- Get the visible components from the plugin.
- Specified by:
getPluginVisual
in interface VisualPlugin
- Returns:
- a component that represents the plugin
getPluginMenu
public javax.swing.JMenu getPluginMenu()
- Description copied from interface:
VisualPlugin
- Get the menu entry for this component.
- Specified by:
getPluginMenu
in interface VisualPlugin
- Returns:
- a menu that can be used to change the plugin state