Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jempeg.empeg.emplode
Class EmplodeConnectionManager  view EmplodeConnectionManager download EmplodeConnectionManager.java

java.lang.Object
  extended byorg.jempeg.empeg.emplode.EmplodeConnectionManager

public class EmplodeConnectionManager
extends java.lang.Object

Emplode is the main class for the Java Emplode clone. Much like Emptool, the various methods of Emplode implement the various functions that can be executed by the user. The binding of these methods to buttons and panels is done through the .dialog and .action packages.

Version:
$Revision: 1.1 $

Field Summary
private  Emplode myEmplode
           
 
Constructor Summary
EmplodeConnectionManager(Emplode _emplode)
           
 
Method Summary
 org.jempeg.empeg.core.DynamicConfigFile getConfigFile()
          Returns the DynamicConfigFile for this session.
 void grabScreen()
          Grabs the contents of the Empeg screen and displays it in a new frame.
 void initFromConnection()
          Offers the user a dialog to select the preferred Empeg connection and updates the PlayerDatabase.
 void initFromConnection(org.jempeg.empeg.protocol.ConnectionIfc _conn)
          Offers the user a dialog to select the preferred Empeg connection and updates the PlayerDatabase.
 void initFromFile(java.io.File _restoreFile)
          Restores a playerdatabase from the given file
 void setConfigFile(org.jempeg.empeg.core.DynamicConfigFile _configFile)
          Sets the DynamicConfigFile for this session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myEmplode

private Emplode myEmplode
Constructor Detail

EmplodeConnectionManager

public EmplodeConnectionManager(Emplode _emplode)
Method Detail

initFromFile

public void initFromFile(java.io.File _restoreFile)
                  throws java.io.IOException
Restores a playerdatabase from the given file


initFromConnection

public void initFromConnection()
                        throws java.io.IOException
Offers the user a dialog to select the preferred Empeg connection and updates the PlayerDatabase.


initFromConnection

public void initFromConnection(org.jempeg.empeg.protocol.ConnectionIfc _conn)
                        throws java.io.IOException
Offers the user a dialog to select the preferred Empeg connection and updates the PlayerDatabase.


getConfigFile

public org.jempeg.empeg.core.DynamicConfigFile getConfigFile()
                                                      throws java.io.IOException
Returns the DynamicConfigFile for this session.


setConfigFile

public void setConfigFile(org.jempeg.empeg.core.DynamicConfigFile _configFile)
Sets the DynamicConfigFile for this session.


grabScreen

public void grabScreen()
                throws java.io.IOException
Grabs the contents of the Empeg screen and displays it in a new frame. OK .. this is just a really nasty hacky method ... I just wanted to "make it work" (tm).