|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.dialog.base.AbstractDialogContextManagerListener
public abstract class AbstractDialogContextManagerListener
Convenience abstract base class for DialogContextManagerListener
instances. The default event handling methods do nothing.
Subclasses are expected to be serializable.
Constructor Summary | |
---|---|
AbstractDialogContextManagerListener()
|
Method Summary | |
---|---|
DialogContextManager |
getDialogContextManager()
Return the |
void |
onCreate(DialogContext context)
Handle the case where a new |
void |
onRemove(DialogContext context)
Handle the case where a new |
void |
setDialogContextManager(DialogContextManager instance)
Set the |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractDialogContextManagerListener()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |