|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.openbp.jaspira.gui.plugin.JaspiraPageContainer
public class JaspiraPageContainer
The page container is a frame that hold a number of JaspiraPage pages.
You can't add components to this frame directly, only pages.
Jaspira pages are areas that contain plugins. Only one page can be visible at a time.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
javax.swing.JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
java.awt.Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
java.awt.Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static java.awt.Dimension |
MIN_FRAME_SIZE
An application has a minimum size, also if the application is empty |
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface org.openbp.jaspira.gui.plugin.PluginContainer |
|---|
CENTER, EAST, NORTH, REGION_CENTER, REGION_EAST, REGION_NORTH, REGION_SOUTH, REGION_WEST, SOUTH, WEST |
| Fields inherited from interface org.openbp.jaspira.plugin.Plugin |
|---|
ID_DELIMETER, LEVEL_APPLICATION, LEVEL_FRAME, LEVEL_PAGE, LEVEL_PLUGIN |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
JaspiraPageContainer(java.lang.String title,
java.awt.GraphicsConfiguration gc)
Creates a new frame with the given title. |
|
| Method Summary | |
|---|---|
void |
addDropClient(InteractionClient client)
Adds a drop client to the list of the container's drop clients. |
void |
addPage(JaspiraPage page)
Adds a page to the frame. |
void |
addPlugin(Plugin child)
Adds a plugin as child plugin of this plugin. |
void |
addPlugin(VisiblePlugin p)
Adds a plugin to the container. |
void |
addToPeerGroup(java.lang.String key,
java.lang.Object group)
Adds the plugin to a peer group given by key and object. |
void |
buildMenu()
Rebuild the frame's menu by polling for entries. |
boolean |
canClose()
Checks, whether this plugin can be closed. |
boolean |
containsPage(JaspiraPage page)
Checks if the given page is hosted by this container. |
boolean |
containsStackedEvent(java.lang.String eventName)
Checks if the event stack contains a particular event. |
void |
dragActionTriggered(java.lang.Object regionId,
java.awt.Point p)
Is called, when a region triggers an action. |
void |
dragEnded(java.awt.datatransfer.Transferable transferable)
Is called when a dragging action has been initialized (to be precise: when a dragging event has entered our frame. |
void |
dragStarted(java.awt.datatransfer.Transferable transferable)
Is called when either the dragging process ended inside our frame or left the frame. |
boolean |
fireEvent(JaspiraEvent je)
Fires the given event using the event queue. |
boolean |
fireEvent(java.lang.String eventname)
Creates a new client event using the given event name and fires it. |
boolean |
fireEvent(java.lang.String eventname,
java.lang.Object data)
Creates a new client event using the given event name and event object and fires it. |
JaspiraAction |
getAction(java.lang.String name)
This convenience method retrieves an action from the action manager. |
JaspiraPage |
getActivePage()
Gets the active page of this frame. |
VisiblePlugin |
getActivePlugin()
Returns the active plugin of this frame (in the visible page). |
java.util.List |
getAllDropRegions(java.util.List flavors,
java.awt.datatransfer.Transferable data,
java.awt.event.MouseEvent mouseEvent)
Returns a list of all regions of this client AND possible sub clients. |
java.util.List |
getAllImportersAt(java.awt.Point p)
Returns all importers which will be accepted at the given point by this client or one of its sub clients. |
java.util.List |
getChildPlugins()
Returns a list of all children of this plugin. |
java.lang.String |
getClassName()
Returns the class name of the plugin. |
java.lang.String |
getCondition()
Gets the conditional expression that determines if the plugin should be active. |
java.util.List |
getDescendantPlugins(java.util.List plugins)
Returns a list of all children and further descendants of this plugin. |
java.lang.String |
getDescription()
Gets the description. |
DragDropPane |
getDragDropPane()
Returns the drad and drop page of this container. |
java.util.List |
getDropRegions(java.util.List flavors,
java.awt.datatransfer.Transferable data,
java.awt.event.MouseEvent mouseEvent)
The regions of a page container consist of the page switch zones and the 'open in new frame' zone. |
java.util.List |
getEventActionNames()
Gets a list of the action names of the event actions of this plugin. |
MultiIcon |
getIcon()
Gets the icon. |
java.util.List |
getImportersAt(java.awt.Point p)
Returns all importers which will be accepted at the given point by this client. |
int |
getLevel()
Returns the level of this plugin in the plugin tree. |
JaspiraPage |
getPage()
Returns the page level parent plugin of this plugin. |
java.util.List |
getPages()
Gets a list of all pages of this container. |
PluginContainer |
getParentContainer()
Returns null. |
Plugin |
getParentPlugin()
Returns the parent plugin of this plugin. |
java.lang.Object |
getPeerGroup(java.lang.String key)
Gets the peer group for the given group name. |
java.util.Set |
getPeerGroupNames()
Returns the names of all peergroups that this plugin has been added to. |
java.util.Set |
getPeerGroups()
Returns the peer groups this plugin has been added to. |
ResourceCollection |
getPluginResourceCollection()
Gets the plugin resource. |
java.util.List |
getPlugins()
Returns the list of plugins held by this frame. |
PluginState |
getPluginState()
Returns the state of this plugin. |
java.util.List |
getSubClients()
Returns all sub clients. |
java.lang.String |
getSubTitle()
Returns the sub title of this plugin. |
JaspiraToolbar |
getToolbar()
Gets the main toolbar. |
java.lang.String |
getUniqueId()
Returns the unique id of this plugin. |
protected java.util.List |
getUserRegions(java.util.List flavors)
Override to implemnt own regions. |
java.lang.String |
getVendor()
Gets the plugin vendor. |
java.lang.String |
getVersion()
Gets the plugin version. |
java.util.List |
getVisiblePlugins()
Returns all plugins of the active page that are currently visible, i\.e\. shown in their tabbed containers. |
boolean |
handleEvent(JaspiraEvent je)
Tries to handles the event for this plugin without passing it on. |
boolean |
importData(java.lang.Object regionId,
java.awt.datatransfer.Transferable data,
java.awt.Point p)
Imports data into the frame. |
boolean |
inheritEvent(JaspiraEvent je)
Receives an event incoming from a parent. |
void |
initializePlugin()
Initializes the plugin. |
void |
installFirstPlugin()
This template method is called before the first plugin instance of this kind is installed. |
void |
installPlugin()
Installs the plugin and all its modules. |
boolean |
matchesPeerGroup(java.lang.String key,
java.lang.Object group,
boolean strict)
Check if the plugin is a member of the given peer group. |
boolean |
matchesPeerGroups(Plugin plugin,
boolean strict)
Matches all peer groups of one plugin against another. |
void |
openInNewFrame(JaspiraPage page)
Opens the page in a new frame. |
boolean |
receiveEvent(JaspiraEvent je)
Handles an incoming event that is received from a child plugin. |
void |
removeDropClient(InteractionClient client)
Removes a drop client to the list of the container's drop clients. |
void |
removeFromPeerGroup(java.lang.String key)
Removes the plugin from a peer group. |
void |
removePage(JaspiraPage page)
Removes a page from the frame. |
void |
removePlugin(Plugin child)
Removes a child plugin from this plugin. |
void |
removePlugin(VisiblePlugin p)
Removes the plugin in the frame. |
boolean |
requestClose()
Request the plugin to be closed. |
void |
setDragDropPane(DragDropPane pane)
Sets up the given drag and drop pane as glass pane of the container. |
void |
setPageActive(JaspiraPage page)
Activates the given page. |
void |
setParentPlugin(Plugin plugin)
Sets the parent plugin of this plugin. |
void |
setPluginState(PluginState state)
Rebuilds the state of the plugin using the given state object. |
void |
sliceContainer(PluginContainer toInsert,
PluginContainer currentContainer,
java.lang.String constraint)
Does nothing. |
void |
stackEvent(JaspiraEvent je)
Adds a stackable event to the event stack. |
java.lang.String |
toString()
Returns a string representation of this object. |
void |
uninstallLastPlugin()
This is called after uninstall for the last instance has been uninstalled. |
void |
uninstallPlugin()
Uninstalls the plugin and all of its modules. |
void |
windowGainedFocus(java.awt.event.WindowEvent e)
Called when this frame gains the focus. |
void |
windowLostFocus(java.awt.event.WindowEvent e)
Called when this frame lost the focus. |
| Methods inherited from class javax.swing.JFrame |
|---|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.awt.Window |
|---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.swing.RootPaneContainer |
|---|
getContentPane, getGlassPane, getLayeredPane, getRootPane, setContentPane, setGlassPane, setLayeredPane |
| Methods inherited from interface org.openbp.jaspira.plugin.Plugin |
|---|
getName, getTitle |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public static final java.awt.Dimension MIN_FRAME_SIZE
| Constructor Detail |
|---|
public JaspiraPageContainer(java.lang.String title,
java.awt.GraphicsConfiguration gc)
title - Window title of the framegc - Graphics context to use| Method Detail |
|---|
public java.lang.String toString()
toString in class java.awt.Componentpublic final void buildMenu()
public void addPage(JaspiraPage page)
page - Page to addpublic void removePage(JaspiraPage page)
page - Page to removepublic void openInNewFrame(JaspiraPage page)
page - Page to move to a new framepublic java.util.List getPages()
JaspiraPage objectspublic JaspiraPage getActivePage()
public void setPageActive(JaspiraPage page)
page - Page to activatepublic boolean containsPage(JaspiraPage page)
public JaspiraToolbar getToolbar()
public JaspiraPage getPage()
PluginContainer
getPage in interface PluginContainerpublic void addPlugin(VisiblePlugin p)
PluginContainer
addPlugin in interface PluginContainerp - Plugin to addpublic void removePlugin(VisiblePlugin p)
removePlugin in interface PluginContainerp - Plugin to removepublic VisiblePlugin getActivePlugin()
getActivePlugin in interface PluginContainerpublic PluginContainer getParentContainer()
getParentContainer in interface PluginContainerpublic java.util.List getPlugins()
getPlugins in interface PluginContainerVisiblePlugin objectspublic java.util.List getVisiblePlugins()
getVisiblePlugins in interface PluginContainerVisiblePlugin objects or null
public void sliceContainer(PluginContainer toInsert,
PluginContainer currentContainer,
java.lang.String constraint)
sliceContainer in interface PluginContainertoInsert - Containert to insertcurrentContainer - Currrent container that shall be replacedconstraint - The constraint determines where to place the new container:PluginContainer.CENTER/PluginContainer.NORTH/PluginContainer.SOUTH/PluginContainer.EAST/PluginContainer.WEST
public void dragActionTriggered(java.lang.Object regionId,
java.awt.Point p)
dragActionTriggered in interface InteractionClientregionId - Id of the region to import into (see BasicDropRegion.getId)p - Current mouse position in screen coordinatespublic void dragStarted(java.awt.datatransfer.Transferable transferable)
dragStarted in interface InteractionClienttransferable - Transferable to be draggedpublic void dragEnded(java.awt.datatransfer.Transferable transferable)
dragEnded in interface InteractionClienttransferable - Transferable that has been dragged
public final java.util.List getAllDropRegions(java.util.List flavors,
java.awt.datatransfer.Transferable data,
java.awt.event.MouseEvent mouseEvent)
InteractionClient
getAllDropRegions in interface InteractionClientflavors - List of data flavors to checkdata - Transferable to importmouseEvent - Mouse event that initiated the drag action
DragAwareRegion object or null if the drop client
or one of its sub clients cannot satisfy at least one of the supplied data flavorsInteractionClient.getAllDropRegions(List, Transferable, MouseEvent)
public final java.util.List getDropRegions(java.util.List flavors,
java.awt.datatransfer.Transferable data,
java.awt.event.MouseEvent mouseEvent)
getDropRegions in interface InteractionClientflavors - List of data flavors to checkdata - Transferable to be importedmouseEvent - Mouse event that initiated the drag action
DragAwareRegion object or null if the drop client
cannot satisfy at least one of the supplied data flavors.InteractionClient.getDropRegions(List, Transferable, MouseEvent)public java.util.List getImportersAt(java.awt.Point p)
InteractionClient
getImportersAt in interface InteractionClientp - Current mouse position in screen coordinates
Importer objects or nullpublic java.util.List getAllImportersAt(java.awt.Point p)
InteractionClient
getAllImportersAt in interface InteractionClientp - Current mouse position in screen coordinates
Importer objects or nullprotected java.util.List getUserRegions(java.util.List flavors)
flavors - Flavors the regions should be suitable for
public java.util.List getSubClients()
getSubClients in interface InteractionClientInteractionClient objects or null if this drop client doesn't have sub drop clients.
public boolean importData(java.lang.Object regionId,
java.awt.datatransfer.Transferable data,
java.awt.Point p)
importData in interface InteractionClientregionId - Id of the region to import into (see BasicDropRegion.getId)data - Transferable to importp - Drop point in glass coordinates
public void addDropClient(InteractionClient client)
DropPaneContainer
addDropClient in interface DropPaneContainerclient - Client to addDropPaneContainer.addDropClient(InteractionClient)public void removeDropClient(InteractionClient client)
DropPaneContainer
removeDropClient in interface DropPaneContainerclient - Client to removeDropPaneContainer.removeDropClient(InteractionClient)public DragDropPane getDragDropPane()
DropPaneContainer
getDragDropPane in interface DropPaneContainerDropPaneContainer.getDragDropPane()public void setDragDropPane(DragDropPane pane)
DropPaneContainer
setDragDropPane in interface DropPaneContainerpane - The new glass paneDropPaneContainer.setDragDropPane(DragDropPane)public java.lang.String getClassName()
Plugin
getClassName in interface Pluginpublic ResourceCollection getPluginResourceCollection()
Plugin
getPluginResourceCollection in interface Pluginpublic int getLevel()
Plugin
getLevel in interface PluginPlugin.LEVEL_APPLICATION being the lowest.
Defaults to Plugin.LEVEL_PLUGIN.public Plugin getParentPlugin()
PluginApplicationBase must have a parent.
getParentPlugin in interface Pluginpublic void initializePlugin()
Plugin
initializePlugin in interface Pluginpublic MultiIcon getIcon()
Plugin
getIcon in interface Pluginpublic java.lang.String getSubTitle()
Plugin
getSubTitle in interface Pluginpublic java.lang.Object getPeerGroup(java.lang.String key)
Plugin
getPeerGroup in interface Pluginkey - Name of the peer group
public boolean canClose()
Plugin
canClose in interface Pluginpublic boolean fireEvent(JaspiraEvent je)
Plugin
fireEvent in interface Pluginje - Event to fire
public boolean fireEvent(java.lang.String eventname)
Plugin
fireEvent in interface Plugineventname - Name of the event
public boolean fireEvent(java.lang.String eventname,
java.lang.Object data)
Plugin
fireEvent in interface Plugineventname - Name of the eventdata - Event object
public java.util.List getChildPlugins()
Plugin
getChildPlugins in interface Pluginpublic java.util.List getDescendantPlugins(java.util.List plugins)
Plugin
getDescendantPlugins in interface Pluginplugins - The children of this plugin will be added to this list, if given
public boolean handleEvent(JaspiraEvent je)
Plugin
handleEvent in interface Pluginje - The event to handle
public boolean inheritEvent(JaspiraEvent je)
Plugin
inheritEvent in interface Pluginje - The event to handle
public boolean receiveEvent(JaspiraEvent je)
Plugin
receiveEvent in interface Pluginje - The event to handle
public void setParentPlugin(Plugin plugin)
PluginApplicationBase must have a parent.
setParentPlugin in interface Pluginplugin - New parent of this plugin or null in case of ApplicationBasepublic void addPlugin(Plugin child)
Plugin
addPlugin in interface Pluginchild - Child plugin to addpublic void removePlugin(Plugin child)
Plugin
removePlugin in interface Pluginchild - Child plugin to removepublic void stackEvent(JaspiraEvent je)
Plugin
stackEvent in interface Pluginje - The event to stackpublic boolean containsStackedEvent(java.lang.String eventName)
Plugin
containsStackedEvent in interface PlugineventName - Event to look for
public boolean requestClose()
Plugin
requestClose in interface Plugin
public void addToPeerGroup(java.lang.String key,
java.lang.Object group)
Plugin
addToPeerGroup in interface Pluginkey - Peer group namegroup - Peer group objectpublic java.lang.String getDescription()
Plugin
getDescription in interface Pluginpublic java.util.Set getPeerGroups()
Plugin
getPeerGroups in interface Pluginpublic java.util.Set getPeerGroupNames()
Plugin
getPeerGroupNames in interface Pluginpublic java.lang.String getUniqueId()
Plugin
getUniqueId in interface Pluginpublic java.lang.String getVendor()
Plugin
getVendor in interface Pluginpublic java.lang.String getVersion()
Plugin
getVersion in interface Pluginpublic java.lang.String getCondition()
Plugin
getCondition in interface Pluginpublic void installPlugin()
Plugin
installPlugin in interface Pluginpublic void installFirstPlugin()
Plugin
installFirstPlugin in interface Plugin
public boolean matchesPeerGroup(java.lang.String key,
java.lang.Object group,
boolean strict)
Plugin
matchesPeerGroup in interface Pluginkey - Name of the peer group to checkgroup - Peer group to checkstrict - true The peergroups must be exactly met.
public boolean matchesPeerGroups(Plugin plugin,
boolean strict)
Plugin
matchesPeerGroups in interface Pluginplugin - Plugin to match agains this pluginstrict - true All peer groups must match.public void removeFromPeerGroup(java.lang.String key)
Plugin
removeFromPeerGroup in interface Pluginkey - Peer group namepublic PluginState getPluginState()
Plugin
getPluginState in interface Pluginpublic void setPluginState(PluginState state)
Plugin
setPluginState in interface Pluginpublic void uninstallPlugin()
Plugin
uninstallPlugin in interface Pluginpublic void uninstallLastPlugin()
Plugin
uninstallLastPlugin in interface Pluginpublic JaspiraAction getAction(java.lang.String name)
Plugin
getAction in interface Pluginname - Action name
public java.util.List getEventActionNames()
Plugin
getEventActionNames in interface Pluginpublic void windowGainedFocus(java.awt.event.WindowEvent e)
windowGainedFocus in interface java.awt.event.WindowFocusListenerWindowFocusListener.windowGainedFocus(WindowEvent)public void windowLostFocus(java.awt.event.WindowEvent e)
windowLostFocus in interface java.awt.event.WindowFocusListenerWindowFocusListener.windowLostFocus(WindowEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||