public abstract class AbstractDialogContextManagerListener extends Object implements DialogContextManagerListener
Convenience abstract base class for DialogContextManagerListener
instances. The default event handling methods do nothing.
Subclasses are expected to be serializable.
Constructor and Description |
---|
AbstractDialogContextManagerListener() |
Modifier and Type | Method and Description |
---|---|
DialogContextManager |
getDialogContextManager()
Return the
DialogContextManager instance associated with
this DialogContextManagerListener . |
void |
onCreate(DialogContext context)
Handle the case where a new
DialogContext instance has
been created. |
void |
onRemove(DialogContext context)
Handle the case where a new
DialogContext instance has
been removed. |
void |
setDialogContextManager(DialogContextManager instance)
Set the
DialogContextManager instance associated with
this DialogContextManagerListener . |
public AbstractDialogContextManagerListener()
public void onCreate(DialogContext context)
Handle the case where a new DialogContext
instance has
been created. This event will be fired before the
instance has been started; however, it is legitimate to do things
like register fine grained listeners on this instance.
onCreate
in interface DialogContextManagerListener
context
- The DialogContext
instance being createdpublic void onRemove(DialogContext context)
Handle the case where a new DialogContext
instance has
been removed. This event will be fired after the
instance has been stopped; however, it is legitimate to do things
like deregister fine grained listeners on this instance.
onRemove
in interface DialogContextManagerListener
context
- The DialogContext
instance being createdpublic DialogContextManager getDialogContextManager()
Return the DialogContextManager
instance associated with
this DialogContextManagerListener
.
getDialogContextManager
in interface DialogContextManagerListener
public void setDialogContextManager(DialogContextManager instance)
Set the DialogContextManager
instance associated with
this DialogContextManagerListener
.
setDialogContextManager
in interface DialogContextManagerListener
instance
- The new DialogContextManager
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.