org.openbp.cockpit.plugins.toolbox
Class SocketToolBoxPlugin

java.lang.Object
  extended by org.openbp.jaspira.plugin.AbstractPlugin
      extended by org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin
          extended by org.openbp.cockpit.plugins.toolbox.ToolBoxPlugin
              extended by org.openbp.cockpit.plugins.toolbox.SocketToolBoxPlugin
All Implemented Interfaces:
java.awt.event.HierarchyListener, java.util.EventListener, BreakoutProvider, InteractionClient, VisiblePlugin, Plugin

public class SocketToolBoxPlugin
extends ToolBoxPlugin

The ToolBox with two Sockets

Author:
Jens Ferchland

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openbp.cockpit.plugins.toolbox.ToolBoxPlugin
ToolBoxPlugin.Events, ToolBoxPlugin.ToolBoxLayoutManager
 
Nested classes/interfaces inherited from class org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin
AbstractVisiblePlugin.StandardVisiblePluginEvents
 
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.gui.plugin.VisiblePlugin
GER, GEU, SIZE_VARIABLE_BOTH, SIZE_VARIABLE_HEIGHT, SIZE_VARIABLE_NONE, SIZE_VARIABLE_WIDTH, TOOLBAR_DYNAMIC, TOOLBAR_EVENTS, TOOLBAR_NONE
 
Fields inherited from interface org.openbp.jaspira.plugin.Plugin
ID_DELIMETER, LEVEL_APPLICATION, LEVEL_FRAME, LEVEL_PAGE, LEVEL_PLUGIN
 
Constructor Summary
SocketToolBoxPlugin()
           
 
Method Summary
protected  boolean acceptDrop()
          If this method returns true all item flavor drops will be accepted.
protected  boolean acceptFlyWheelKey(int key)
          Determines if the given key is accepted by the toolbox as break out mode key.
protected  void addStandardToolBoxItems()
          Adds the standard content of the toolbox.
protected  boolean canTitleChange()
          Determines if the title of the toolbox can be changed by the user.
 
Methods inherited from class org.openbp.cockpit.plugins.toolbox.ToolBoxPlugin
addToolBoxItem, addToolBoxItem, clearToolbox, createBreakOutEntries, dragActionTriggered, dragEnded, dragStarted, getAllDropRegions, getAllImportersAt, getDropRegions, getImportersAt, getResourceCollectionContainerName, getTitle, getToolBoxTitle, importData, initializeComponents, refreshContent, removeToolBoxItem, setToolBoxTitle, updateSkinIcons
 
Methods inherited from class org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin
addPluginFocusListener, applicationReady, canCopy, canCut, canDelete, canDrag, canPageChange, canPaste, copy, createToolbar, cut, delete, firePluginFocusGained, firePluginFocusLost, focusPlugin, getContentPane, getPage, getPluginComponent, getPluginFocusComponent, getPluginFromComponentHierarchy, getPluginHolder, getPluginPanel, getSizeBehavior, getSubClients, getToolbarType, hasCloseButton, hierarchyChanged, initializeResources, installPlugin, installPluginContent, isPluginFocused, isPluginVisible, paste, pluginHidden, pluginShown, postPluginContainerUpdate, removePluginFocusListener, setPluginHolder, showPlugin, stackEvent, uninstallPlugin, updatePluginContainer
 
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, getSubTitle, getUniqueId, getVendor, getVersion, handleEvent, handleKeySequence, inheritEvent, initializeFromPluginProfile, initializePlugin, installFirstPlugin, matchesPeerGroup, matchesPeerGroups, passDown, pluginInstalled, pluginUninstalled, preClose, receiveEvent, removeFromPeerGroup, removePlugin, removeStackedEvent, requestClose, setDescription, setIcon, setName, setParentPlugin, setPluginState, setResourceCollection, setTitle, toString, uninstallLastPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openbp.jaspira.gui.interaction.InteractionClient
getSubClients
 
Methods inherited from interface org.openbp.jaspira.plugin.Plugin
addPlugin, addToPeerGroup, canClose, containsStackedEvent, fireEvent, fireEvent, fireEvent, getAction, getChildPlugins, getClassName, getCondition, getDescendantPlugins, getDescription, getEventActionNames, getIcon, getLevel, getName, getParentPlugin, getPeerGroup, getPeerGroupNames, getPeerGroups, getPluginResourceCollection, getPluginState, getSubTitle, getUniqueId, getVendor, getVersion, handleEvent, inheritEvent, initializePlugin, installFirstPlugin, matchesPeerGroup, matchesPeerGroups, receiveEvent, removeFromPeerGroup, removePlugin, requestClose, setParentPlugin, setPluginState, uninstallLastPlugin
 

Constructor Detail

SocketToolBoxPlugin

public SocketToolBoxPlugin()
Method Detail

addStandardToolBoxItems

protected void addStandardToolBoxItems()
Description copied from class: ToolBoxPlugin
Adds the standard content of the toolbox. By default, the toolbox has no content.

Overrides:
addStandardToolBoxItems in class ToolBoxPlugin
See Also:
ToolBoxPlugin.addStandardToolBoxItems()

canTitleChange

protected boolean canTitleChange()
Description copied from class: ToolBoxPlugin
Determines if the title of the toolbox can be changed by the user.

Overrides:
canTitleChange in class ToolBoxPlugin
See Also:
ToolBoxPlugin.canTitleChange()

acceptDrop

protected boolean acceptDrop()
Description copied from class: ToolBoxPlugin
If this method returns true all item flavor drops will be accepted. If you don't want to accept drop events override this method!
The default implementation returns true

Overrides:
acceptDrop in class ToolBoxPlugin
See Also:
ToolBoxPlugin.acceptDrop()

acceptFlyWheelKey

protected boolean acceptFlyWheelKey(int key)
Description copied from class: ToolBoxPlugin
Determines if the given key is accepted by the toolbox as break out mode key.

Overrides:
acceptFlyWheelKey in class ToolBoxPlugin
Parameters:
key - Key to check
Returns:
true: The key will initiate the break out mode for this toolbox.
false: The toolbox does not respond on this key.
See Also:
ToolBoxPlugin.acceptFlyWheelKey(int)


Copyright © 2011. All Rights Reserved.