| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--de.mud.jta.Plugin
        |
        +--de.mud.jta.plugin.Terminal
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
| Field Summary | |
| protected  SoundRequest | audioBeepif we have a url to an audioclip use it as ping | 
| protected  vt320 | emulation | 
| protected  java.lang.String | encodingThe default encoding is ISO 8859-1 (western). | 
| protected  javax.swing.JMenu | menuholds the terminal menu | 
| protected  FilterPlugin | source | 
| protected  SwingTerminal | terminalholds the actual terminal emulation | 
| protected  javax.swing.JPanel | tPanelthe terminal panel that is displayed on-screen | 
| Fields inherited from class de.mud.jta.Plugin | 
| bus, id | 
| Constructor Summary | |
| Terminal(PluginBus bus,
         java.lang.String id)Create a new terminal plugin and initialize the terminal emulation. | |
| Method Summary | |
|  void | copy(java.awt.datatransfer.Clipboard clipboard)Copy currently selected text into the clipboard. | 
|  FilterPlugin | getFilterSource() | 
|  javax.swing.JMenu | getPluginMenu()Get the menu entry for this component. | 
|  javax.swing.JComponent | getPluginVisual()Get the visible components from the plugin. | 
|  void | lostOwnership(java.awt.datatransfer.Clipboard clipboard,
              java.awt.datatransfer.Transferable contents) | 
|  void | paste(java.awt.datatransfer.Clipboard clipboard)Paste text from clipboard to the plugin. | 
|  int | read(byte[] b)Read a block of data from the back end. | 
|  void | run()Continuously read from our back end and display the data on screen. | 
|  void | setFilterSource(FilterPlugin source)Set the source plugin where we get our data from and where the data sink (write) is. | 
|  void | write(byte[] b)Write a block of data to the back end. | 
| Methods inherited from class de.mud.jta.Plugin | 
| error, getId | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected SwingTerminal terminal
protected vt320 emulation
protected java.lang.String encoding
protected SoundRequest audioBeep
protected javax.swing.JPanel tPanel
protected javax.swing.JMenu menu
protected FilterPlugin source
| Constructor Detail | 
public Terminal(PluginBus bus,
                java.lang.String id)
| Method Detail | 
public void run()
run in interface java.lang.Runnablepublic void setFilterSource(FilterPlugin source)
FilterPlugin
setFilterSource in interface FilterPluginsource - the data sourcepublic FilterPlugin getFilterSource()
getFilterSource in interface FilterPlugin
public int read(byte[] b)
         throws java.io.IOException
FilterPlugin
read in interface FilterPluginb - the buffer to read the data into
java.io.IOException
public void write(byte[] b)
           throws java.io.IOException
FilterPlugin
write in interface FilterPluginb - the buffer to be sent
java.io.IOExceptionpublic javax.swing.JComponent getPluginVisual()
VisualPlugin
getPluginVisual in interface VisualPluginpublic javax.swing.JMenu getPluginMenu()
VisualPlugin
getPluginMenu in interface VisualPluginpublic void copy(java.awt.datatransfer.Clipboard clipboard)
VisualTransferPlugin
copy in interface VisualTransferPluginclipboard - the clipboardpublic void paste(java.awt.datatransfer.Clipboard clipboard)
VisualTransferPlugin
paste in interface VisualTransferPluginclipboard - the clipboard
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard,
                          java.awt.datatransfer.Transferable contents)
lostOwnership in interface java.awt.datatransfer.ClipboardOwner| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||