de.mud.jta.plugin
Class Terminal
- ClipboardOwner, FilterPlugin, Runnable, VisualPlugin, VisualTransferPlugin
The terminal plugin represents the actual terminal where the
data will be displayed and the gets the keyboard input to sent
back to the remote host.
Maintainer: Matthias L. Jugel
$Id: Terminal.java 510 2005-10-28 06:46:44Z marcus $- Matthias L. Jugel, Marcus Mei???ner
Terminal(PluginBus bus, String id) - Create a new terminal plugin and initialize the terminal emulation.
|
audioBeep
protected SoundRequest audioBeep
if we have a url to an audioclip use it as ping
emulation
protected vt320 emulation
encoding
protected String encoding
The default encoding is ISO 8859-1 (western).
However, as you see the value is set to latin1 which is a value that
is not even documented and thus incorrect, but it forces the default
behaviour for western encodings. The correct value does not work in
most available browsers.
menu
protected JMenu menu
holds the terminal menu
tPanel
protected JPanel tPanel
the terminal panel that is displayed on-screen
terminal
protected SwingTerminal terminal
holds the actual terminal emulation
Terminal
public Terminal(PluginBus bus,
String id)
Create a new terminal plugin and initialize the terminal emulation.
copy
public void copy(Clipboard clipboard)
Copy currently selected text into the clipboard.
- copy in interface VisualTransferPlugin
clipboard
- the clipboard
getPluginMenu
public JMenu getPluginMenu()
Get the menu entry for this component.
- getPluginMenu in interface VisualPlugin
- a menu that can be used to change the plugin state
getPluginVisual
public JComponent getPluginVisual()
Get the visible components from the plugin.
- getPluginVisual in interface VisualPlugin
- a component that represents the plugin
lostOwnership
public void lostOwnership(Clipboard clipboard,
Transferable contents)
paste
public void paste(Clipboard clipboard)
Paste text from clipboard to the plugin.
- paste in interface VisualTransferPlugin
clipboard
- the clipboard
run
public void run()
Continuously read from our back end and display the data on screen.