public abstract class AbstractDialogDc extends Object implements DialogDc
Modifier and Type | Field and Description |
---|---|
protected AppEventSupport |
mAppEventSupport
The next object in the AppEvent responder chain.
|
protected DialogManager |
mDialogManager
The manager object that opens/closes dialogs.
|
Constructor and Description |
---|
AbstractDialogDc() |
Modifier and Type | Method and Description |
---|---|
boolean |
canPassivate()
We assume that all dialogs that don't care can always be passivated.
|
void |
dispose(Map<String,? super Object> pArgs)
Called from the dialog coordinator to tell the dialog to cleanup all
resources.
|
void |
init(Dc pParent,
Map<String,? super Object> pArgs)
This method is called by the parent dialog controller during
the initialisation phase of an application.
|
void |
postAppEvent(AppEvent pAppEvent)
Process/Dispatch an AppEvent.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVisualPresentation
doActivate, doPassivate
protected AppEventSupport mAppEventSupport
protected DialogManager mDialogManager
public boolean canPassivate()
canPassivate
in interface SimpleLifeCycle
public void init(Dc pParent, Map<String,? super Object> pArgs)
public void postAppEvent(AppEvent pAppEvent)
postAppEvent
in interface AppEventSupport
pAppEvent
- event that should be routed/processesIllegalArgumentException
- if pAppEvent is nullpublic void dispose(Map<String,? super Object> pArgs)
dispose
in interface Disposable
pArgs
- arguments, key is a String, value is any suitable objekt for the keyCopyright © 2017 Jürgen Zeller (privat). All rights reserved.