|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ch.elca.dependency.util.NotifyOnExit | +--ch.elca.dependency.util.gui.PersistentJFrame.JFrameConfig
Class JFrameConfig
is used to overcome the
shortage of single inheritance: we don't want explicitely to
have to register each class which is interested in notification
just before the termination. Each such class should do this
automatically within its constructor and should have a method
e.g. notifyOnExit() to be called before temination. In order to
provide this functionality in a centralized manner a class
NotifyOnExit
is provided which does the
registration. This JFrameConfig
class
extends the NotifyOnExit
class and inherits thus
functionality. Its instances will be notified before
termination. This way the enclosing class is not forced to
implement the registration functionality.
Constructor Summary | |
PersistentJFrame.JFrameConfig()
|
Method Summary | |
void |
notifyOnExit()
Notify the instance of this class that the Dependecy Tool is about to terminate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PersistentJFrame.JFrameConfig()
Method Detail |
public void notifyOnExit()
JFrameConfig
will
store its configuration persistently.
notifyOnExit
in class NotifyOnExit
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |