org.pdfsam.guiclient.plugins.interfaces
Interface Plugable

All Known Implementing Classes:
AbstractPlugablePanel, JInfoPanel, JSettingsPanel

public interface Plugable

Provides an interface to plugable panels

Author:
Andrea Vacondio

Method Summary
 java.awt.FocusTraversalPolicy getFocusPolicy()
           
 javax.swing.Icon getIcon()
           
 org.dom4j.Node getJobNode(org.dom4j.Node arg0, boolean savePasswords)
           
 java.lang.String getPluginAuthor()
           
 java.lang.String getPluginName()
           
 java.lang.String getVersion()
           
 void loadJobNode(org.dom4j.Node arg0)
          Loads the input job node in the panel.
 void resetPanel()
          reset the panel before to load an environment
 

Method Detail

getPluginAuthor

java.lang.String getPluginAuthor()
Returns:
Plugin Author Name

getPluginName

java.lang.String getPluginName()
Returns:
Plugin Name

getVersion

java.lang.String getVersion()
Returns:
Plugin version

getFocusPolicy

java.awt.FocusTraversalPolicy getFocusPolicy()
Returns:
Plugin FocusTraversalPolicy

getJobNode

org.dom4j.Node getJobNode(org.dom4j.Node arg0,
                          boolean savePasswords)
                          throws SaveJobException
Parameters:
arg0 - to write to
savePasswords - if true the plugin should return a Node containing passwords
Returns:
Node modified with save job infos
Throws:
SaveJobException

loadJobNode

void loadJobNode(org.dom4j.Node arg0)
                 throws LoadJobException
Loads the input job node in the panel.

Parameters:
arg0 - the node to load, must be not null
Throws:
LoadJobException
java.lang.NullPointerException - if arg0 is null

getIcon

javax.swing.Icon getIcon()
Returns:
the icon for the tabbed panel

resetPanel

void resetPanel()
reset the panel before to load an environment