:: com :: sun :: star :: util ::
|
interface XCloseBroadcaster |
|
- Description
- broadcasts each tried closing of an object to all interest listener
The called object for closing must post the closing events immediately
and before any internal cancel operations will be started.
If a listener disagree with that it should throw a CloseVetoException
and called function XCloseable::close must be broken immediately.
It's not allowed to catch it inside the close() request.
If no listener nor internal processes hinder the object on closing
all listeners get a notification about real closing.
- See also
|
Methods' Details |
addCloseListener
- Description
- adds the specified listener to receive or have a veto for "close" events
- Parameter Listener
- the listener which is interest on closing events
|
|
removeCloseListener
- Description
- removes the specified listener
- Parameter Listener
- the listener which isn't interest on closing events any longer
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.