public interface FwkApplicationInterface extends FwkInfoBusMemberInterface, FwkDOMHandlerInterface, FwkControlledByInterface, FwkPrintableInterface, FwkThreadInterface
INFOBUS_SOURCEAUTHOR, 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| Modifier and Type | Method and Description |
|---|---|
void |
addExecuteStateListener(FwkExecuteStateListenerInterface l)
Add an execution state listener.
|
boolean |
exit()
Exit the application gracefully and release all
related resources
|
void |
fireExecuteStateEvent(FwkExecuteStateEventInterface event)
Fire an execute state event.
|
FwkPortInterface |
getFwkPort()
Get the FwkPort of application.
|
FwkPanelInterface |
getPanel()
Get the panel of an application.
|
FwkPanelInterface |
getStatusPanel()
Get the status panel of an application.
|
boolean |
hasFwkPort()
Return a boolean whether the application has a FwkPort,
|
void |
init()
Initialize the application.
|
boolean |
isEternal()
Return a boolean whether or not the application is eternal.
|
boolean |
isRegistered()
Return a boolean whether the application is registered.
|
void |
register()
Register the application with the FwkApplicationBus.
|
void |
register(FwkArrayInterface mimeTypes)
Register the application with the FwkApplicationBus.
|
void |
register(java.lang.String[] mimeTypes)
Register the application with the FwkApplicationBus.
|
void |
removeExecuteStateListener(FwkExecuteStateListenerInterface l)
Remove an execution state listener.
|
void |
setArguments(java.lang.String[] args) |
void |
setEternal(boolean eternalFlag)
This method sets the eternal flag of the application.
|
void |
setPanel(FwkPanelInterface panel)
Set the asam commander panel.
|
void |
setServiceControlManager(FwkServiceControlManagerInterface serviceControlManager)
Set the service control manager of this application.
|
void |
unregister()
Unregister the application.
|
getInfoBusName, getMemberName, isConnected, setInfoBusName, setMemberNameaddInfoBusPropertyListener, addInfoBusVetoableListener, getInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBusgetCompany, readConstructor, readFromDOM, readingDOM, readingDOM, writeConstructor, writeToDOM, writeToXMLgetController, setControllergetPrintJobName, setPageFormatfireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getProperty, getPropertyGroup, setProperty, setPropertyGroup, suspendChangeManagergetCommands, getPersistentObjectNamesdestroyControlleraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsaddVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListenergetAuthor, getBuild, getClassName, 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, setTitleNamegetTransferData, getTransferDataFlavors, isDataFlavorSupportedaddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringgetVersion, releasegetNumberOfPages, getPageFormat, getPrintablegetPriority, isInterrupted, setPriority, start, stopboolean exit()
FwkPortInterface getFwkPort()
hasFwkPort()FwkPanelInterface getPanel()
void setPanel(FwkPanelInterface panel)
panel - The panel of the application.FwkPanelInterface getStatusPanel()
boolean hasFwkPort()
void init()
setArguments()boolean isEternal()
boolean isRegistered()
void register()
throws java.lang.RuntimeException
java.lang.RuntimeExceptionvoid register(FwkArrayInterface mimeTypes) throws java.lang.RuntimeException
mimeTypes - The mimetype array.java.lang.RuntimeException - if the application is eternal and already registered.void register(java.lang.String[] mimeTypes)
throws java.lang.RuntimeException
mimeTypes - The mimetype list.java.lang.RuntimeException - if the application is eternal and already registered.void setArguments(java.lang.String[] args)
void setEternal(boolean eternalFlag)
eternalFlag - Set to true if the application
shall be eternal.void setServiceControlManager(FwkServiceControlManagerInterface serviceControlManager)
serviceControlManager - The service control manager.void unregister()
void addExecuteStateListener(FwkExecuteStateListenerInterface l)
l - The listener.void removeExecuteStateListener(FwkExecuteStateListenerInterface l)
l - The listener.void fireExecuteStateEvent(FwkExecuteStateEventInterface event)
event - The event to be fired.