|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILauncher
The ILauncher defines a platform and technology
independent IApplication launcher.
It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
| Field Summary | |
|---|---|
static String |
PARAM_APPLICATIONNAME
the parameter name for the application name. |
static String |
PARAM_CODEBASE
the parameter name for the codebase. |
static String |
PARAM_LOGFACTORY
the parameter name for the full qualified class name of the logfactory. |
static String |
PARAM_SERVERBASE
the parameter name for the server base. |
| Fields inherited from interface javax.rad.ui.container.IFrame |
|---|
ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, NORMAL |
| Fields inherited from interface javax.rad.ui.container.IToolBarPanel |
|---|
AREA_BOTTOM, AREA_LEFT, AREA_RIGHT, AREA_TOP |
| Method Summary | |
|---|---|
void |
cancelPendingThreads()
Cancel/Interrupts all pending threads. |
void |
getFileHandle(IFileHandleReceiver pFileHandleReceiver,
String pTitle)
Technology independent getFileHandle. |
void |
getFileHandle(Object pFileHandleReceiver,
String pMethodName,
String pTitle)
Technology independent getFileHandle. |
String |
getParameter(String pName)
Gets a configuration parameter of the application. |
String |
getRegistryKey(String pKey)
Gets the value for a specific key from the applications registry. |
void |
saveFileHandle(IFileHandle pFileHandle,
String pTitle)
Technology independent saveFileHandle. |
void |
setParameter(String pName,
String pValue)
Sets a configuration parameter of the application. |
void |
setRegistryKey(String pKey,
String pValue)
Sets the value for a specific key to the applications registry. |
void |
showDocument(String pDocumentName,
IRectangle pBounds,
String pTarget)
Requests that external application shows a document indicated by the pDocumentname argument. |
void |
showFileHandle(IFileHandle pFileHandle)
Technology independent showFileHandle. |
void |
showFileHandle(IFileHandle pFileHandle,
IRectangle pBounds,
String pTarget)
Technology independent showFileHandle. |
| Methods inherited from interface javax.rad.ui.container.IFrame |
|---|
getIconImage, getMenuBar, getState, getTitle, isResizable, setIconImage, setMenuBar, setResizable, setState, setTitle |
| Methods inherited from interface javax.rad.ui.container.IWindow |
|---|
dispose, eventWindowActivated, eventWindowClosed, eventWindowClosing, eventWindowDeactivated, eventWindowDeiconified, eventWindowIconified, eventWindowOpened, isActive, isDisposed, pack, setLocationRelativeTo, toBack, toFront |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.container.IToolBarPanel |
|---|
addToolBar, addToolBar, getToolBar, getToolBarArea, getToolBarCount, indexOfToolBar, removeAllToolBars, removeToolBar, removeToolBar, setToolBarArea |
| Methods inherited from interface javax.rad.ui.IContainer |
|---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.util.event.IExceptionListener |
|---|
handleException |
| Field Detail |
|---|
static final String PARAM_SERVERBASE
static final String PARAM_CODEBASE
static final String PARAM_APPLICATIONNAME
static final String PARAM_LOGFACTORY
| Method Detail |
|---|
String getParameter(String pName)
pName - the parameter name
null if the parameter does not exist
void setParameter(String pName,
String pValue)
pName - the parameter namepValue - the value for the parameter or null to delete the parameter
void showDocument(String pDocumentName,
IRectangle pBounds,
String pTarget)
throws Throwable
pDocumentname argument. The
target argument indicates where the document should be displayed.
Applications can also ignore the target information.
pDocumentName - the location/filename of the document. (local or network adress)pBounds - the bounds for the document, if supported from the implementationpTarget - a String indicating where to display the document.
Throwable - if the document couldn't opened/shown
void showFileHandle(IFileHandle pFileHandle,
IRectangle pBounds,
String pTarget)
throws Throwable
pFileHandle - the IFileHandle to save.pBounds - the bounds for the document, if supported from the implementationpTarget - a String indicating where to display the document.
Throwable - if an error occurs during saving the file.
void showFileHandle(IFileHandle pFileHandle)
throws Throwable
pFileHandle - the IFileHandle to save.
Throwable - if an error occurs during saving the file.
void saveFileHandle(IFileHandle pFileHandle,
String pTitle)
throws Throwable
pFileHandle - the IFileHandle to save.pTitle - the title for the dialog or null to set a default title
Throwable - if an error occurs during saving the file.
void getFileHandle(IFileHandleReceiver pFileHandleReceiver,
String pTitle)
throws Throwable
pFileHandleReceiver - the IFileHandle receiver that should receive the file.pTitle - the title for the dialog or null to set a default title
Throwable - if an error occurs during getting the file.
void getFileHandle(Object pFileHandleReceiver,
String pMethodName,
String pTitle)
throws Throwable
pFileHandleReceiver - the IFileHandle receiver that should receive the file.pMethodName - the method that is invoked.pTitle - the title for the dialog or null to set a default title
Throwable - if an error occurs during getting the file.void cancelPendingThreads()
void setRegistryKey(String pKey,
String pValue)
pKey - the key to setpValue - the value to set or null to remove the key from the registryString getRegistryKey(String pKey)
pKey - the key to get
null if the key is not available
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||