org.openbp.jaspira.gui.clipboard
Class ClipboardPlugin

java.lang.Object
  extended by org.openbp.jaspira.plugin.AbstractPlugin
      extended by org.openbp.jaspira.gui.clipboard.ClipboardPlugin
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener, Plugin

public class ClipboardPlugin
extends AbstractPlugin
implements javax.swing.event.ChangeListener

This plugin provides the link between the ClipboardMgr and the application.

Author:
Stephan Moritz

Nested Class Summary
 class ClipboardPlugin.Events
          Event module.
 
Nested classes/interfaces inherited from class org.openbp.jaspira.plugin.AbstractPlugin
AbstractPlugin.StandardPluginEvents
 
Field Summary
 
Fields inherited from class org.openbp.jaspira.plugin.AbstractPlugin
PROPERTY_CONDITION, PROPERTY_DESCRIPTION, PROPERTY_ICON, PROPERTY_NAME, PROPERTY_SEQUENCE, PROPERTY_TITLE, PROPERTY_VENDOR, PROPERTY_VERSION
 
Fields inherited from interface org.openbp.jaspira.plugin.Plugin
ID_DELIMETER, LEVEL_APPLICATION, LEVEL_FRAME, LEVEL_PAGE, LEVEL_PLUGIN
 
Constructor Summary
ClipboardPlugin()
          Constructor.
 
Method Summary
 java.lang.String getResourceCollectionContainerName()
          Gets the name of the resource component the default resource of the plugin belongs to.
protected  void pluginInstalled()
          This template method is called after the plugin has been installed.
protected  void pluginUninstalled()
          This template method is called before the plugin is uninstalled.
 void stateChanged(javax.swing.event.ChangeEvent e)
          Called when the contents of the clipboard have changed.
 
Methods inherited from class org.openbp.jaspira.plugin.AbstractPlugin
addActionKeySequence, addPlugin, addToPeerGroup, canClose, closeCanceled, containsStackedEvent, fireEvent, fireEvent, fireEvent, getAction, getChildPlugins, getClassName, getCondition, getDescendantPlugins, getDescription, getEventActionNames, getEventModules, getExternalActions, getExternalEventModuleClasses, getExternalOptionModuleClasses, getIcon, getIcon, getLevel, getName, getOptionModules, getParentPlugin, getPeerGroup, getPeerGroupNames, getPeerGroups, getPluginResourceCollection, getPluginState, getSubClients, getSubTitle, getTitle, getUniqueId, getVendor, getVersion, handleEvent, handleKeySequence, inheritEvent, initializeFromPluginProfile, initializePlugin, initializeResources, installFirstPlugin, installPlugin, installPluginContent, matchesPeerGroup, matchesPeerGroups, passDown, preClose, receiveEvent, removeFromPeerGroup, removePlugin, removeStackedEvent, requestClose, setDescription, setIcon, setName, setParentPlugin, setPluginState, setResourceCollection, setTitle, stackEvent, toString, uninstallLastPlugin, uninstallPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClipboardPlugin

public ClipboardPlugin()
Constructor.

Method Detail

getResourceCollectionContainerName

public java.lang.String getResourceCollectionContainerName()
Description copied from class: AbstractPlugin
Gets the name of the resource component the default resource of the plugin belongs to.

Specified by:
getResourceCollectionContainerName in class AbstractPlugin
Returns:
The container name

pluginInstalled

protected void pluginInstalled()
Description copied from class: AbstractPlugin
This template method is called after the plugin has been installed.

Overrides:
pluginInstalled in class AbstractPlugin
See Also:
AbstractPlugin.pluginInstalled()

pluginUninstalled

protected void pluginUninstalled()
Description copied from class: AbstractPlugin
This template method is called before the plugin is uninstalled.

Overrides:
pluginUninstalled in class AbstractPlugin
See Also:
AbstractPlugin.pluginUninstalled()

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Called when the contents of the clipboard have changed.

Specified by:
stateChanged in interface javax.swing.event.ChangeListener
See Also:
ChangeListener.stateChanged(javax.swing.event.ChangeEvent)


Copyright © 2011. All Rights Reserved.