jSyncManager

org.jSyncManager.Conduit.NotepadViewer
Class NotepadViewer

java.lang.Object
  |
  +--org.jSyncManager.API.Conduit.AbstractConduit
        |
        +--org.jSyncManager.Conduit.NotepadViewer.NotepadViewer
All Implemented Interfaces:
java.io.Serializable

public class NotepadViewer
extends AbstractConduit

The jConduit will take the contents of the Notepad, and will dump them to disk in a standard graphic format.

Version:
$Revision: 1.6 $
Author:
Brad BARCLAY <bbarclay@jsyncmanager.org>
Last modified by: $Author: yaztromo $.
See Also:
Serialized Form

Field Summary
protected  NotepadViewerJPanel npPanel
           
 
Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit
configurationPanel, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, resources
 
Constructor Summary
NotepadViewer()
          The constructor used to initialize this jConduit.
 
Method Summary
protected  javax.swing.JPanel constructConfigPanel()
          Constructs a configuration panel for this jConduit.
protected  java.lang.String getResourceBundleName()
          Retrieves the name of the properties file to use as the Conduits Resource Bundle.
 void startSync(ConduitHandler ch, DLPUserInfo user)
          This method is called when this jConduit is given the opportunity to synchronize.
 
Methods inherited from class org.jSyncManager.API.Conduit.AbstractConduit
getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, getHandler, getPriority, setHandler, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

npPanel

protected transient NotepadViewerJPanel npPanel
Constructor Detail

NotepadViewer

public NotepadViewer()
The constructor used to initialize this jConduit.
Method Detail

getResourceBundleName

protected java.lang.String getResourceBundleName()
Retrieves the name of the properties file to use as the Conduits Resource Bundle.
Overrides:
getResourceBundleName in class AbstractConduit
Returns:
the fully-qualified property file name to use as this jConduits resource bundle.

startSync

public void startSync(ConduitHandler ch,
                      DLPUserInfo user)
               throws NotConnectedException
This method is called when this jConduit is given the opportunity to synchronize.
Overrides:
startSync in class AbstractConduit
Parameters:
conduitHandler - the handle to the active ConduitHandler to use for synchronization.
user - the user information object for the handhelds owner.
Throws:
NotConnectedException - thrown if the connection to the Palm is lost during sync.

constructConfigPanel

protected javax.swing.JPanel constructConfigPanel()
Constructs a configuration panel for this jConduit.
Overrides:
constructConfigPanel in class AbstractConduit
Returns:
a JPanel containing whatever configuration widgets this jConduit requires.

jSyncManager

Copyright (c) 1999 - 2003 Brad BARCLAY and others. All Rights Reserved.