|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.boot.component.ComponentHelper
This class is deployed in the same classloader as SWT and IComponent. It encapsulates the code of the bootruntime which is dependend on SWT.
| Constructor Summary | |
ComponentHelper()
|
|
| Method Summary | |
IComponent |
castToIComponent(java.lang.Object component)
Just casts the given object to IComponent. |
void |
cleanupSWTDisplay()
Disposes the display created by initSWTDisplay() of this ComponentHelper.
|
IRtXMASessionClient |
getRTSession(java.lang.Object component)
Calls IComponent.getRTSession() on the given component. |
java.lang.Object |
initSWTDisplay()
Creates a Display in SWT if none allready exists. |
java.util.Properties |
launch(java.lang.Object component,
java.util.Properties input)
Launches the given component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentHelper()
| Method Detail |
public IComponent castToIComponent(java.lang.Object component)
castToIComponent in interface IComponentHelperjava.lang.ClassCastException - if the given object is not an IComponentpublic IRtXMASessionClient getRTSession(java.lang.Object component)
IComponent.getRTSession() on the given component.
getRTSession in interface IComponentHelperjava.lang.ClassCastException - if the given object is not an IComponent
public java.util.Properties launch(java.lang.Object component,
java.util.Properties input)
launch in interface IComponentHelperjava.lang.ClassCastException - if the given object is not an IComponentpublic java.lang.Object initSWTDisplay()
initSWTDisplay in interface IComponentHelperpublic void cleanupSWTDisplay()
initSWTDisplay() of this ComponentHelper.
If no display was created by initSWTDisplay(), it does nothing.
cleanupSWTDisplay in interface IComponentHelper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||