Package org.luwrain.core
Interface Application
-
- All Known Subinterfaces:
MonoApp
- All Known Implementing Classes:
App
,App
,App
,App
,AppBase
,ControlPanelApp
,Desktop
,RegistryApp
,Simple
public interface Application
A general interface for objects suitable for running in LUWRAIN as an application. Applications in LUWRAIN are objects which provide some interactive features to users. They offer a set of interactive areas forming a working space.The application instance is created by some client code with only very preliminary initialization. Main initialization happens in
onLaunchApp()
method when a reference toLuwrain
object obtained. This object is used for access to core features and as an identifier of an particular application instance.Each application class may have multiple instances running simultaneously. However, LUWRAIN core can maintain so called mono applications, which support only one instance at any given time (for example, it is pointless to have multiple running instances of a control panel). If the application is required to be a mono application, it must implement
MonoApp
interface instead.- Since:
- 1.0
- See Also:
Luwrain MonoApp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeApp()
String
getAppName()
AreaLayout
getAreaLayout()
InitResult
onLaunchApp(Luwrain luwrain)
-
-
-
Method Detail
-
closeApp
void closeApp()
-
getAppName
String getAppName()
-
getAreaLayout
AreaLayout getAreaLayout()
-
onLaunchApp
InitResult onLaunchApp(Luwrain luwrain)
-
-