Package org.luwrain.app.base
Class AppBase<S>
java.lang.Object
org.luwrain.app.base.TaskCancelling
org.luwrain.app.base.AppBase<S>
- All Implemented Interfaces:
Application
- Direct Known Subclasses:
App
,App
,App
,App
,App
,App
,App
,App
,App
,App
,App
,App
,App
,App
,App
,App
,App
-
Nested Class Summary
Nested classes/interfaces inherited from class org.luwrain.app.base.TaskCancelling
TaskCancelling.TaskId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
closeApp()
void
void
finishedTask
(TaskCancelling.TaskId taskId, Runnable runnable) getI18n()
protected AreaLayoutHelper
protected boolean
boolean
isBusy()
void
void
message
(String text, Luwrain.MessageType type) void
protected abstract AreaLayout
boolean
onAreaQuery
(Area area, AreaQuery query) void
boolean
onEscape()
void
boolean
onInputEvent
(Area area, InputEvent event) boolean
onInputEvent
(Area area, InputEvent event, Runnable closing) onLaunchApp
(Luwrain luwrain) boolean
onSystemEvent
(Area area, SystemEvent event) boolean
onSystemEvent
(Area area, SystemEvent event, LayoutBase.Actions actions) boolean
runTask
(TaskCancelling.TaskId taskId, AppBase.TaskRunnable runnable) void
setAppName
(String appName) void
setAreaLayout
(LayoutBase layout) void
protected void
setTabProcessing
(boolean tabProcessing) Methods inherited from class org.luwrain.app.base.TaskCancelling
isRunningTaskId, newTaskId
-
Constructor Details
-
AppBase
-
AppBase
-
-
Method Details
-
onAppInit
- Throws:
Exception
-
onLaunchApp
- Specified by:
onLaunchApp
in interfaceApplication
-
closeApp
public void closeApp() -
onAppClose
public void onAppClose()- Specified by:
onAppClose
in interfaceApplication
-
getAppName
- Specified by:
getAppName
in interfaceApplication
-
setAppName
-
getAreaLayout
- Specified by:
getAreaLayout
in interfaceApplication
-
onCancelledTask
public void onCancelledTask() -
onEscape
public boolean onEscape() -
onInputEvent
-
onInputEvent
-
onSystemEvent
-
onSystemEvent
-
onAreaQuery
-
runTask
-
finishedTask
-
cancelTask
public void cancelTask()- Overrides:
cancelTask
in classTaskCancelling
-
isBusy
public boolean isBusy() -
onException
-
getLayout
-
setAreaLayout
-
getLuwrain
-
getStrings
-
crash
-
getI18n
-
setEventResponse
-
message
-
message
-
getTabProcessing
protected boolean getTabProcessing() -
setTabProcessing
protected void setTabProcessing(boolean tabProcessing)
-