| java.lang.Object java.util.Observable com.xoetrope.carousel.survey.XNotifier
XNotifier | public class XNotifier extends Observable (Code) | | Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.5 $
|
Constructor Summary | |
public | XNotifier(XEditorProject currentProject, boolean markAsModified) |
Method Summary | |
public boolean | markAsModified() Gets whether this notifier marks the current project
as modified after notifying its observers. | public void | markAsModified(boolean markAsModified) Speicified whether this notifier should mark the
project as modified after notifying its observers. | public void | notifyObservers(Object o, boolean markAsModified) Notifies all registered observers. | public void | notifyObservers(Object o) |
XNotifier | public XNotifier(XEditorProject currentProject, boolean markAsModified)(Code) | | Creates a new instance of XNotifier
Parameters: project - the current project Parameters: markAsMofied - indicates whether the project specifiedproject should be marked as modified after the observers of this objectare notified. |
markAsModified | public boolean markAsModified()(Code) | | Gets whether this notifier marks the current project
as modified after notifying its observers.
true if project is should be marked as modified,false otherwise |
markAsModified | public void markAsModified(boolean markAsModified)(Code) | | Speicified whether this notifier should mark the
project as modified after notifying its observers.
Parameters: markAsModified - true if the project should be markas modified, false otherwise. |
notifyObservers | public void notifyObservers(Object o, boolean markAsModified)(Code) | | Notifies all registered observers.
Parameters: o - the object to be passed the observers Parameters: markAsModifies - indicates whether the current projectshould be marked as modified |
notifyObservers | public void notifyObservers(Object o)(Code) | | Notifies all registered observers
|
|
|