|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FrontendMaster
Interface for classes providing the parent unit of a frontend session. This includes the FrontendFrame used in application mode as well as applets.
Method Summary | |
---|---|
void |
fatalError(java.lang.String message)
Report a fatal error, |
java.lang.String |
getResourceDirectory()
|
void |
loadModule(java.lang.String moduleName)
Load a module into the frontend frame. |
void |
loadModule(java.lang.String moduleName,
java.lang.String cPanelName)
Load a module into the frontend frame, additionally installing a control panel to communicate with the previous module. |
void |
restoreModule(FrontendModulePanel mpanel,
FrontendControlPanel cpanel)
Restore an existing module and control panel into the frontend master. |
void |
setupUI()
Set up the frontend master's user interface. |
Method Detail |
---|
void loadModule(java.lang.String moduleName) throws LoadFailureException
moduleName
- The fully qualified class-name of the module,
minus the leading "uk.org.ury." domain.
LoadFailureException
- if the class is
not found, or is not an implementor of
FrontendModule.void loadModule(java.lang.String moduleName, java.lang.String cPanelName) throws LoadFailureException
moduleName
- The fully qualified class-name of the module,
minus the leading "uk.org.ury." domain.cPanelName
- The fully qualified class-name of the control
panel to install, minus the leading
"uk.org.ury." domain.
LoadFailureException
- if the class is
not found, or is not an implementor of
FrontendModule.void restoreModule(FrontendModulePanel mpanel, FrontendControlPanel cpanel)
mpanel
- The module panel to restore.cpanel
- The control panel to restore.
java.lang.IllegalArgumentException
- if either are null.void fatalError(java.lang.String message)
message
- The message, eg the exception message, to report
to the user.void setupUI()
java.lang.String getResourceDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |