public class FwkApplicationConsumer extends FwkInfoBusConsumer implements FwkApplicationConsumerInterface
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
version |
FWKMIMETYPE
infoBusMemberSupport
changeManager, properties, suspendChangeManager
source
author, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, icon, ICON, iconCount, iconKey, internetAddress, name, titleName
BUSNAME
INFOBUS_SOURCE
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Constructor and Description |
---|
FwkApplicationConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
This method is called by the InfoBus class on behalf of a data producer
that is announcing the availability of a new data item by
name.
|
void |
dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
This method is called by the InfoBus class on behalf of a data producer
that is revoking the availability of a previously announced data item.
|
FwkApplicationInterface |
findApplication(java.lang.String applicationName)
Get the specified application from the application bus.
|
FwkApplicationInterface |
findApplication(java.lang.String applicationName,
java.awt.datatransfer.DataFlavor[] dataFlavor)
Get the specified application from the application bus.
|
FwkApplicationInterface[] |
findMultipleApplications(java.lang.String applicationName)
Find multiple applications on the application bus.
|
FwkApplicationInterface[] |
findMultipleApplications(java.lang.String applicationName,
java.awt.datatransfer.DataFlavor[] dataFlavor)
Find multiple applications from the application bus.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
The property change event listener.
|
finalize, findDataItem, findDataItem, findMultipleDataItems, findMultipleDataItems, getController, initialize, isAssignable, register, release, setController, setInfoBusName, unregister
addMimeType, getDataFlavor, getDataFlavors, getMimeTypes, removeMimeType
addInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, getInfoBusName, getMemberName, isConnected, joinInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus, setMemberName, setName
addDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getProperty, getPropertyGroup, getSource, isChangeManagerSuspended, removeDataItemChangeListener, setProperty, setPropertyGroup, suspendChangeManager
addCommand, addCommand, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getCommand, getCommands, getCommands, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getFwkMimeTypes, getGroup, getIcon, getIcon, getIconKey, getIconKey, getPersistentObjectNames, getSupportEMail, getTitle, getTitleName, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, removeCommand, removeFromGroup, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBuild, setCommands, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSource, setSupportEMail, setTitleName
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, suspendPropertyChangeEvents
getClassName, getPresentationString, getPresentationString, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setClassName, setCreationDate, toString
getNiceVersion
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
findDataItem, findDataItem, findMultipleDataItems, findMultipleDataItems, isAssignable, register, unregister
addMimeType, getDataFlavor, getDataFlavors, getMimeTypes, removeMimeType
getInfoBusName, getMemberName, isConnected, setInfoBusName, setMemberName
fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getProperty, getPropertyGroup, setProperty, setPropertyGroup, suspendChangeManager
getCommands, getPersistentObjectNames
destroyController
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListener
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleName
getTransferData, getTransferDataFlavors, isDataFlavorSupported
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
release
addInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus
getController, setController
public static final java.lang.String version
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkMimeType
public void dataItemAvailable(javax.infobus.InfoBusItemAvailableEvent event)
dataItemAvailable
in interface FwkApplicationConsumerInterface
dataItemAvailable
in interface javax.infobus.InfoBusDataConsumer
dataItemAvailable
in class FwkInfoBusConsumer
event
- The infoBus event for the availability of the data item.public void dataItemRevoked(javax.infobus.InfoBusItemRevokedEvent event)
dataItemRevoked
in interface FwkApplicationConsumerInterface
dataItemRevoked
in interface javax.infobus.InfoBusDataConsumer
dataItemRevoked
in class FwkInfoBusConsumer
event
- The InfoBus event for the revocation of the data item.public FwkApplicationInterface findApplication(java.lang.String applicationName)
findApplication
in interface FwkApplicationConsumerInterface
applicationName
- The name of searched application.public FwkApplicationInterface[] findMultipleApplications(java.lang.String applicationName)
findMultipleApplications
in interface FwkApplicationConsumerInterface
applicationName
- The name of searched application.public FwkApplicationInterface findApplication(java.lang.String applicationName, java.awt.datatransfer.DataFlavor[] dataFlavor)
findApplication
in interface FwkApplicationConsumerInterface
applicationName
- The name of searched application.dataFlavor
- The data flavor of the requested applicationFwkApplicationProducer
public FwkApplicationInterface[] findMultipleApplications(java.lang.String applicationName, java.awt.datatransfer.DataFlavor[] dataFlavor)
findMultipleApplications
in interface FwkApplicationConsumerInterface
applicationName
- The name of searched application (with wildcards).dataFlavor
- The data flavor of the requested applicationFwkApplicationProducer
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface FwkApplicationConsumerInterface
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class FwkInfoBusConsumer
ev
- The InfoBus property change event.