|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jSyncManager.API.Conduit.AbstractConduit
The abstract class representing a jConduit. All jConduits are derived from this class.
| Field Summary | |
|---|---|
protected javax.swing.JPanel |
configurationPanel
Used to hold a local handle to a conduit configuration panel. |
static byte |
HIGH_PRIORITY
A useful constant denoting high jConduit priority. |
static byte |
LOW_PRIORITY
A useful constant denoting low jConduit priority. |
static byte |
NORMAL_PRIORITY
A useful constant denoting normal jConduit priority. |
protected java.util.ResourceBundle |
resources
A field to hold a resource bundle for this conduit, if available. |
| Constructor Summary | |
|---|---|
AbstractConduit()
The constructor used to initialize new jConduits. |
|
| Method Summary | |
|---|---|
protected abstract javax.swing.JPanel |
constructConfigPanel()
Constructs a configuration panel for this jConduit. |
java.lang.String |
getConduitDescription()
Returns the description of this jConduit for display. |
java.lang.String |
getConduitName()
Returns the name of this jConduit for display. |
protected java.util.ResourceBundle |
getConduitResourceBundle()
Loads the resource bundle named by the getResourceBundleName method. |
javax.swing.JPanel |
getConfigurationPanel()
Retrieves the configuration panel for this jConduit. |
ConduitHandler |
getHandler()
Getter for property handler. |
byte |
getPriority()
This method returns the jConduits priority byte. |
protected abstract java.lang.String |
getResourceBundleName()
Retrieves the name of the class to use as the Conduits Resource Bundle. |
void |
setHandler(ConduitHandler handler)
Setter for property handler. |
abstract void |
startSync(ConduitHandler conduitHandler,
DLPUserInfo user)
This method is called when this jConduit is given the opportunity to synchronize. |
java.lang.String |
toString()
Returns the name of this jConduit. |
| Methods inherited from class java.lang.Object |
|---|
|
| Field Detail |
protected transient java.util.ResourceBundle resources
public static final byte HIGH_PRIORITY
public static final byte NORMAL_PRIORITY
public static final byte LOW_PRIORITY
protected transient javax.swing.JPanel configurationPanel
| Constructor Detail |
public AbstractConduit()
| Method Detail |
public final java.lang.String getConduitName()
throws java.util.MissingResourceException
java.util.MissingResourceException - if the resource bundle can't be loaded.getConduitDescription()
public final java.lang.String getConduitDescription()
throws java.util.MissingResourceException
java.util.MissingResourceException - if the resource bundle can't be loaded.protected abstract java.lang.String getResourceBundleName()
protected final java.util.ResourceBundle getConduitResourceBundle()
throws java.util.MissingResourceException
java.util.MissingResourceException - thown if the ResourceBundle can't be loaded.public byte getPriority()
public abstract void startSync(ConduitHandler conduitHandler,
DLPUserInfo user)
throws NotConnectedException
conduitHandler - the handle to the active ConduitHandler to use for synchronization.user - the user information object for the handhelds owner.NotConnectedException - thrown if the connection to the Palm is lost during sync.public java.lang.String toString()
toString in class java.lang.Objectthe - name of this jConduit.getConduitName()public final javax.swing.JPanel getConfigurationPanel()
protected abstract javax.swing.JPanel constructConfigPanel()
public ConduitHandler getHandler()
public void setHandler(ConduitHandler handler)
handler - New value of property handler.
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||